Home
last modified time | relevance | path

Searched refs:renderSurface (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp385 mock::RenderSurface* renderSurface = new StrictMock<mock::RenderSurface>(); in TEST_F() local
386 mDisplay->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(renderSurface)); in TEST_F()
409 EXPECT_CALL(*renderSurface, setBufferDataspace(ui::Dataspace::DISPLAY_P3)).Times(1); in TEST_F()
814 mock::RenderSurface* renderSurface = new StrictMock<mock::RenderSurface>(); in TEST_F() local
815 mDisplay->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(renderSurface)); in TEST_F()
817 EXPECT_CALL(*renderSurface, setBufferPixelFormat(clientTargetProperty.pixelFormat)); in TEST_F()
818 EXPECT_CALL(*renderSurface, setBufferDataspace(clientTargetProperty.dataspace)); in TEST_F()
891 mock::RenderSurface* renderSurface = new StrictMock<mock::RenderSurface>(); in TEST_F() local
892 mDisplay->setRenderSurfaceForTest(std::unique_ptr<RenderSurface>(renderSurface)); in TEST_F()
895 EXPECT_CALL(*renderSurface, queueBuffer(_)).Times(1); in TEST_F()
[all …]
DOutputTest.cpp558 mock::RenderSurface* renderSurface = new StrictMock<mock::RenderSurface>(); in TEST_F() local
559 EXPECT_CALL(*renderSurface, getSize()).WillOnce(ReturnRef(newDisplaySize)); in TEST_F()
561 mOutput->setRenderSurface(std::unique_ptr<RenderSurface>(renderSurface)); in TEST_F()
/frameworks/av/cmds/stagefright/
Dcodec.cpp76 bool renderSurface, in decode() argument
269 if (surface == NULL || !renderSurface) { in decode()
345 bool renderSurface = false; in main() local
373 renderSurface = true; in main()
456 decode(looper, argv[0], useAudio, useVideo, surface, renderSurface, in main()
Dmediafilter.cpp254 const sp<Surface> &surface, bool renderSurface, in tryDrainOutputBuffer() argument
275 if (surface == NULL || !renderSurface) { in tryDrainOutputBuffer()
316 bool renderSurface, in decode() argument
633 filterState, surface, renderSurface, in decode()
643 filterState, surface, renderSurface, in decode()
670 bool renderSurface = false; in main() local
714 renderSurface = true; in main()
780 decode(looper, argv[0], surface, renderSurface, useTimestamp, filterType); in main()