diff options
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
-rw-r--r-- | libs/gui/BufferQueue.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/gui/BufferQueue.cpp b/libs/gui/BufferQueue.cpp index 9f9b441..5226037 100644 --- a/libs/gui/BufferQueue.cpp +++ b/libs/gui/BufferQueue.cpp @@ -195,6 +195,15 @@ status_t BufferQueue::setBufferCount(int bufferCount) { return OK; } +#ifdef QCOM_BSP +status_t BufferQueue::setBuffersSize(int size) { + ST_LOGV("setBuffersSize: size=%d", size); + Mutex::Autolock lock(mMutex); + mGraphicBufferAlloc->setGraphicBufferSize(size); + return NO_ERROR; +} +#endif + int BufferQueue::query(int what, int* outValue) { ATRACE_CALL(); |