summaryrefslogtreecommitdiffstats
path: root/include/gui/BufferQueueCore.h
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2015-02-19 16:10:43 -0800
committerDan Stoza <stoza@google.com>2015-03-19 13:56:00 -0700
commit82c6bcc9705eabcaf5b9e45bc81867b0e2d61a02 (patch)
tree5ae0c4334682e0f5ca86328ec0b69a00ca421355 /include/gui/BufferQueueCore.h
parentad36432de81c4c88d726680b7c52e8357df98455 (diff)
downloadframeworks_native-82c6bcc9705eabcaf5b9e45bc81867b0e2d61a02.zip
frameworks_native-82c6bcc9705eabcaf5b9e45bc81867b0e2d61a02.tar.gz
frameworks_native-82c6bcc9705eabcaf5b9e45bc81867b0e2d61a02.tar.bz2
DO NOT MERGE Add dataSpace to buffer queues; remove old format enums.
- Wire up new dataSpace parameter through buffer queue stack - Update tests to include the parameter - Switch eglApi to using dataSpace to indicate sRGB gamma/linear difference - Remove RAW_SENSOR in favor of RAW16 - Remove use of sRGB format enums - Add default dataspace to buffer queue core - Add query for default dataspace Cherry pick of I070bd2e7c56506055c419004c29e2e3feac725df Change-Id: I461952389c18051176c6b75e664f20ad369f5760
Diffstat (limited to 'include/gui/BufferQueueCore.h')
-rw-r--r--include/gui/BufferQueueCore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gui/BufferQueueCore.h b/include/gui/BufferQueueCore.h
index b23cb08..797a108 100644
--- a/include/gui/BufferQueueCore.h
+++ b/include/gui/BufferQueueCore.h
@@ -209,6 +209,11 @@ private:
// in dequeueBuffer if a width and height of 0 are specified.
uint32_t mDefaultHeight;
+ // mDefaultBufferDataSpace holds the default dataSpace of queued buffers.
+ // It is used in queueBuffer if a dataspace of 0 (HAL_DATASPACE_UNKNOWN)
+ // is specified.
+ android_dataspace mDefaultBufferDataSpace;
+
// mDefaultMaxBufferCount is the default limit on the number of buffers that
// will be allocated at one time. This default limit is set by the consumer.
// The limit (as opposed to the default limit) may be overriden by the