Lines Matching refs:renderSurface
401 mock::RenderSurface* renderSurface = new StrictMock<mock::RenderSurface>(); in TEST_F() local
402 mDisplay->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(renderSurface)); in TEST_F()
420 EXPECT_CALL(*renderSurface, setBufferDataspace(ui::Dataspace::DISPLAY_P3)).Times(1); in TEST_F()
639 mock::RenderSurface* renderSurface = new StrictMock<mock::RenderSurface>(); in TEST_F() local
640 EXPECT_CALL(*renderSurface, beginFrame(_)).Times(1); in TEST_F()
641 mDisplay->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(renderSurface)); in TEST_F()
850 mock::RenderSurface* renderSurface = new StrictMock<mock::RenderSurface>(); in TEST_F() local
851 mDisplay->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(renderSurface)); in TEST_F()
853 EXPECT_CALL(*renderSurface, in TEST_F()
856 EXPECT_CALL(*renderSurface, in TEST_F()
935 mock::RenderSurface* renderSurface = new StrictMock<mock::RenderSurface>(); in TEST_F() local
936 mDisplay->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(renderSurface)); in TEST_F()
939 EXPECT_CALL(*renderSurface, queueBuffer(_, _)).Times(1); in TEST_F()
956 mock::RenderSurface* renderSurface = new StrictMock<mock::RenderSurface>(); in TEST_F() local
957 gpuDisplay->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(renderSurface)); in TEST_F()
960 EXPECT_CALL(*renderSurface, queueBuffer(_, _)).Times(0); in TEST_F()
961 EXPECT_CALL(*renderSurface, beginFrame(false)); in TEST_F()
977 mock::RenderSurface* renderSurface = new StrictMock<mock::RenderSurface>(); in TEST_F() local
978 gpuDisplay->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(renderSurface)); in TEST_F()
981 EXPECT_CALL(*renderSurface, queueBuffer(_, _)).Times(0); in TEST_F()
982 EXPECT_CALL(*renderSurface, beginFrame(false)); in TEST_F()
998 mock::RenderSurface* renderSurface = new StrictMock<mock::RenderSurface>(); in TEST_F() local
999 gpuDisplay->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(renderSurface)); in TEST_F()
1002 EXPECT_CALL(*renderSurface, queueBuffer(_, _)).Times(1); in TEST_F()
1003 EXPECT_CALL(*renderSurface, beginFrame(true)); in TEST_F()