Home
last modified time | relevance | path

Searched refs:CompositionType (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.h86 virtual status_t prepareFrame(CompositionType);
141 static Source fbSourceForCompositionType(CompositionType);
142 static std::string toString(CompositionType);
212 CompositionType mCompositionType = CompositionType::Unknown;
263 CompositionType mDebugLastCompositionType = CompositionType::Unknown;
DVirtualDisplaySurface.cpp130 status_t VirtualDisplaySurface::prepareFrame(CompositionType compositionType) { in prepareFrame()
140 if (mForceHwcCopy && mCompositionType == CompositionType::Gpu) { in prepareFrame()
149 mCompositionType = CompositionType::Mixed; in prepareFrame()
158 if (mCompositionType != CompositionType::Gpu && in prepareFrame()
183 if (mCompositionType == CompositionType::Hwc) { in advanceFrame()
194 (mCompositionType != CompositionType::Hwc && mFbProducerSlot < 0)) { in advanceFrame()
243 if (mCompositionType == CompositionType::Mixed && mFbProducerSlot >= 0) { in onFrameCommitted()
468 if (mCompositionType == CompositionType::Mixed) { in queueBuffer()
490 LOG_FATAL_IF(mCompositionType != CompositionType::Gpu, in queueBuffer()
611 mCompositionType = CompositionType::Unknown; in resetPerFrameState()
[all …]
DFramebufferSurface.h48 virtual status_t prepareFrame(CompositionType compositionType);
DFramebufferSurface.cpp90 status_t FramebufferSurface::prepareFrame(CompositionType /*compositionType*/) { in prepareFrame() argument
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DRenderSurface.cpp132 using CompositionType = DisplaySurface::CompositionType; in prepareFrame() typedef
134 if (usesClientComposition && usesDeviceComposition) return CompositionType::Mixed; in prepareFrame()
135 if (usesClientComposition) return CompositionType::Gpu; in prepareFrame()
136 if (usesDeviceComposition) return CompositionType::Hwc; in prepareFrame()
141 return CompositionType::Hwc; in prepareFrame()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplaySurface.h52 enum class CompositionType : uint8_t { Unknown = 0, Gpu = 0b1, Hwc = 0b10, Mixed = Gpu | Hwc }; enum
53 virtual status_t prepareFrame(CompositionType) = 0;
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_PowerHintTest.cpp38 prepareFrame(compositionengine::DisplaySurface::CompositionType::Hwc)) in TEST_F()
59 prepareFrame(compositionengine::DisplaySurface::CompositionType::Hwc)) in TEST_F()
DCompositionTest.cpp318 Case::CompositionType::setupHwcSetCallExpectations(test); in setupCommonCompositionCallExpectations()
319 Case::CompositionType::setupHwcGetCallExpectations(test); in setupCommonCompositionCallExpectations()
351 prepareFrame(compositionengine::DisplaySurface::CompositionType::Hwc)) in setupHwcCompositionCallExpectations()
366 prepareFrame(compositionengine::DisplaySurface::CompositionType::Gpu)) in setupRECompositionCallExpectations()
429 Case::CompositionType::setupHwcSetCallExpectations(test); in setupCommonCompositionCallExpectations()
971 template <aidl::android::hardware::graphics::composer3::Composition CompositionType>
974 CompositionType;
979 setLayerCompositionType(HWC_DISPLAY, HWC_LAYER, CompositionType)) in setupHwcSetCallExpectations()
1129 using CompositionType = CompositionTypeCase; typedef
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DDisplaySurface.h32 MOCK_METHOD1(prepareFrame, status_t(CompositionType compositionType));
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp205 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::CompositionType::Mixed)) in TEST_F()
212 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::CompositionType::Gpu)) in TEST_F()
219 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::CompositionType::Hwc)) in TEST_F()
226 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::CompositionType::Hwc)) in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h69 CompositionType = 1u << 13,
395 LayerStateField::CompositionType>;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DLayerStateTest.cpp335 EXPECT_EQ(ftl::Flags<LayerStateField>(LayerStateField::CompositionType), updates); in TEST_F()
356 LayerStateField::CompositionType); in TEST_F()