Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DCachedSet.cpp225 auto holePunchSettings = layerFE.prepareClientComposition(targetSettings); in render() local
227 holePunchSettings->source.buffer.buffer = nullptr; in render()
228 holePunchSettings->source.solidColor = half3(0.0f, 0.0f, 0.0f); in render()
229 holePunchSettings->disableBlending = true; in render()
230 holePunchSettings->alpha = 0.0f; in render()
231 holePunchSettings->name = in render()
239 holePunchBackgroundSettings.geometry.boundaries = holePunchSettings->geometry.boundaries; in render()
241 holePunchSettings->geometry.positionTransform; in render()
244 layerSettings.push_back(std::move(*holePunchSettings)); in render()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DCachedSetTest.cpp824 const auto holePunchSettings = layers[3]; in TEST_F() local
825 EXPECT_EQ(nullptr, holePunchSettings.source.buffer.buffer); in TEST_F()
826 EXPECT_EQ(half3(0.0f, 0.0f, 0.0f), holePunchSettings.source.solidColor); in TEST_F()
827 EXPECT_TRUE(holePunchSettings.disableBlending); in TEST_F()
828 EXPECT_EQ(0.0f, holePunchSettings.alpha); in TEST_F()
885 const auto holePunchSettings = layers[3]; in TEST_F() local
886 EXPECT_EQ(nullptr, holePunchSettings.source.buffer.buffer); in TEST_F()
887 EXPECT_EQ(half3(0.0f, 0.0f, 0.0f), holePunchSettings.source.solidColor); in TEST_F()
888 EXPECT_TRUE(holePunchSettings.disableBlending); in TEST_F()
889 EXPECT_EQ(0.0f, holePunchSettings.alpha); in TEST_F()