Mathias Agopian
f74573486d
fix [2069023] STOPSHIP: disable DEBUG_COPYBIT
2009-11-30 12:10:53 -08:00
Mathias Agopian
198340395d
fix [2071412] work around mdp 32-bits fade limitation
...
make sure to always specify blits *inside* the source bitmap.
2009-11-09 17:55:59 -08:00
Mathias Agopian
6fee064809
fix[2228133] pixelflinger ignores the "vertical stride" leading to artifacts 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.
2009-11-02 17:48:33 -08:00
Iliyan Malchev
d95c322af3
libagl: silence a LOGD
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-10-30 18:29:08 -07:00
Mathias Agopian
df2d929405
return proper error code from eglCreateImageKHR
2009-10-29 16:45:41 -07:00
Mathias Agopian
2ad8ec50a5
fix [2071412] work around mdp 32-bits fade limitation
...
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.
2009-10-28 14:49:44 -07:00
Mathias Agopian
54ba51dff2
fix [2143798] Need to figure out how to do video
...
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
2009-10-27 13:13:29 -07:00
Mathias Agopian
6dbedd7519
one step towards fixing [2071412] work around mdp 32-bits fade limitation
...
simplify the GL_MODULATE case and allow blending disabled with RGBA texture
2009-10-16 18:24:12 -07:00
Mathias Agopian
dfbec0e282
add support for RGBX_8888
2009-08-07 20:55:14 -07:00
Mathias Agopian
f13901eaa9
remove libagl's dependency on gralloc_priv.h
2009-07-15 18:53:32 -07:00
Mathias Agopian
295eff2008
fix a bug where gl didn't always fallback to software when copybit failed. minor optimizations to copybit codepath.
2009-06-29 16:36:49 -07:00
Mathias Agopian
5911aa9510
copybit now uses a native_handle_t* instead of a fd/offset
2009-06-24 20:39:16 -07:00
Mathias Agopian
e7829b8656
fix a bug where copybit would be rejected in landscape mode
2009-06-23 19:50:41 -07:00
Mathias Agopian
7272add7a5
we were not fetching the texture coords in the copybit case, so we were using garbage
2009-06-18 19:31:07 -07:00
Mathias Agopian
aa6e88b808
fix/add some comments
2009-06-17 21:58:18 -07:00
Mathias Agopian
6d2cad2c6c
s/w OpenGL no detects and handles all any combinations of triangle fans corresponding to a rectangle
...
this allows fallback to faster copybit code in almost all cases.
2009-06-17 21:18:56 -07:00
Mathias Agopian
cf251b9e3b
fix a scissor bug in the GLES-on-top-of copybit code
2009-06-16 18:08:29 -07:00
Mathias Agopian
0a3139a21e
fix a bug where copybit only renders in the first buffer when used with s/w GL
2009-06-10 16:15:32 -07:00
Mathias Agopian
076b1cc3a9
Integrate from //sandbox/mathias/donut/...@145728
...
SurfaceFlinger rework for new EGL driver model support.
2009-04-10 14:24:30 -07:00