| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
Merge commit '13feccf592d6870b41b3b8a0a31d2abefad0d7ae' into eclair-plus-aosp
* commit '13feccf592d6870b41b3b8a0a31d2abefad0d7ae':
fix [2235414] libagl glDeleteBuffers() crashes
|
| |
| |
| |
| | |
don't dereference null pointers, would happen if one of the array wasn't bound.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '274072089ceff6eacb9ccfb59290a18f43739c87' into eclair-plus-aosp
* commit '274072089ceff6eacb9ccfb59290a18f43739c87':
fix [2236865] STOPSHIP: bump soft gl and egl minor version number
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'c421fc2ada7c1bff104733b840bd640151bebbbb' into eclair-plus-aosp
* commit 'c421fc2ada7c1bff104733b840bd640151bebbbb':
fix [2071412] work around mdp 32-bits fade limitation
|
| |
| |
| |
| | |
make sure to always specify blits *inside* the source bitmap.
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
can (and does sometimes) lead to accessing array with -1 as index
|
| |\
| | |
| | |
| | |
| | | |
* changes:
If FLAGS_2D_PROJECTION is set, the MVP matrices need updating when changing the viewport.
|
| | |
| | |
| | |
| | | |
the viewport.
|
| |/
| |
| |
| |
| |
| | |
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.
|
| |\ |
|
| | | |
|
| |\ \
| | |/ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
add support for RGBX_8888 EGLConfigs in the software renderer
(since that's what we're using in the MDP case)
|
| | |
| | |
| | |
| | | |
make sure to not pass our fake handles to the real gralloc
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
fix [2231527] Compatibility with SpaceJunk game (OpenGL)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
we treated all lights as local lights when transforming their
position back to object space.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
when playing back video
we lost the concept of vertical stride when moving video playback to EGLImage.
Here we bring it back in a somewhat hacky-way that will work only for the
softgl/mdp backend.
|
| | |
| | |
| | |
| | | |
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
in the case where we fade a 32-bits surface (ie: GL_MODULATE w/ a,a,a,a + blending),
we first make a copy of the background into a RGB buffer, then we blend the 32-bits
surface as usual (without the alpha component), and finally blend the copy of
the background on top with 1-a. This uses a lot of bandwidth, but no CPU time.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use EGLImageKHR instead of copybit directly.
We now have the basis to use streaming YUV textures (well, in fact
we already are). When/if we use the GPU instead of the MDP we'll
need to make sure it supports the appropriate YUV format.
Also make sure we compile if EGL_ANDROID_image_native_buffer is not supported
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
fix [2153873] EGL-1.4 software implementation misses surface attributes
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* changes:
fix [2151588] glTexSubImage2D() allows pixel format conversion
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
simplify the GL_MODULATE case and allow blending disabled with RGBA texture
|
| | |
| | |
| | |
| | |
| | |
| | | |
EGL_OPENGL_ES_BIT
Also set max swap interval to 1, which is the only supported value currently.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | |
| | |
| | |
| | | |
"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.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* 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.
|
| |/ |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Merge commit '46e28db8818332e3cda4cc410cc89a1ed7ce4db6'
* commit '46e28db8818332e3cda4cc410cc89a1ed7ce4db6':
fix for [1969185] valgrind errors in new gl stuff
|
| | | |
|
| | |
| | |
| | |
| | | |
minor optimizations to copybit codepath.
|
| | | |
|