replicant-frameworks_native/libs/gui
Jesse Hall d58c304cc6 Clarify aborted updateTexImage use of fences
When updateTexImage acquires a buffer but then aborts (due to an error
or the buffer being rejected), it releases the newly-acquired buffer.
It was passing the buffer slot's fences to releaseBuffer, even though
they hadn't been created after the acquire yet. This wasn't a bug,
since the fences would be cleared just after the buffer slot was last
released, but explicitly passing null fences makes this clearer.

Change-Id: I087f2ec3fd02c40f57782c1fca24eb9567e2943d
2012-06-28 17:08:42 -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 Pass fences from BufferQueue to SurfaceTextureClient 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 Pass fences from BufferQueue to SurfaceTextureClient 2012-06-21 22:21:12 -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 Clarify aborted updateTexImage use of fences 2012-06-28 17:08:42 -07:00
SurfaceTextureClient.cpp Return fence to client in dequeuBuffer 2012-06-28 17:08:42 -07:00