replicant-frameworks_native/include/private
Mathias Agopian 208cb07724 fix [2873058] Surface::dequeueBuffer blocks on last buffer, i.e. cannot dequeue all allocated buffers at once.
this situation happened when the last buffer needed to be resized
(or allocated, the first time). the assumption was that the buffer
was in use by SF itself as the current buffer (obviously, this
assumption made no sense when the buffer had never been allocated, btw).

the system would wait until some other buffer became the "front" buffer.

we fix this problem by entirely removing the requirement that the
buffer being resized cannot be the front buffer. instead, we just
allocate a new buffer and replace the front buffer by the new one.

the downside is that this uses more memory (an extra buffer) for a
brief amount of time while the old buffer is being reallocated and
before it has actually been replaced.

Change-Id: I022e4621209474ceb1c671b23deb4188eaaa7285
2010-07-27 20:11:35 -07:00
..
binder
opengles fix [2133133] Software OpenGL ES Lighting is buggy (GL Gears washed out bug) 2010-02-03 12:13:15 -08:00
surfaceflinger fix [2873058] Surface::dequeueBuffer blocks on last buffer, i.e. cannot dequeue all allocated buffers at once. 2010-07-27 20:11:35 -07:00
ui split libsurfaceflinger_client and libcamera_client out of libui 2010-02-11 13:16:22 -08:00
utils implement Mutex and Condition with pthread instead of calling futex directly. 2009-07-13 15:14:23 -07:00