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

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

Change-Id: Iedc586355cc11ee38a7e88eb8903a7c87666d3b5
This commit is contained in:
Treehugger Robot
2022-01-23 14:18:11 +00:00
committed by Automerger Merge Worker

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 {