replicant-frameworks_native/services
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
..
powermanager Power manager now takes calling package name arg. 2013-05-20 16:50:10 -07:00
sensorservice various fixes to the sensorservice 2013-05-16 18:47:21 -07:00
surfaceflinger BufferQueue: track buffer-queue by instance vs. by reference 2013-05-23 22:17:54 +00:00