summaryrefslogtreecommitdiff
path: root/include/gui/GLConsumer.h
diff options
context:
space:
mode:
author Eino-Ville Talvala <etalvala@google.com> 2015-02-19 16:10:43 -0800
committer Zhijun He <zhijunhe@google.com> 2015-03-23 20:00:29 -0700
commit63e8376d0baf494f9dd7e866d8dedb26ffab2a6b (patch)
tree371a1417546ccd23e1b7b517c448230968922b78 /include/gui/GLConsumer.h
parent28dbde32c2fa4a19a8bf3875e1756fb2a787695c (diff)
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 Change-Id: I070bd2e7c56506055c419004c29e2e3feac725df
Diffstat (limited to 'include/gui/GLConsumer.h')
-rw-r--r--include/gui/GLConsumer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gui/GLConsumer.h b/include/gui/GLConsumer.h
index f91fe46d93..5785833810 100644
--- a/include/gui/GLConsumer.h
+++ b/include/gui/GLConsumer.h
@@ -198,6 +198,7 @@ public:
// These functions call the corresponding BufferQueue implementation
// so the refactoring can proceed smoothly
status_t setDefaultBufferFormat(uint32_t defaultFormat);
+ status_t setDefaultBufferDataSpace(android_dataspace defaultDataSpace);
status_t setConsumerUsageBits(uint32_t usage);
status_t setTransformHint(uint32_t hint);