Lines Matching refs:mRenderSurface

156         mOutput->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface));  in OutputTest()
176 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
210 EXPECT_CALL(*mRenderSurface, isValid()).WillOnce(Return(true)); in TEST_F()
273 EXPECT_CALL(*mRenderSurface, getSize()).WillRepeatedly(ReturnRef(kSize)); in TEST_F()
282 EXPECT_CALL(*mRenderSurface, getSize()).WillRepeatedly(ReturnRef(kSize)); in TEST_F()
292 EXPECT_CALL(*mRenderSurface, getSize()).WillRepeatedly(ReturnRef(kSize)); in TEST_F()
412 EXPECT_CALL(*mRenderSurface, setDisplaySize(newDisplaySize)).Times(1); in TEST_F()
547 EXPECT_CALL(*mRenderSurface, setBufferDataspace(ui::Dataspace::DISPLAY_P3)).Times(1); in TEST_F()
972 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputPrepareFrameTest()
977 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
995 EXPECT_CALL(*mRenderSurface, prepareFrame(false, true)); in TEST_F()
1008 EXPECT_CALL(*mRenderSurface, prepareFrame(true, false)); in TEST_F()
1039 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputPrepareFrameAsyncTest()
1044 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
1062 EXPECT_CALL(*mRenderSurface, prepareFrame(false, true)).Times(1); in TEST_F()
1086 EXPECT_CALL(*mRenderSurface, prepareFrame(false, true)).Times(2); in TEST_F()
1115 EXPECT_CALL(*mRenderSurface, prepareFrame(false, true)).Times(2); in TEST_F()
1147 EXPECT_CALL(*mRenderSurface, prepareFrame(false, true)).Times(2); in TEST_F()
2103 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputUpdateColorProfileTest()
2119 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
2765 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputBeginFrameTest()
2797 EXPECT_CALL(*getInstance()->mRenderSurface, beginFrame(mustRecompose)); in thenExpectRenderSurfaceBeginFrameCall()
2824 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
2926 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputDevOptRepaintFlashTest()
2934 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
2982 EXPECT_CALL(*mRenderSurface, queueBuffer(_, 1.f)); in TEST_F()
3015 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputFinishFrameTest()
3024 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
3056 EXPECT_CALL(*mRenderSurface, queueBuffer(_, 1.f)); in TEST_F()
3071 EXPECT_CALL(*mRenderSurface, queueBuffer(_, 1.f)); in TEST_F()
3099 EXPECT_CALL(*mRenderSurface, queueBuffer(_, 2.f)); in TEST_F()
3110 EXPECT_CALL(*mRenderSurface, queueBuffer(_, 1.f)); in TEST_F()
3133 EXPECT_CALL(*mRenderSurface, queueBuffer(_, 1.f)); in TEST_F()
3163 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputPostFramebufferTest()
3176 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
3219 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
3242 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
3260 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
3285 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
3330 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
3367 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
3394 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
3432 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
3484 EXPECT_CALL(*mRenderSurface, onPresentDisplayCompleted()); in TEST_F()
3535 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputComposeSurfacesTest()
3613 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
3655 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillOnce(Return(mOutputBuffer)); in TEST_F()
3665 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillOnce(Return(nullptr)); in TEST_F()
3678 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillOnce(Return(nullptr)); in TEST_F()
3693 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3724 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3758 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3787 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3817 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3855 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)) in TEST_F()
3898 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)) in TEST_F()
3939 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
3960 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in OutputComposeSurfacesTest_UsesExpectedDisplaySettings()
4039 EXPECT_CALL(*getInstance()->mRenderSurface, dequeueBuffer(_)) in withPixelFormat()
4364 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in OutputComposeSurfacesTest_HandlesProtectedContent()
4387 EXPECT_CALL(*mRenderSurface, isProtected).WillOnce(Return(true)); in TEST_F()
4388 EXPECT_CALL(*mRenderSurface, setProtected(false)); in TEST_F()
4410 EXPECT_CALL(*mRenderSurface, isProtected).WillOnce(Return(false)); in TEST_F()
4411 EXPECT_CALL(*mRenderSurface, setProtected(true)); in TEST_F()
4413 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in TEST_F()
4433 EXPECT_CALL(*mRenderSurface, isProtected).WillOnce(Return(true)); in TEST_F()
4451 EXPECT_CALL(*mRenderSurface, isProtected).WillOnce(Return(true)); in TEST_F()
4468 EXPECT_CALL(*mRenderSurface, dequeueBuffer(_)).WillRepeatedly(Return(mOutputBuffer)); in OutputComposeSurfacesTest_SetsExpensiveRendering()
4531 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in GenerateClientCompositionRequestsTest()
4537 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
5351 mOutput->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputPresentFrameAndReleaseLayersAsyncTest()
5357 mock::RenderSurface* mRenderSurface = new NiceMock<mock::RenderSurface>(); member
5402 mOutput.setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(mRenderSurface)); in OutputUpdateProtectedContentStateTest()
5423 mock::RenderSurface* mRenderSurface = new StrictMock<mock::RenderSurface>(); member
5441 EXPECT_CALL(*mRenderSurface, isProtected).WillOnce(Return(false)); in TEST_F()
5457 EXPECT_CALL(*mRenderSurface, isProtected).WillOnce(Return(false)); in TEST_F()
5458 EXPECT_CALL(*mRenderSurface, setProtected(true)); in TEST_F()