Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayerCompositionState.cpp70 dumpVal(out, "override buffer", overrideInfo.buffer.get()); in dump()
71 dumpVal(out, "override acquire fence", overrideInfo.acquireFence.get()); in dump()
72 dumpVal(out, "override display frame", overrideInfo.displayFrame); in dump()
73 dumpVal(out, "override dataspace", toString(overrideInfo.dataspace), overrideInfo.dataspace); in dump()
74 dumpVal(out, "override display space", to_string(overrideInfo.displaySpace)); in dump()
76 overrideInfo.damageRegion.dump(damageRegionString, ""); in dump()
79 overrideInfo.visibleRegion.dump(visibleRegionString, ""); in dump()
81 dumpVal(out, "override peekThroughLayer", overrideInfo.peekThroughLayer); in dump()
82 dumpVal(out, "override disableBackgroundBlur", overrideInfo.disableBackgroundBlur); in dump()
DOutputLayer.cpp353 state.overrideInfo.buffer != nullptr || isPeekingThrough || zIsOverridden; in writeStateToHWC()
382 if (outputDependentState.overrideInfo.buffer != nullptr) { in writeOutputDependentGeometryStateToHWC()
383 displayFrame = outputDependentState.overrideInfo.displayFrame; in writeOutputDependentGeometryStateToHWC()
386 static_cast<float>(outputDependentState.overrideInfo.buffer->getBuffer() in writeOutputDependentGeometryStateToHWC()
388 static_cast<float>(outputDependentState.overrideInfo.buffer->getBuffer() in writeOutputDependentGeometryStateToHWC()
415 getState().overrideInfo.buffer == nullptr) in writeOutputDependentGeometryStateToHWC()
431 const auto& overrideInfo = getState().overrideInfo; in writeOutputIndependentGeometryStateToHWC() local
432 const auto blendMode = overrideInfo.buffer || overrideInfo.peekThroughLayer in writeOutputIndependentGeometryStateToHWC()
442 : (getState().overrideInfo.buffer ? 1.0f : outputIndependentState.alpha); in writeOutputIndependentGeometryStateToHWC()
464 Region visibleRegion = outputDependentState.overrideInfo.buffer in writeOutputDependentPerFrameStateToHWC()
[all …]
DOutput.cpp145 outputLayer->editState().overrideInfo = {}; in setLayerCachingEnabled()
749 const auto& overrideInfo = layer->getState().overrideInfo; in writeCompositionState() local
750 if (overrideInfo.buffer != nullptr) { in writeCompositionState()
751 if (previousOverride && overrideInfo.buffer->getBuffer() == previousOverride) { in writeCompositionState()
756 if (overrideInfo.peekThroughLayer) { in writeCompositionState()
757 peekThroughLayer = overrideInfo.peekThroughLayer; in writeCompositionState()
767 previousOverride = overrideInfo.buffer->getBuffer(); in writeCompositionState()
1193 if (layer->getState().overrideInfo.buffer != nullptr) { in generateClientCompositionRequests()
1194 if (layer->getState().overrideInfo.buffer->getBuffer() != previousOverrideBuffer) { in generateClientCompositionRequests()
1196 previousOverrideBuffer = layer->getState().overrideInfo.buffer->getBuffer(); in generateClientCompositionRequests()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DFlattenerTest.cpp149 layer->getOutputLayer()->editState().overrideInfo = {}; in initializeOverrideBuffer()
177 EXPECT_EQ(nullptr, layer->getOutputLayer()->getState().overrideInfo.buffer); in expectAllLayersFlattened()
186 const auto buffer = layers[0]->getOutputLayer()->getState().overrideInfo.buffer; in expectAllLayersFlattened()
189 EXPECT_EQ(buffer, layer->getOutputLayer()->getState().overrideInfo.buffer); in expectAllLayersFlattened()
242 const auto& overrideBuffer1 = layerState1->getOutputLayer()->getState().overrideInfo.buffer; in TEST_F()
245 const auto& overrideBuffer2 = layerState2->getOutputLayer()->getState().overrideInfo.buffer; in TEST_F()
248 const auto& overrideBuffer3 = layerState3->getOutputLayer()->getState().overrideInfo.buffer; in TEST_F()
275 layerState1->getOutputLayer()->getState().overrideInfo.displaySpace; in TEST_F()
296 layerState1->getOutputLayer()->getState().overrideInfo.damageRegion; in TEST_F()
322 layerState1->getOutputLayer()->getState().overrideInfo.visibleRegion; in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DPlanner.cpp121 state->getOutputLayer()->editState().overrideInfo = {}; in plan()
167 if (!layer->getState().overrideInfo.buffer) { in reportFinalPlan()
172 layer->getState().overrideInfo.buffer->getBuffer().get(); in reportFinalPlan()
DFlattener.cpp323 state.overrideInfo = { in mergeWithCachedSets()
363 state.overrideInfo = { in mergeWithCachedSets()
384 state.overrideInfo.disableBackgroundBlur = disableBlur; in mergeWithCachedSets()
394 state.overrideInfo.disableBackgroundBlur = disableBlur; in mergeWithCachedSets()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputLayerCompositionState.h113 } overrideInfo; member
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp790 auto& overrideInfo = mOutputLayer.editState().overrideInfo; in includeOverrideInfo() local
792 overrideInfo.buffer = std::make_shared< in includeOverrideInfo()
797 overrideInfo.acquireFence = kOverrideFence; in includeOverrideInfo()
798 overrideInfo.displayFrame = kOverrideDisplayFrame; in includeOverrideInfo()
799 overrideInfo.dataspace = kOverrideDataspace; in includeOverrideInfo()
800 overrideInfo.damageRegion = kOverrideSurfaceDamage; in includeOverrideInfo()
801 overrideInfo.visibleRegion = kOverrideVisibleRegion; in includeOverrideInfo()
1166 mOutputLayer.mState.overrideInfo.peekThroughLayer = &peekThroughLayer; in TEST_F()
DOutputTest.cpp272 layer.outputLayerState.overrideInfo.buffer = std::make_shared< in TEST_F()
280 EXPECT_NE(nullptr, layer.outputLayerState.overrideInfo.buffer); in TEST_F()
282 EXPECT_EQ(nullptr, layer.outputLayerState.overrideInfo.buffer); in TEST_F()
977 layer1.outputLayerState.overrideInfo.buffer = buffer; in TEST_F()
978 layer2.outputLayerState.overrideInfo.buffer = buffer; in TEST_F()
979 layer1.outputLayerState.overrideInfo.peekThroughLayer = layer3.outputLayer; in TEST_F()
980 layer2.outputLayerState.overrideInfo.peekThroughLayer = layer3.outputLayer; in TEST_F()
3801 mLayers[2].mOutputLayerState.overrideInfo.disableBackgroundBlur = true; in TEST_F()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java370 DisplayInfo overrideInfo = bs.getDisplayInfo(displayId); in testShouldNotifyChangeWhenNonOverrideDisplayInfoChanged() local
371 displayManager.setDisplayInfoOverrideFromWindowManagerInternal(displayId, overrideInfo); in testShouldNotifyChangeWhenNonOverrideDisplayInfoChanged()