/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 95 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 …]
|
D | DisplayTest.cpp | 112 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 …]
|
D | OutputTest.cpp | 89 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/ |
D | Display.cpp | 59 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 …]
|
D | Output.cpp | 132 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 …]
|
D | OutputLayer.cpp | 67 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/ |
D | ScreenCaptureOutput.cpp | 34 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()
|
D | DisplayDevice.cpp | 72 mCompositionDisplay->editState().isSecure = args.isSecure; 73 mCompositionDisplay->editState().isProtected = args.isProtected;
|
D | SurfaceFlinger.cpp | 2034 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/ |
D | OutputLayer.h | 44 MOCK_METHOD0(editState, impl::OutputLayerCompositionState&());
|
D | Output.h | 68 MOCK_METHOD0(editState, OutputCompositionState&());
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | Flattener.cpp | 328 (*incomingLayerIter)->getOutputLayer()->editState(); in mergeWithCachedSets() 368 (*incomingLayerIter)->getOutputLayer()->editState(); in mergeWithCachedSets() 389 (*incomingLayerIter)->getOutputLayer()->editState(); in mergeWithCachedSets() 399 (*incomingLayerIter)->getOutputLayer()->editState(); in mergeWithCachedSets()
|
D | Planner.cpp | 131 state->getOutputLayer()->editState().overrideInfo = {}; in plan()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | OutputLayer.h | 83 virtual CompositionState& editState() = 0;
|
D | Output.h | 231 virtual OutputCompositionState& editState() = 0;
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayDevice_SetDisplayBrightnessTest.cpp | 89 displayDevice->getCompositionDisplay()->editState().displayBrightness = std::nullopt; in TEST_F()
|
D | CompositionTest.cpp | 810 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()
|
D | TestableSurfaceFlinger.h | 345 auto& state = outputLayer->editState(); in setLayerCompositionType()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayer.h | 130 OutputLayerCompositionState& editState() override { return mState; } in createOutputLayerTemplated()
|
D | Output.h | 225 OutputCompositionState& editState() override { return mState; } in createOutputTemplated()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | FlattenerTest.cpp | 137 EXPECT_CALL(testLayer->outputLayer, editState) in SetUp() 154 layer->getOutputLayer()->editState().overrideInfo = {}; in initializeOverrideBuffer()
|