Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp95 impl::OutputLayerCompositionState& editState() override { return mState; } in editState() function
547 impl::OutputLayerCompositionState& editState() override { return mState; } in editState() function
602 mOutputLayer.editState().forceClientComposition = true; in TEST_F()
715 mOutputLayer.editState().forceClientComposition = false; in TEST_F()
724 mOutputLayer.editState().forceClientComposition = true; in TEST_F()
733 mOutputLayer.editState().forceClientComposition = false; in TEST_F()
742 mOutputLayer.editState().forceClientComposition = false; in TEST_F()
752 mOutputLayer.editState().forceClientComposition = false; in TEST_F()
758 mOutputLayer.editState().forceClientComposition = false; in TEST_F()
817 auto& outputLayerState = mOutputLayer.editState(); in OutputLayerWriteStateToHWCTest()
[all …]
DDisplayTest.cpp112 OutputCompositionState& editState() override { return mState; } in editState() function
642 mDisplay->editState().displayBrightnessNits = kDisplayBrightnessNits; in TEST_F()
944 mDisplay->editState().isEnabled = true; in TEST_F()
945 mDisplay->editState().usesClientComposition = false; in TEST_F()
946 mDisplay->editState().layerStackSpace.setContent(Rect(0, 0, 1, 1)); in TEST_F()
947 mDisplay->editState().dirtyRegion = Region::INVALID_REGION; in TEST_F()
963 gpuDisplay->editState().isEnabled = true; in TEST_F()
964 gpuDisplay->editState().usesClientComposition = false; in TEST_F()
965 gpuDisplay->editState().layerStackSpace.setContent(Rect(0, 0, 1, 1)); in TEST_F()
966 gpuDisplay->editState().dirtyRegion = Region::INVALID_REGION; in TEST_F()
[all …]
DOutputTest.cpp89 OutputCompositionState& editState() override { return mState; } in editState() function
111 EXPECT_CALL(*outputLayer, editState()).WillRepeatedly(ReturnRef(outputLayerState)); in InjectedLayer()
128 EXPECT_CALL(outputLayer, editState()).WillRepeatedly(ReturnRef(outputLayerState)); in NonInjectedLayer()
158 mOutput->editState().displaySpace.setBounds( in OutputTest()
227 mOutput->editState().isEnabled = true; in TEST_F()
236 mOutput->editState().isEnabled = false; in TEST_F()
245 mOutput->editState().isEnabled = true; in TEST_F()
317 mOutput->editState().displaySpace.setBounds( in TEST_F()
319 mOutput->editState().framebufferSpace.setBounds( in TEST_F()
358 mOutput->editState().displaySpace.setBounds( in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp59 editState().isSecure = args.isSecure; in setConfiguration()
60 editState().isProtected = args.isProtected; in setConfiguration()
61 editState().displaySpace.setBounds(args.pixels); in setConfiguration()
78 editState().isSecure = secure; in setSecure()
221 editState().displayBrightness.reset(); in applyDisplayBrightness()
286 auto& state = editState(); in applyCompositionStrategy()
327 auto& state = editState(); in applyDisplayRequests()
355 editState().dataspace = in applyClientTargetRequests()
357 editState().clientTargetBrightness = clientTargetProperty.brightness; in applyClientTargetRequests()
358 editState().clientTargetDimmingStage = clientTargetProperty.dimmingStage; in applyClientTargetRequests()
[all …]
DOutput.cpp132 auto& outputState = editState(); in setCompositionEnabled()
160 outputLayer->editState().overrideInfo = {}; in setLayerCachingEnabled()
172 auto& outputState = editState(); in setProjection()
215 editState().displayBrightness = brightness; in setNextBrightness()
221 auto& state = editState(); in setDisplaySize()
252 editState().layerFilter = filter; in setLayerFilter()
257 auto& colorTransformMatrix = editState().colorTransformMatrix; in setColorTransform()
268 auto& outputState = editState(); in setColorProfile()
289 auto& outputState = editState(); in setDisplayBrightness()
367 editState().framebufferSpace.setBounds(size); in setRenderSurface()
[all …]
DOutputLayer.cpp67 auto& state = editState(); in setHwcLayer()
293 auto& state = editState(); in updateCompositionState()
422 editState().hwc->stateOverridden = isOverridden; in writeStateToHWC()
423 editState().hwc->layerSkipped = skipLayer; in writeStateToHWC()
568 editState().forceClientComposition = true; in writeOutputIndependentPerFrameStateToHWC()
631 auto& state = editState(); in uncacheBuffers()
683 auto& state = editState(); in writeBufferStateToHWC()
716 auto& outputDependentState = editState(); in writeCompositionTypeToHWC()
814 auto& state = editState(); in applyDeviceCompositionTypeChange()
829 auto& state = editState(); in prepareForDeviceLayerRequests()
[all …]
/frameworks/native/services/surfaceflinger/
DScreenCaptureOutput.cpp34 output->editState().isSecure = args.renderArea.isSecure(); in createScreenCaptureOutput()
35 output->editState().isProtected = args.isProtected; in createScreenCaptureOutput()
40 output->editState().clientTargetBrightness = args.targetBrightness; in createScreenCaptureOutput()
41 output->editState().treat170mAsSrgb = args.treat170mAsSrgb; in createScreenCaptureOutput()
75 auto& outputState = editState(); in updateColorProfile()
DDisplayDevice.cpp72 mCompositionDisplay->editState().isSecure = args.isSecure;
73 mCompositionDisplay->editState().isProtected = args.isProtected;
DSurfaceFlinger.cpp2034 compositionDisplay->editState().sdrWhitePointNits / in setDisplayBrightness()
2035 compositionDisplay->editState().displayBrightnessNits; in setDisplayBrightness()
2054 compositionDisplay->editState().displayBrightnessNits / in setDisplayBrightness()
2055 compositionDisplay->editState().sdrWhitePointNits; in setDisplayBrightness()
4630 display->editState().dirtyRegion.orSelf(dirty); in invalidateLayerStack()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DOutputLayer.h44 MOCK_METHOD0(editState, impl::OutputLayerCompositionState&());
DOutput.h68 MOCK_METHOD0(editState, OutputCompositionState&());
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DFlattener.cpp328 (*incomingLayerIter)->getOutputLayer()->editState(); in mergeWithCachedSets()
368 (*incomingLayerIter)->getOutputLayer()->editState(); in mergeWithCachedSets()
389 (*incomingLayerIter)->getOutputLayer()->editState(); in mergeWithCachedSets()
399 (*incomingLayerIter)->getOutputLayer()->editState(); in mergeWithCachedSets()
DPlanner.cpp131 state->getOutputLayer()->editState().overrideInfo = {}; in plan()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DOutputLayer.h83 virtual CompositionState& editState() = 0;
DOutput.h231 virtual OutputCompositionState& editState() = 0;
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayDevice_SetDisplayBrightnessTest.cpp89 displayDevice->getCompositionDisplay()->editState().displayBrightness = std::nullopt; in TEST_F()
DCompositionTest.cpp810 outputLayer->editState().visibleRegion = Region(Rect(0, 0, 100, 100)); in injectLayer()
811 outputLayer->editState().outputSpaceVisibleRegion = Region(Rect(0, 0, 100, 100)); in injectLayer()
1063 outputLayer->editState().forceClientComposition = true; in setupLayerState()
DTestableSurfaceFlinger.h345 auto& state = outputLayer->editState(); in setLayerCompositionType()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputLayer.h130 OutputLayerCompositionState& editState() override { return mState; } in createOutputLayerTemplated()
DOutput.h225 OutputCompositionState& editState() override { return mState; } in createOutputTemplated()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DFlattenerTest.cpp137 EXPECT_CALL(testLayer->outputLayer, editState) in SetUp()
154 layer->getOutputLayer()->editState().overrideInfo = {}; in initializeOverrideBuffer()