Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp110 EXPECT_CALL(*outputLayer, getState()).WillRepeatedly(ReturnRef(outputLayerState)); in InjectedLayer()
111 EXPECT_CALL(*outputLayer, editState()).WillRepeatedly(ReturnRef(outputLayerState)); in InjectedLayer()
121 impl::OutputLayerCompositionState outputLayerState; member
127 EXPECT_CALL(outputLayer, getState()).WillRepeatedly(ReturnRef(outputLayerState)); in NonInjectedLayer()
128 EXPECT_CALL(outputLayer, editState()).WillRepeatedly(ReturnRef(outputLayerState)); in NonInjectedLayer()
138 impl::OutputLayerCompositionState outputLayerState; member
297 layer.outputLayerState.overrideInfo.buffer = std::make_shared< in TEST_F()
306 EXPECT_NE(nullptr, layer.outputLayerState.overrideInfo.buffer); in TEST_F()
308 EXPECT_EQ(nullptr, layer.outputLayerState.overrideInfo.buffer); in TEST_F()
948 layer1.outputLayerState.overrideInfo.buffer = buffer; in TEST_F()
[all …]
DOutputLayerTest.cpp146 const auto& outputLayerState = mOutputLayer.getState(); in TEST_F() local
147 ASSERT_TRUE(outputLayerState.hwc); in TEST_F()
149 const auto& hwcState = *outputLayerState.hwc; in TEST_F()
817 auto& outputLayerState = mOutputLayer.editState(); in OutputLayerWriteStateToHWCTest() local
818 outputLayerState.hwc = impl::OutputLayerCompositionState::Hwc(mHwcLayer); in OutputLayerWriteStateToHWCTest()
820 outputLayerState.displayFrame = kDisplayFrame; in OutputLayerWriteStateToHWCTest()
821 outputLayerState.sourceCrop = kSourceCrop; in OutputLayerWriteStateToHWCTest()
822 outputLayerState.bufferTransform = static_cast<Hwc2::Transform>(kBufferTransform); in OutputLayerWriteStateToHWCTest()
823 outputLayerState.outputSpaceVisibleRegion = kOutputSpaceVisibleRegion; in OutputLayerWriteStateToHWCTest()
824 outputLayerState.dataspace = kDataspace; in OutputLayerWriteStateToHWCTest()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp784 auto& outputLayerState = result->editState(); in ensureOutputLayerIfVisible() local
785 outputLayerState.visibleRegion = visibleRegion; in ensureOutputLayerIfVisible()
786 outputLayerState.visibleNonTransparentRegion = visibleNonTransparentRegion; in ensureOutputLayerIfVisible()
787 outputLayerState.coveredRegion = coveredRegion; in ensureOutputLayerIfVisible()
788 outputLayerState.outputSpaceVisibleRegion = outputState.transform.transform( in ensureOutputLayerIfVisible()
790 outputLayerState.shadowRegion = shadowRegion; in ensureOutputLayerIfVisible()
791 outputLayerState.outputSpaceBlockingRegionHint = in ensureOutputLayerIfVisible()
797 outputLayerState.coveredRegionExcludingDisplayOverlays = in ensureOutputLayerIfVisible()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DPredictorTest.cpp54 const OutputLayerCompositionState& outputLayerState, in setupMocksForLayer() argument
57 EXPECT_CALL(layer, getState()).WillRepeatedly(ReturnRef(outputLayerState)); in setupMocksForLayer()
DLayerStateTest.cpp88 const OutputLayerCompositionState& outputLayerState, in setupMocksForLayer()
93 EXPECT_CALL(layer, getState()).WillRepeatedly(ReturnRef(outputLayerState)); in setupMocksForLayer()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1603 const auto& outputLayerState = outputLayer->getState(); in miniDumpLegacy() local
1612 StringAppendF(&result, "%10s | ", toString(outputLayerState.bufferTransform).c_str()); in miniDumpLegacy()
1613 const Rect& frame = outputLayerState.displayFrame; in miniDumpLegacy()
1615 const FloatRect& crop = outputLayerState.sourceCrop; in miniDumpLegacy()
1646 const auto& outputLayerState = outputLayer->getState(); in miniDump() local
1647 StringAppendF(&result, "%10s | ", toString(outputLayerState.bufferTransform).c_str()); in miniDump()
1648 const Rect& frame = outputLayerState.displayFrame; in miniDump()
1650 const FloatRect& crop = outputLayerState.sourceCrop; in miniDump()