Lines Matching refs:mRenderSurface
143 mOutput->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputTest()
162 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
199 EXPECT_CALL(*mRenderSurface, isValid()).WillOnce(Return(true)); in TEST_F()
248 EXPECT_CALL(*mRenderSurface, getSize()).WillRepeatedly(ReturnRef(kSize)); in TEST_F()
257 EXPECT_CALL(*mRenderSurface, getSize()).WillRepeatedly(ReturnRef(kSize)); in TEST_F()
267 EXPECT_CALL(*mRenderSurface, getSize()).WillRepeatedly(ReturnRef(kSize)); in TEST_F()
380 EXPECT_CALL(*mRenderSurface, setDisplaySize(newDisplaySize)).Times(1); in TEST_F()
517 EXPECT_CALL(*mRenderSurface, setBufferDataspace(ui::Dataspace::DISPLAY_P3)).Times(1); in TEST_F()
999 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputPrepareFrameTest()
1004 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
1021 EXPECT_CALL(*mRenderSurface, prepareFrame(false, true)); in TEST_F()
1033 EXPECT_CALL(*mRenderSurface, prepareFrame(true, false)); in TEST_F()
1822 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputUpdateColorProfileTest()
1837 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
2539 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputBeginFrameTest()
2572 EXPECT_CALL(*getInstance()->mRenderSurface, beginFrame(mustRecompose)); in thenExpectRenderSurfaceBeginFrameCall()
2599 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
2697 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputDevOptRepaintFlashTest()
2705 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
2753 EXPECT_CALL(*mRenderSurface, queueBuffer(_)); in TEST_F()
2777 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputFinishFrameTest()
2782 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
2807 EXPECT_CALL(*mRenderSurface, queueBuffer(_)); in TEST_F()
2837 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputPostFramebufferTest()
2850 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
2875 EXPECT_CALL(*mRenderSurface, flip()); in TEST_F()
2877 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
2898 EXPECT_CALL(*mRenderSurface, flip()); in TEST_F()
2900 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
2930 EXPECT_CALL(*mRenderSurface, flip()); in TEST_F()
2932 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
2966 EXPECT_CALL(*mRenderSurface, flip()); in TEST_F()
2968 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
3005 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputComposeSurfacesTest()
3071 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
3112 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillOnce(Return(mOutputBuffer)); in TEST_F()
3122 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillOnce(Return(nullptr)); in TEST_F()
3135 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillOnce(Return(nullptr)); in TEST_F()
3150 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3177 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3207 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3231 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3260 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3293 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)) in TEST_F()
3325 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3346 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in OutputComposeSurfacesTest_UsesExpectedDisplaySettings()
3476 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in OutputComposeSurfacesTest_HandlesProtectedContent()
3508 EXPECT_CALL(*mRenderSurface, isProtected).WillOnce(Return(true)); in TEST_F()
3510 EXPECT_CALL(*mRenderSurface, setProtected(false)); in TEST_F()
3525 EXPECT_CALL(*mRenderSurface, isProtected).WillOnce(Return(false)); in TEST_F()
3527 EXPECT_CALL(*mRenderSurface, setProtected(true)); in TEST_F()
3529 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3540 EXPECT_CALL(*mRenderSurface, isProtected).WillOnce(Return(true)); in TEST_F()
3550 EXPECT_CALL(*mRenderSurface, isProtected).WillOnce(Return(false)); in TEST_F()
3561 EXPECT_CALL(*mRenderSurface, isProtected).WillOnce(Return(false)); in TEST_F()
3562 EXPECT_CALL(*mRenderSurface, setProtected(true)); in TEST_F()
3572 EXPECT_CALL(*mRenderSurface, isProtected).WillOnce(Return(true)); in TEST_F()
3586 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in OutputComposeSurfacesTest_SetsExpensiveRendering()
3682 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in GenerateClientCompositionRequestsTest()
3686 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member