summaryrefslogtreecommitdiff
path: root/include/gui/BufferQueue.h
diff options
context:
space:
mode:
author Andy McFadden <fadden@android.com> 2012-12-11 13:13:31 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2012-12-11 13:13:32 -0800
commit3325fe16e60772188ff99db87c5e8b0e655cd6c7 (patch)
tree147906c9c1e1f7f67dba5c8965c9c5d507a93b91 /include/gui/BufferQueue.h
parent3a6efcb8ce5098a2817ac85a099ca23d4e2c8b47 (diff)
parentbf974abe92f7495529916fe0f483f3b56e7c30e3 (diff)
Merge "Refactor SurfaceTexture a bit."
Diffstat (limited to 'include/gui/BufferQueue.h')
-rw-r--r--include/gui/BufferQueue.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/gui/BufferQueue.h b/include/gui/BufferQueue.h
index 9e265bab72..88bcd8f4ab 100644
--- a/include/gui/BufferQueue.h
+++ b/include/gui/BufferQueue.h
@@ -182,8 +182,9 @@ public:
mBuf(INVALID_BUFFER_SLOT) {
mCrop.makeInvalid();
}
- // mGraphicBuffer points to the buffer allocated for this slot or is NULL
- // if no buffer has been allocated.
+ // mGraphicBuffer points to the buffer allocated for this slot, or is NULL
+ // if the buffer in this slot has been acquired in the past (see
+ // BufferSlot.mAcquireCalled).
sp<GraphicBuffer> mGraphicBuffer;
// mCrop is the current crop rectangle for this buffer slot.