Home
last modified time | relevance | path

Searched refs:compositionType (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DRenderSurface.cpp128 DisplaySurface::CompositionType compositionType; in prepareFrame() local
130 compositionType = DisplaySurface::COMPOSITION_MIXED; in prepareFrame()
132 compositionType = DisplaySurface::COMPOSITION_GPU; in prepareFrame()
134 compositionType = DisplaySurface::COMPOSITION_HWC; in prepareFrame()
139 compositionType = DisplaySurface::COMPOSITION_HWC; in prepareFrame()
142 if (status_t result = mDisplaySurface->prepareFrame(compositionType); result != NO_ERROR) { in prepareFrame()
DLayerFECompositionState.cpp93 dumpVal(out, "composition type", toString(compositionType), compositionType); in dump()
DOutputLayer.cpp334 auto requestedCompositionType = outputIndependentState->compositionType; in writeStateToHWC()
462 switch (outputIndependentState.compositionType) { in writeOutputIndependentPerFrameStateToHWC()
482 if (outputIndependentState.compositionType != hal::Composition::SOLID_COLOR) { in writeSolidColorStateToHWC()
624 void OutputLayer::applyDeviceCompositionTypeChange(hal::Composition compositionType) { in applyDeviceCompositionTypeChange() argument
629 detectDisallowedCompositionTypeChange(hwcState.hwcCompositionType, compositionType); in applyDeviceCompositionTypeChange()
631 hwcState.hwcCompositionType = compositionType; in applyDeviceCompositionTypeChange()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DDisplaySurface.h31 MOCK_METHOD1(prepareFrame, status_t(CompositionType compositionType));
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplaySurface.h55 virtual status_t prepareFrame(CompositionType compositionType) = 0;
DLayerFECompositionState.h150 hal::Composition compositionType{hal::Composition::INVALID};
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp436 list->hwLayers[layer].compositionType, in hwcTestDisplayList()
437 (list->hwLayers[layer].compositionType == HWC_FRAMEBUFFER) in hwcTestDisplayList()
439 (list->hwLayers[layer].compositionType == HWC_OVERLAY) in hwcTestDisplayList()
503 if (list->hwLayers[layer].compositionType == HWC_OVERLAY) { in hwcTestDisplayListPrepareModifiable()
507 list->hwLayers[layer].compositionType, in hwcTestDisplayListPrepareModifiable()
508 (list->hwLayers[layer].compositionType == HWC_FRAMEBUFFER) in hwcTestDisplayListPrepareModifiable()
510 (list->hwLayers[layer].compositionType == HWC_OVERLAY) in hwcTestDisplayListPrepareModifiable()
DhwcCommit.cpp1441 if (hwcList->hwLayers[n1].compositionType == HWC_OVERLAY) { in numOverlays()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp764 void expectSetCompositionTypeCall(Hwc2::IComposerClient::Composition compositionType) { in expectSetCompositionTypeCall()
765 EXPECT_CALL(*mHwcLayer, setCompositionType(compositionType)).WillOnce(Return(kError)); in expectSetCompositionTypeCall()
871 mLayerFEState.compositionType = Hwc2::IComposerClient::Composition::SOLID_COLOR; in TEST_F()
886 mLayerFEState.compositionType = Hwc2::IComposerClient::Composition::SIDEBAND; in TEST_F()
896 mLayerFEState.compositionType = Hwc2::IComposerClient::Composition::CURSOR; in TEST_F()
906 mLayerFEState.compositionType = Hwc2::IComposerClient::Composition::DEVICE; in TEST_F()
919 mLayerFEState.compositionType = Hwc2::IComposerClient::Composition::SOLID_COLOR; in TEST_F()
929 mLayerFEState.compositionType = Hwc2::IComposerClient::Composition::SOLID_COLOR; in TEST_F()
941 mLayerFEState.compositionType = Hwc2::IComposerClient::Composition::SOLID_COLOR; in TEST_F()
951 mLayerFEState.compositionType = Hwc2::IComposerClient::Composition::DEVICE; in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.h47 virtual status_t prepareFrame(CompositionType compositionType);
DVirtualDisplaySurface.h89 virtual status_t prepareFrame(CompositionType compositionType);
DVirtualDisplaySurface.cpp141 status_t VirtualDisplaySurface::prepareFrame(CompositionType compositionType) { in prepareFrame() argument
150 mCompositionType = compositionType; in prepareFrame()
/frameworks/native/services/surfaceflinger/
DEffectLayer.cpp115 compositionState->compositionType = Hwc2::IComposerClient::Composition::SOLID_COLOR; in preparePerFrameCompositionState()
DBufferLayer.cpp296 compositionState->compositionType = Hwc2::IComposerClient::Composition::SIDEBAND; in preparePerFrameCompositionState()
301 compositionState->compositionType = mPotentialCursor in preparePerFrameCompositionState()
DLayer.cpp2206 const Hwc2::IComposerClient::Composition compositionType = getCompositionType(*display); in writeToProto() local
2207 layerProto->set_hwc_composition_type(static_cast<HwcCompositionType>(compositionType)); in writeToProto()