| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| |
| |
| | |
* changes:
Add very simple input path. Fix end-of-line issues.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Don't ask for PBuffer support, since we don't actually use pbuffers,
and some drivers might not support them.
|
| | |
|
|/
|
|
|
|
| |
EGL_OPENGL_ES_BIT
Also set max swap interval to 1, which is the only supported value currently.
|
|
|
|
|
| |
Change-Id: Id5c51e54e733b24e5d5d5de0dcca84ac53afd3a9
Signed-off-by: Dima Zavin <dima@android.com>
|
| |
|
|
|
|
| |
- Still fails to work; don't know why.
|
| |
|
|
|
|
| |
Doesn't actually select anything, possibly due to device driver errors.
|
|\
| |
| |
| |
| | |
* changes:
OpenGL ES doesn't allow glColorPointer with a size parameter other than 4
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
Use EGLUtils::selectConfigForNativeWindow to select a legitimate
configuration. (Before now we had been selecting an incorrect
configuration, but the older drivers let us get away with it.)
Converted the source to C++ so we can call selectConfigForNativeWindow.
|
|
|
|
|
| |
Clients can now modify the way that the EGL context and the EGL window
surface are created and destroyed.
|
| |
|
|
|
|
| |
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
|
| |
|