diff options
author | Lajos Molnar <lajos@google.com> | 2013-05-06 16:23:07 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-05-23 22:21:13 +0000 |
commit | 9e3cb55b8f6f007906872decfe3b8a2541e94dd2 (patch) | |
tree | 77f8cc3eb06588a6982cc5df2fe24c3e3e2b5038 /include/gui | |
parent | c5d7b7d323bba8772a9005f7d300ad983a04733a (diff) | |
download | frameworks_native-9e3cb55b8f6f007906872decfe3b8a2541e94dd2.zip frameworks_native-9e3cb55b8f6f007906872decfe3b8a2541e94dd2.tar.gz frameworks_native-9e3cb55b8f6f007906872decfe3b8a2541e94dd2.tar.bz2 |
BufferQueue: remove freeAllBuffersExceptHeadLocked()
Now that we are having separate buffer-instances for the buffer-
queue, we can free all buffers; we don't have to keep the head
alive.
Change-Id: I023e9161a2501d99333f8868ce438afa914ec50f
Signed-off-by: Lajos Molnar <lajos@google.com>
Related-to-bug: 7093648
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/BufferQueue.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/gui/BufferQueue.h b/include/gui/BufferQueue.h index 8475a71..766fa0f 100644 --- a/include/gui/BufferQueue.h +++ b/include/gui/BufferQueue.h @@ -373,10 +373,6 @@ private: // all slots. void freeAllBuffersLocked(); - // freeAllBuffersExceptHeadLocked frees the GraphicBuffer and sync - // resources for all slots except the head of mQueue. - void freeAllBuffersExceptHeadLocked(); - // drainQueueLocked waits for the buffer queue to empty if we're in // synchronous mode, or returns immediately otherwise. It returns NO_INIT // if the BufferQueue is abandoned (consumer disconnected) or disconnected |