| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
This API is hidden for now, will expose once it's been tested more.
|
|
|
|
|
|
| |
Until now we had a race condition where the GL rendering thread could
continue rendering a frame after we have returned from the
SurfaceHolder.Callback.surfaceDestroyed notification.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This parameter indicates how many bytes of the image data are valid.
Previously this parameter was ignored.
|
| |
|
|
|
|
|
|
| |
Since the lighting calculations are done in object space, the vector
from the object to the viewer also needs to be transformed to object
space.
|
|
|
|
| |
the viewport.
|
|
|
|
| |
it had been terminated once
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
respect the EGL spec
this change fixes the lifetime mgt of EGLSurface, EGLContext and EGLImageKHR in the EGL wrapper.
EGLDisplay is still somewhat bogus and libagl's EGL is still incorrect.
The idea of the change is that EGL objects are put in a list when created and removed when destroyed.
Before each use, we first verify if the object is in the list and if so a reference is taken and kept
for the scope of the whole EGL API being called, if not, an error is returned.
Upon object destruction, the object is simply marked as "terminated" (this is not protected by a lock
because it doesn't really matter). This flag is only used to deny access to the object by other APIs
while it's still valid (for instance current or being used by another function in another thread).
A reference is also removed and the object can then actually be destroyed when going out of scope.
|
|
|
|
|
|
| |
instead of a better h/w one.
We now just try to honor the stencil / depth buffer "at least", while doing a "shortest distance" on the colors.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
refactored the code so that:
- EGL APIs that can be called before or after eglInitialize() will work by loading the drivers first
- make eglGetDisplay() a lot more efficient
- make sure that EGL drivers are loaded in a thread-safe way
- don't unload the drivers upon calling eglTerminate(), they're now never unloaded, since there is no safe way to do it (some thread could be running)
- updated our EGL version to 1.4
- return better error codes if errors happen during initialization
|
|
|
|
|
|
| |
automatically if needed.
this also ripples into the window manager API by making some constant there deprecated as well.
|
| |
|
|
|
|
| |
"SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
|
|\
| |
| |
| |
| | |
* changes:
show that we need to glClear to be fast(er)
|
| | |
|
|\ \
| |/
|/|
| |
| | |
* changes:
Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
|
| |
| |
| |
| |
| |
| | |
specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
This reverts commit 8b76a0ac6fbf07254629ed1ea86af014d5abe050.
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything.
This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored).
Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.
|
|
|
|
| |
properly
|
| |
|
| |
|
| |
|
|
|
|
| |
or native window type
|
| |
|
| |
|
|
|
|
| |
function call
|
| |
|
|
|
|
|
|
|
|
|
|
| |
there was several issues:
- when a surface was made non-current, the last frame wasn't shown and the buffer could stay locked
- when a surface was made current the 2nd time, it would not dequeue a new buffer
now, queue/dequeue are done when the surface is made current.
for this to work, a new query() hook had to be added on android_native_window_t, it allows to retrieve some attributes of a window (currently only width and height).
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit '280436accc45c1883766a98499148439fa044531'
* commit '280436accc45c1883766a98499148439fa044531':
Remove recently-added android.opengl.Version API
|
| |
| |
| |
| |
| |
| | |
There's another already-existing way of obtaining this information,
the ConfigurationInfo.reqGlEsVersion field returned from
ActivityManager.getDeviceConfigurationInfo.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'ef6b66cbbbe7ae8ee0450cbbaae4194b069679a1'
* commit 'ef6b66cbbbe7ae8ee0450cbbaae4194b069679a1':
Add a public API that reports the supported OpenGLES API level.
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
* commit 'goog/readonly-korg-master':
Fixed Android issue #400, where the Intent documentation was inaccurate in a number of places, undoubtedly causing untold grief to innumerable masses.
Bug Fixed for libagl.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
RENDERMODE_CONTINUOUSLY
BUG=1766678
Automated import of CL 145249
|
| | |
| | |
| | |
| | |
| | |
| | | |
BUG=1766685
Automated import of CL 145244
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|