diff options
Diffstat (limited to 'include/gui/BufferItem.h')
| -rw-r--r-- | include/gui/BufferItem.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/gui/BufferItem.h b/include/gui/BufferItem.h index a515f39848..6f45181345 100644 --- a/include/gui/BufferItem.h +++ b/include/gui/BufferItem.h @@ -119,8 +119,10 @@ class BufferItem : public Flattenable<BufferItem> { // previous frame Region mSurfaceDamage; - // Indicates that the BufferQueue is in single buffer mode - bool mSingleBufferMode; + // Indicates that the consumer should acquire the next frame as soon as it + // can and not wait for a frame to become available. This is only relevant + // in single buffer mode. + bool mAutoRefresh; // Indicates that this buffer was queued by the producer. When in single // buffer mode acquire() can return a BufferItem that wasn't in the queue. |