summaryrefslogtreecommitdiff
path: root/include/gui/BufferItem.h
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2015-03-20 18:36:18 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-03-20 18:36:19 +0000
commitf44d13e7e574f181750fa37f439ab50cf05ab3df (patch)
tree71f7dce92ae7d73b1308097d424d5e98c61bed72 /include/gui/BufferItem.h
parentf320149886ba8ab8849c8b8f3df256e3789f3905 (diff)
parent82c6bcc9705eabcaf5b9e45bc81867b0e2d61a02 (diff)
Merge "DO NOT MERGE Add dataSpace to buffer queues; remove old format enums."
Diffstat (limited to 'include/gui/BufferItem.h')
-rw-r--r--include/gui/BufferItem.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gui/BufferItem.h b/include/gui/BufferItem.h
index 01b6ff4b54..c7a8bc927d 100644
--- a/include/gui/BufferItem.h
+++ b/include/gui/BufferItem.h
@@ -78,6 +78,11 @@ class BufferItem : public Flattenable<BufferItem> {
// automatically when the buffer was queued.
bool mIsAutoTimestamp;
+ // mDataSpace is the current dataSpace value for this buffer slot. This gets
+ // set by queueBuffer each time this slot is queued. The meaning of the
+ // dataSpace is format-dependent.
+ android_dataspace mDataSpace;
+
// mFrameNumber is the number of the queued frame for this slot.
uint64_t mFrameNumber;