diff options
| author | 2020-04-01 15:40:40 -0700 | |
|---|---|---|
| committer | 2020-04-01 15:40:40 -0700 | |
| commit | 5b2ae91025bed064887c7178b1aa0a19c50caaed (patch) | |
| tree | 1cbff96f9114822d35f5aa4e8ff20c84e9561f21 /libs/gui/BLASTBufferQueue.cpp | |
| parent | 5ea5df566c65074a7f405d8a31ed894f169785cd (diff) | |
BLASTBufferQueue: Pass same default usage as BufferQueueLayer
The default usage value for BufferQueueLayer is COMPOSER not
FRAMEBUFFER (see Layer::getEffectiveUsage). It's unclear exactly
what effect this was having.
Bug: 152501005
Test: Existing tests pass.
Change-Id: I33adc9c39c57b11c71a53e936448c9052bd83155
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
| -rw-r--r-- | libs/gui/BLASTBufferQueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/BLASTBufferQueue.cpp b/libs/gui/BLASTBufferQueue.cpp index 30e1351b33..545ae5b04e 100644 --- a/libs/gui/BLASTBufferQueue.cpp +++ b/libs/gui/BLASTBufferQueue.cpp @@ -110,7 +110,7 @@ BLASTBufferQueue::BLASTBufferQueue(const sp<SurfaceControl>& surface, int width, mProducer->setMaxDequeuedBufferCount(2); } mBufferItemConsumer = - new BLASTBufferItemConsumer(mConsumer, AHARDWAREBUFFER_USAGE_GPU_FRAMEBUFFER, 1, true); + new BLASTBufferItemConsumer(mConsumer, GraphicBuffer::USAGE_HW_COMPOSER, 1, true); static int32_t id = 0; auto name = std::string("BLAST Consumer") + std::to_string(id); id++; |