Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp539 auto deviceLayer = std::make_shared<TestBufferLayer>( in TEST_P() local
542 std::vector<IComposerClient::Color> deviceColors(deviceLayer->mWidth * in TEST_P()
543 deviceLayer->mHeight); in TEST_P()
544 ReadbackHelper::fillColorsArea(deviceColors, deviceLayer->mWidth, in TEST_P()
545 {0, 0, static_cast<int32_t>(deviceLayer->mWidth), in TEST_P()
546 static_cast<int32_t>(deviceLayer->mHeight)}, in TEST_P()
548 deviceLayer->setDisplayFrame({0, 0, static_cast<int32_t>(deviceLayer->mWidth), in TEST_P()
549 static_cast<int32_t>(deviceLayer->mHeight)}); in TEST_P()
550 deviceLayer->setZOrder(10); in TEST_P()
551 deviceLayer->setDataspace(ReadbackHelper::getDataspaceForColorMode(mode), mWriter); in TEST_P()
[all …]