Merge "composer: 2.4: vts: Add missing COMPOSER_OVERLAY allocation flag" am: 283a876e5a am: 0bda60d835

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1954544

Change-Id: I9759a8667e85c1702464efb4736dbeab352c9e6b
This commit is contained in:
Treehugger Robot 2022-01-23 14:29:09 +00:00 committed by Automerger Merge Worker
commit 59b38ef7b0

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 {