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 remove libandroid.so from targets that don't need it 2012-03-27 13:57:43 -07:00
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 implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation" 2011-07-19 15:24:46 -07:00
DdmConnection.cpp as a debug option SrufaceFlinger can now connect to DDMS 2011-08-15 20:44:40 -07:00
DdmConnection.h as a debug option SrufaceFlinger can now connect to DDMS 2011-08-15 20:44:40 -07:00
EventThread.cpp SF could get stuck waiting for vsync when turning the screen off 2012-06-15 14:59:31 -07:00
EventThread.h make sure to disable VSYNC while screen is off 2012-04-11 15:31:40 -07:00
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 don't attempt to clip layers anymore using glScissor 2012-04-16 03:19:15 -07:00
LayerDim.h unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
LayerScreenshot.cpp don't attempt to clip layers anymore using glScissor 2012-04-16 03:19:15 -07:00
LayerScreenshot.h Fix rotation displays frame N-1 briefly while rotating 2011-11-04 15:15:32 -07:00
MessageQueue.cpp Revert "handle surfaces posts independently from composition" 2012-04-11 20:43:40 -07:00
MessageQueue.h separate transactions from updates 2012-02-01 20:43:06 -08:00
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 update the binder protocol for connect to match that of queueBuffer 2012-04-23 20:06:02 -07:00
SurfaceTextureLayer.h update the binder protocol for connect to match that of queueBuffer 2012-04-23 20:06:02 -07:00
Transform.cpp Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE 2012-01-03 22:38:27 +00:00
Transform.h SurfaceFlinger: SCALING_MODE_FREEZE cropping support 2012-05-09 12:53:13 -07:00