Home
last modified time | relevance | path

Searched refs:srgbLayer (Results 1 – 1 of 1) sorted by relevance

/hardware/interfaces/graphics/composer/aidl/vts/
DVtsHalGraphicsComposer3_ReadbackTest.cpp556 auto srgbLayer = std::make_shared<TestBufferLayer>( in TEST_P() local
559 std::vector<Color> sRgbDeviceColors(srgbLayer->getWidth() * srgbLayer->getHeight()); in TEST_P()
561 {0, 0, static_cast<int32_t>(srgbLayer->getWidth()), in TEST_P()
562 static_cast<int32_t>(srgbLayer->getHeight())}, in TEST_P()
564 srgbLayer->setDisplayFrame({0, 0, static_cast<int32_t>(srgbLayer->getWidth()), in TEST_P()
565 static_cast<int32_t>(srgbLayer->getHeight())}); in TEST_P()
566 srgbLayer->setZOrder(10); in TEST_P()
567 srgbLayer->setDataspace(Dataspace::SRGB); in TEST_P()
568 ASSERT_NO_FATAL_FAILURE(srgbLayer->setBuffer(sRgbDeviceColors)); in TEST_P()
586 writeLayers({srgbLayer, displayP3Layer}); in TEST_P()