Merge "Add render target bit to output buffer for readback vts" into sc-dev

This commit is contained in:
Alec Mouri 2021-02-25 23:02:57 +00:00 committed by Android (Google) Code Review
commit c1dfee14d6

View file

@ -103,7 +103,8 @@ class GraphicsCompositionTestBase : public ::testing::Test {
mTestRenderEngine->initGraphicBuffer(
static_cast<uint32_t>(mDisplayWidth), static_cast<uint32_t>(mDisplayHeight), 1,
static_cast<uint64_t>(BufferUsage::CPU_READ_OFTEN | BufferUsage::CPU_WRITE_OFTEN));
static_cast<uint64_t>(BufferUsage::CPU_READ_OFTEN | BufferUsage::CPU_WRITE_OFTEN |
BufferUsage::GPU_RENDER_TARGET));
mTestRenderEngine->setDisplaySettings(clientCompositionDisplay);
}