summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Jiwen 'Steve' Cai <jwcai@google.com> 2017-03-24 14:03:06 -0700
committer Jiwen 'Steve' Cai <jwcai@google.com> 2017-04-03 13:37:46 -0700
commit1601bcfa9cdc07cea8f5980349608e1526690db5 (patch)
treed19a54bc7e4a0d63c16a1fe3316f832c9baa3fe2 /libs/gui/ConsumerBase.cpp
parent623912183d8314595b37cdedc7c193a21c345bdb (diff)
Harden BufferHubQueueProducerTest
This is a test that covers our implementation of bufferhubqueue-based IGraphicBufferProducer, which eventually enables VrCore/VrFlinger to access buffers produced from other Android compontents. Note that the gtest itself is a (slightly) modified version of IGraphicBufferProducer_test.cpp. This also improves BufferHubQueue in the following way to support more features of android::BufferQueue. 1/ Supports more buffer queue parameters that we query. 2/ BufferHubQueue (the PDX client) now supports default width, height, and format configuration. 3/ Change default max_dequeue_buffer_count to 1 (which is the same behavior current android::BufferQueue adopts). 4/ Fill in |QueueBufferOutput| during |enqueueBuffer|. Bug: 34197998 Bug: 36266201 Test: build and run buffer_hub_queue_producer-test Change-Id: I9d3e8bb66dbfb66e67ab7b0e5093e49a3f374e9c
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions