replicant-frameworks_native/libs/gui
Jesse Hall ef19414bd8 Transfer HWC release fences to BufferQueue
After a HWC set, each SurfaceFlinger Layer retrieves the release fence
HWC returned and gives it to the layer's SurfaceTexture. The
SurfaceTexture accumulates the fences into a merged fence until the
next updateTexImage, then passes the merged fence to the BufferQueue
in releaseBuffer.

In a follow-on change, BufferQueue will return the fence along with
the buffer slot in dequeueBuffer. For now, dequeueBuffer waits for the
fence to signal before returning.

The releaseFence default value for BufferQueue::releaseBuffer() is
temporary to avoid transient build breaks with a multi-project
checkin. It'll disappear in the next change.

Change-Id: Iaa9a0d5775235585d9cbf453d3a64623d08013d9
2012-06-21 22:21:12 -07:00
..
tests Update ANativeWindow clients for sync 2012-06-20 15:48:30 -07:00
Android.mk Transfer HWC release fences to BufferQueue 2012-06-21 22:21:12 -07:00
BitTube.cpp return errors properly in BitTube and SensorEventQueue 2012-05-07 18:22:16 -07:00
BufferQueue.cpp Transfer HWC release fences to BufferQueue 2012-06-21 22:21:12 -07:00
CpuConsumer.cpp Transfer HWC release fences to BufferQueue 2012-06-21 22:21:12 -07:00
DisplayEventReceiver.cpp use a socketpair instead of a pipe in BitTube 2012-04-02 18:41:10 -07:00
DummyConsumer.cpp Refactored DummyConsumer 2012-03-27 16:47:12 -07:00
IDisplayEventConnection.cpp Improve the VSYNC api a bit. 2011-12-06 22:43:10 -08:00
IGraphicBufferAlloc.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
ISensorEventConnection.cpp Rename SensorChannel to BitTube 2011-10-20 18:42:02 -07:00
ISensorServer.cpp new SensorService 2010-07-19 17:57:29 -07:00
ISurface.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
ISurfaceComposer.cpp surfaceflinger: replace early suspend with binder call from PowerManager 2012-06-07 16:28:30 -07:00
ISurfaceComposerClient.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
ISurfaceTexture.cpp update the binder protocol for connect to match that of queueBuffer 2012-04-23 20:06:02 -07:00
LayerState.cpp fix libgui header location 2012-02-27 13:03:08 -08:00
Sensor.cpp set a Sensor's version properly 2012-05-04 15:47:13 -07:00
SensorEventQueue.cpp return errors properly in BitTube and SensorEventQueue 2012-05-07 18:22:16 -07:00
SensorManager.cpp Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE 2012-01-08 13:19:13 +00:00
Surface.cpp SurfaceFlinger: add a crop to the layer state 2012-05-11 03:16:02 -07:00
SurfaceComposerClient.cpp SurfaceFlinger: add a crop to the layer state 2012-05-11 03:16:02 -07:00
SurfaceTexture.cpp Transfer HWC release fences to BufferQueue 2012-06-21 22:21:12 -07:00
SurfaceTextureClient.cpp Update ANativeWindow clients for sync 2012-06-20 15:48:30 -07:00