replicant-frameworks_native/libs/gui
Lajos Molnar c5d7b7d323 BufferQueue: track buffer-queue by instance vs. by reference
Instead of representing the buffer-queue as a vector of buffer
indices, represent them as a vector of BufferItems (copies).
This allows modifying the buffer slots independent of the queued
buffers.

As part of this change, BufferSlot properties that are only
been relevant in the buffer-queue have been removed.

Also, invalid scalingMode in queueBuffer now returns an error.

ConsumerBase has also changed to allow reuse of the same
buffer slots by different buffers.

Change-Id: If2a698fa142b67c69ad41b8eaca6e127eb3ef75b
Signed-off-by: Lajos Molnar <lajos@google.com>
Related-to-bug: 7093648
2013-05-23 22:17:54 +00:00
..
tests libgui_test: fix a couple minor test issues 2013-04-24 01:08:02 +00:00
Android.mk Add liblog 2013-04-09 21:55:39 -07:00
BitTube.cpp
BufferItemConsumer.cpp BufferQueue: track buffer-queue by instance vs. by reference 2013-05-23 22:17:54 +00:00
BufferQueue.cpp BufferQueue: track buffer-queue by instance vs. by reference 2013-05-23 22:17:54 +00:00
CleanSpec.mk Fix missing parens in CleanSpec.mk. 2012-10-04 20:05:19 -07:00
ConsumerBase.cpp BufferQueue: track buffer-queue by instance vs. by reference 2013-05-23 22:17:54 +00:00
CpuConsumer.cpp BufferQueue: track buffer-queue by instance vs. by reference 2013-05-23 22:17:54 +00:00
DisplayEventReceiver.cpp
DummyConsumer.cpp
GLConsumer.cpp BufferQueue: track buffer-queue by instance vs. by reference 2013-05-23 22:17:54 +00:00
GraphicBufferAlloc.cpp SurfaceFlinger: Move GraphicBufferAlloc to libgui 2012-12-11 17:54:29 -08:00
GuiConfig.cpp don't use compile-time configuration of libgui as much as possible 2013-03-29 15:33:47 -07:00
IDisplayEventConnection.cpp
IGraphicBufferAlloc.cpp libgui: add some error checks 2012-08-30 18:38:11 -07:00
IGraphicBufferProducer.cpp Fix argument types in IGraphicBufferProducer methods 2013-03-18 14:16:02 -07:00
ISensorEventConnection.cpp
ISensorServer.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
ISurfaceComposer.cpp rework how we take screenshots for a CPU consumer 2013-03-19 22:22:21 -07:00
ISurfaceComposerClient.cpp get rid of ISurface 2013-03-12 17:11:48 -07:00
LayerState.cpp get rid of Surface identity and token 2013-02-13 15:27:08 -08:00
Sensor.cpp improve [un]marshalling of non-binder objects 2012-08-13 02:46:05 -07:00
SensorEventQueue.cpp
SensorManager.cpp
Surface.cpp make the warning timout of Fence::waitForever() implicit and longer 2013-05-16 18:15:57 -07:00
SurfaceComposerClient.cpp make sure to unlock the screenshot's buffer on destruction 2013-03-26 18:15:35 -07:00
SurfaceControl.cpp Merge "Revert "Revert "Change SurfaceControl setPosition to take floats""" into jb-mr2-dev 2013-03-21 15:52:49 +00:00
SyncFeatures.cpp don't use compile-time configuration of libgui as much as possible 2013-03-29 15:33:47 -07:00