replicant-frameworks_native/libs/ui
Mathias Agopian cbb288bfe8 fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly
Rewrote SurfaceFlinger's buffer management from the ground-up.
The design now support an arbitrary number of buffers per surface, however the current implementation is limited to four. Currently only 2 buffers are used in practice.

The main new feature is to be able to dequeue all buffers at once (very important when there are only two). 

A client can dequeue all buffers until there are none available, it can lock all buffers except the last one that is used for composition. The client will block then, until a new buffer is enqueued.

The current implementation requires that buffers are locked in the same order they are dequeued and enqueued in the same order they are locked. Only one buffer can be locked at a time.

eg. Allowed sequence:   DQ, DQ, LOCK, Q, LOCK, Q
eg. Forbidden sequence: DQ, DQ, LOCK, LOCK, Q, Q
2009-09-07 16:32:45 -07:00
..
tests
Android.mk fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
BufferMapper.cpp Fix a debug statement in BufferMapper 2009-07-30 12:24:41 -07:00
Camera.cpp resolved conflicts for merge of 04c7d0f8 to master 2009-07-08 17:26:05 -07:00
CameraParameters.cpp
EGLUtils.cpp added EGLUtils::strerror 2009-08-07 16:37:21 -07:00
EventHub.cpp Work on issue #2079167: Flickering issue across multiple UI 2009-09-02 17:20:25 -07:00
EventRecurrence.cpp
FramebufferNativeWindow.cpp second take, hopefully this time it doesn't break one of the builds: "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." 2009-08-11 23:32:29 -07:00
ICamera.cpp
ICameraClient.cpp resolved conflicts for merge of 04c7d0f8 to master 2009-07-08 17:26:05 -07:00
ICameraService.cpp
IOverlay.cpp
ISurface.cpp fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
ISurfaceComposer.cpp
ISurfaceFlingerClient.cpp fix a bug that caused the PixelFormat viewed by Surface to be wrong. 2009-08-19 17:46:26 -07:00
KeyCharacterMap.cpp
KeyLayoutMap.cpp
KeyLayoutMap.h
LayerState.cpp
MODULE_LICENSE_APACHE2
NOTICE
Overlay.cpp Adding resizeInput and setAttributes for overlay 2009-07-29 17:53:38 -07:00
PixelFormat.cpp
Rect.cpp
Region.cpp
SharedBufferStack.cpp fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
Surface.cpp fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
SurfaceBuffer.cpp fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
SurfaceComposerClient.cpp fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
SurfaceFlingerSynchro.cpp