Mathias Agopian
8f2423e8f3
get rid off the YUV formats at the libui layer
2010-02-16 17:33:37 -08:00
Mathias Agopian
18ffb5493b
fix [2069023] STOPSHIP: disable DEBUG_COPYBIT
2009-11-30 12:10:53 -08:00
Mathias Agopian
d09376d1e2
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
36d0184e08
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
8c0eb9a6eb
libagl: silence a LOGD
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-10-30 18:29:08 -07:00
Mathias Agopian
f007a2faa1
return proper error code from eglCreateImageKHR
2009-10-29 16:45:41 -07:00
Mathias Agopian
85ade33edc
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
9042b4564d
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
88d11cfbfc
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
f1e5b0d4e5
add support for RGBX_8888
2009-08-07 20:55:14 -07:00
Mathias Agopian
a2fb72e08f
remove libagl's dependency on gralloc_priv.h
2009-07-15 18:53:32 -07:00
Mathias Agopian
0f53af13b7
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
2eab9d8d70
copybit now uses a native_handle_t* instead of a fd/offset
2009-06-24 20:39:16 -07:00
Mathias Agopian
f6c2a1ae60
fix a bug where copybit would be rejected in landscape mode
2009-06-23 19:50:41 -07:00
Mathias Agopian
09cf0ac2e9
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
42bf621e80
fix/add some comments
2009-06-17 21:58:18 -07:00
Mathias Agopian
03a1b0116b
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
4d63fb113b
fix a scissor bug in the GLES-on-top-of copybit code
2009-06-16 18:08:29 -07:00
Mathias Agopian
350d651706
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
1473f46cbc
Integrate from //sandbox/mathias/donut/...@145728
...
SurfaceFlinger rework for new EGL driver model support.
2009-04-10 14:24:30 -07:00