diff options
| author | 2016-02-20 18:22:29 +0000 | |
|---|---|---|
| committer | 2016-02-20 18:22:29 +0000 | |
| commit | aaf51e52cfa937a8938a4429a14432a8424c66d0 (patch) | |
| tree | fe08a9bfd719382eb4cdc11e7869eb8ab38ee469 /include/gui/BufferItem.h | |
| parent | e4897cec75852fcb461a8dd3a403353eeb149f06 (diff) | |
| parent | ff95aabbcc6e8606acbd7933c90eeb9b8b382a21 (diff) | |
Merge "Add interface for controlling single buffer auto refresh" into nyc-dev
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. |