| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
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>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
Turns out the SGX driver is correct and the bug was in this test.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
make sure the 565 1-texel wide texture is specified with an alignment of 4
which is the OpenGL ES default.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
fix[2222341] Soft reset while going back from camcorder settings
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
add a way to convert a mapped "pushbuffer" buffer to a gralloc handle
which then can be safely used by surfaceflinger, without including
gralloc_priv.h
|
|\ \ \ \ \
| |/ / / /
| | / / /
| |/ / /
|/| | | |
* changes:
return proper error code from eglCreateImageKHR
|
| | | | |
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Without the size checks it's possible for calls to glBufferData
and glBufferSubData to read off the end of the Buffer object's
data, which can cause page faults.
Fix end-of-line characters for the "spec" files. (That's why
every line of these files is changed.)
Enhance our code emitter to properly handle bounds checks for
possibly-null pointers.
|
| | |
| | |
| | |
| | |
| | | |
this will be needed for SMP, but would improve dispatching GL calls a bit
on armv6 and above.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* 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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of using a different function pointer table for ES 1.x and ES 2.x,
we use a single one that is the union (sort|uniq) of both tables. Two
instances of this table are initialized with pointers to GL ES 1.x and GL ES 2.x
entry-points.
When a context is created, we store its version number and when it is bound to a
thread we set the approruiate table based on the stored version.
This introduce no penalty while dispatching gl calls to the right API version.
[Pending Dr No approval for MR1]
|
| | |
| | |
| | |
| | | |
This reverts commit ed5ecdba36648973be3033a045e2ece8bf039e4a.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When EGLImage extension is not available, SurfaceFlinger will fallback to using
glTexImage2D and glTexSubImage2D instead, which requires 50% more memory and an
extra copy. However this code path has never been exercised and had some bugs
which this patch fix.
Mainly the scale factor wasn't computed right when falling back on glDrawElements.
We also fallback to this mode of operation if a buffer doesn't have the adequate
usage bits for EGLImage usage.
This changes only code that is currently not executed. Some refactoring was needed to
keep the change clean. This doesn't change anything functionaly.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* 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.
|