Merge "composer: 2.4: vts: Add missing COMPOSER_OVERLAY allocation flag"

This commit is contained in:
Treehugger Robot 2022-01-23 14:02:43 +00:00 committed by Gerrit Code Review
commit 283a876e5a

View file

@ -161,7 +161,8 @@ class GraphicsComposerHidlTest : public ::testing::TestWithParam<std::string> {
return mGralloc->allocate(
width, height, /*layerCount*/ 1,
static_cast<common::V1_1::PixelFormat>(PixelFormat::RGBA_8888),
static_cast<uint64_t>(BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN));
static_cast<uint64_t>(BufferUsage::CPU_WRITE_OFTEN | BufferUsage::CPU_READ_OFTEN |
BufferUsage::COMPOSER_OVERLAY));
}
struct TestParameters {