replicant-frameworks_native/libs/gui
Dan Stoza 993772a60a libgui: Add generation numbers to BufferQueue
This change allows producers to set a generation number on a
BufferQueue. This number will be embedded in any new GraphicBuffers
created in that BufferQueue, and attempts to attach buffers which have
a different generation number will fail.

It also plumbs the setGenerationNumber method through Surface, with the
additional effect that any buffers attached to the Surface after
setting a new generation number will automatically be updated with the
new number (as opposed to failing, as would happen on through IGBP).

Bug: 20923096
Change-Id: I32bf726b035f99c3e5834beaf76afb9f01adcbc2
(cherry picked from commit 812ed0644f)
2015-06-08 11:18:16 -07:00
..
tests libgui: Add generation numbers to BufferQueue 2015-06-08 11:18:16 -07:00
Android.mk libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
BitTube.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
BufferItem.cpp fix BufferItem flatten/unflatten alignment 2015-05-28 13:32:48 -07:00
BufferItemConsumer.cpp Refactor ConsumerBase and it's derived classes. 2015-05-28 13:32:18 -07:00
BufferQueue.cpp libgui: Hook up onFrameReplaced 2015-05-12 09:35:29 -07:00
BufferQueueConsumer.cpp libgui: Add generation numbers to BufferQueue 2015-06-08 11:18:16 -07:00
BufferQueueCore.cpp libgui: Add generation numbers to BufferQueue 2015-06-08 11:18:16 -07:00
BufferQueueProducer.cpp libgui: Add generation numbers to BufferQueue 2015-06-08 11:18:16 -07:00
BufferSlot.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
CleanSpec.mk
ConsumerBase.cpp Refactor ConsumerBase and it's derived classes. 2015-05-28 13:32:18 -07:00
CpuConsumer.cpp Refactor ConsumerBase and it's derived classes. 2015-05-28 13:32:18 -07:00
DisplayEventReceiver.cpp
GLConsumer.cpp Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
GraphicBufferAlloc.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
GuiConfig.cpp
IConsumerListener.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
IDisplayEventConnection.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
IGraphicBufferAlloc.cpp libgui: Propagate error by clearing sp<GB> 2015-06-01 14:58:35 -07:00
IGraphicBufferConsumer.cpp Fix PTS handling for buffer replacement 2015-05-13 09:43:35 -07:00
IGraphicBufferProducer.cpp libgui: Add generation numbers to BufferQueue 2015-06-08 11:18:16 -07:00
IProducerListener.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
ISensorEventConnection.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
ISensorServer.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
ISurfaceComposer.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
ISurfaceComposerClient.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
LayerState.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
Sensor.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SensorEventQueue.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SensorManager.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
StreamSplitter.cpp DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal 2015-03-19 13:58:07 -07:00
Surface.cpp libgui: Add generation numbers to BufferQueue 2015-06-08 11:18:16 -07:00
SurfaceComposerClient.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SurfaceControl.cpp libgui: Enable -Weverything and -Werror 2015-03-18 15:57:27 -07:00
SyncFeatures.cpp libgui: Only allow one return from useFenceSync 2015-03-19 10:32:51 -07:00