replicant-frameworks_native/services/surfaceflinger
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
..
DisplayHardware Transfer HWC release fences to BufferQueue 2012-06-21 22:21:12 -07:00
tests
Android.mk fix typo in makefile LOCAL_CFLAGS was spelled LOCAL_CLFAGS 2012-06-18 17:27:56 -07:00
Barrier.h
Client.cpp split-up Client.h out of SurfaceFlinger.h 2012-06-18 16:47:56 -07:00
Client.h split-up Client.h out of SurfaceFlinger.h 2012-06-18 16:47:56 -07:00
clz.cpp
clz.h
DdmConnection.cpp
DdmConnection.h
EventThread.cpp SF could get stuck waiting for vsync when turning the screen off 2012-06-15 14:59:31 -07:00
EventThread.h
GLExtensions.cpp
GLExtensions.h
Layer.cpp Transfer HWC release fences to BufferQueue 2012-06-21 22:21:12 -07:00
Layer.h Transfer HWC release fences to BufferQueue 2012-06-21 22:21:12 -07:00
LayerBase.cpp split-up Client.h out of SurfaceFlinger.h 2012-06-18 16:47:56 -07:00
LayerBase.h Transfer HWC release fences to BufferQueue 2012-06-21 22:21:12 -07:00
LayerDim.cpp
LayerDim.h
LayerScreenshot.cpp
LayerScreenshot.h
MessageQueue.cpp
MessageQueue.h
MODULE_LICENSE_APACHE2
SurfaceFlinger.cpp Transfer HWC release fences to BufferQueue 2012-06-21 22:21:12 -07:00
SurfaceFlinger.h am 8aaf3e47: am a67e418e: Exit boot animation cleanly. 2012-06-20 13:39:58 -07:00
SurfaceTextureLayer.cpp
SurfaceTextureLayer.h
Transform.cpp
Transform.h