Home
last modified time | relevance | path

Searched refs:Hwc (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputLayerCompositionState.h125 struct Hwc { struct
126 explicit Hwc(std::shared_ptr<HWC2::Layer> hwcLayer) : hwcLayer(hwcLayer) {} in Hwc() argument
148 std::optional<Hwc> hwc;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplaySurface.h52 enum class CompositionType : uint8_t { Unknown = 0, Gpu = 0b1, Hwc = 0b10, Mixed = Gpu | Hwc }; enumerator
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.h254 Hwc, enumerator
256 ftl_last = Hwc
DVirtualDisplaySurface.cpp179 if (mCompositionType == CompositionType::Hwc) { in advanceFrame()
187 mDebugState = DebugState::Hwc; in advanceFrame()
190 (mCompositionType != CompositionType::Hwc && mFbProducerSlot < 0)) { in advanceFrame()
232 VDS_LOGW_IF(mDebugState != DebugState::Hwc, "Unexpected %s in %s state", __func__, in onFrameCommitted()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_PowerHintTest.cpp140 prepareFrame(compositionengine::DisplaySurface::CompositionType::Hwc)) in TEST_F()
163 prepareFrame(compositionengine::DisplaySurface::CompositionType::Hwc)) in TEST_F()
DCompositionTest.cpp379 prepareFrame(compositionengine::DisplaySurface::CompositionType::Hwc)) in setupHwcCompositionCallExpectations()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DRenderSurface.cpp136 if (usesDeviceComposition) return CompositionType::Hwc; in prepareFrame()
141 return CompositionType::Hwc; in prepareFrame()
DOutputLayerCompositionState.cpp33 void dumpHwc(const OutputLayerCompositionState::Hwc& hwc, std::string& out) { in dumpHwc()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp808 outputLayerState.hwc = impl::OutputLayerCompositionState::Hwc(mHwcLayer); in OutputLayerWriteStateToHWCTest()
986 mOutputLayer.editState().hwc = impl::OutputLayerCompositionState::Hwc(nullptr); in TEST_F()
1347 outputLayerState.hwc = impl::OutputLayerCompositionState::Hwc(mHwcLayer); in OutputLayerWriteCursorPositionToHWCTest()
1406 mOutputLayer.editState().hwc = impl::OutputLayerCompositionState::Hwc{nullptr}; in TEST_F()
1413 mOutputLayer.editState().hwc = impl::OutputLayerCompositionState::Hwc{hwcLayer}; in TEST_F()
1429 mOutputLayer.editState().hwc = impl::OutputLayerCompositionState::Hwc{nullptr}; in TEST_F()
1436 mOutputLayer.editState().hwc = impl::OutputLayerCompositionState::Hwc{nullptr}; in TEST_F()
1453 mOutputLayer.editState().hwc = impl::OutputLayerCompositionState::Hwc{nullptr}; in TEST_F()
1460 mOutputLayer.editState().hwc = impl::OutputLayerCompositionState::Hwc{nullptr}; in TEST_F()
1471 mOutputLayer.editState().hwc = impl::OutputLayerCompositionState::Hwc{nullptr}; in TEST_F()
DRenderSurfaceTest.cpp219 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/fuzzer/
Dsurfaceflinger_displayhardware_fuzzer.cpp86 VirtualDisplaySurface::CompositionType::Gpu, VirtualDisplaySurface::CompositionType::Hwc,