Home
last modified time | relevance | path

Searched refs:mRenderSurface (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp42 return mDisplayColorProfile && mDisplayColorProfile->isValid() && mRenderSurface && in isValid()
43 mRenderSurface->isValid(); in isValid()
77 mRenderSurface->setDisplaySize(size); in setBounds()
79 mState.bounds = Rect(mRenderSurface->getSize()); in setBounds()
117 mRenderSurface->setBufferDataspace(dataspace); in setColorMode()
145 if (mRenderSurface) { in dumpBase()
146 mRenderSurface->dump(out); in dumpBase()
174 return mRenderSurface.get(); in getRenderSurface()
178 mRenderSurface = std::move(surface); in setRenderSurface()
179 mState.bounds = Rect(mRenderSurface->getSize()); in setRenderSurface()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp45 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputTest()
55 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member in android::compositionengine::__anon0cff14940111::OutputTest
68 EXPECT_CALL(*mRenderSurface, isValid()).WillOnce(Return(true)); in TEST_F()
140 EXPECT_CALL(*mRenderSurface, setDisplaySize(displaySize)).Times(1); in TEST_F()
141 EXPECT_CALL(*mRenderSurface, getSize()).WillOnce(ReturnRef(displaySize)); in TEST_F()
208 EXPECT_CALL(*mRenderSurface, setBufferDataspace(ui::Dataspace::DISPLAY_P3)).Times(1); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutput.h93 std::unique_ptr<compositionengine::RenderSurface> mRenderSurface; variable