Home
last modified time | relevance | path

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

/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()
453 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
632 filterState, surface, renderSurface, in decode()
642 filterState, surface, renderSurface, in decode()
669 bool renderSurface = false; in main() local
713 renderSurface = true; in main()
776 decode(looper, argv[0], surface, renderSurface, useTimestamp, filterType); in main()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp1713 auto renderSurface = new RE::mock::Surface(); in TEST_F() local
1717 display.setRenderSurface(std::unique_ptr<RE::Surface>(renderSurface)); in TEST_F()
1729 EXPECT_CALL(*renderSurface, setNativeWindow(nullptr)).Times(1); in TEST_F()
1731 EXPECT_CALL(*renderSurface, setNativeWindow(nativeWindow)).Times(1); in TEST_F()
1732 EXPECT_CALL(*renderSurface, queryWidth()).WillOnce(Return(newWidth)); in TEST_F()
1733 EXPECT_CALL(*renderSurface, queryHeight()).WillOnce(Return(oldHeight)); in TEST_F()
1754 auto renderSurface = new RE::mock::Surface(); in TEST_F() local
1758 display.setRenderSurface(std::unique_ptr<RE::Surface>(renderSurface)); in TEST_F()
1770 EXPECT_CALL(*renderSurface, setNativeWindow(nullptr)).Times(1); in TEST_F()
1772 EXPECT_CALL(*renderSurface, setNativeWindow(nativeWindow)).Times(1); in TEST_F()
[all …]
DTestableSurfaceFlinger.h289 auto& setRenderSurface(std::unique_ptr<RE::Surface> renderSurface) { in setRenderSurface() argument
290 mRenderSurface = std::move(renderSurface); in setRenderSurface()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp224 std::unique_ptr<RE::Surface> renderSurface, in DisplayDevice() argument
239 mSurface{std::move(renderSurface)}, in DisplayDevice()
DDisplayDevice.h88 std::unique_ptr<RE::Surface> renderSurface,
DSurfaceFlinger.cpp2299 std::unique_ptr<RE::Surface> renderSurface = getRenderEngine().createSurface(); in setupNewDisplayDeviceInternal() local
2300 renderSurface->setCritical(state.type == DisplayDevice::DISPLAY_PRIMARY); in setupNewDisplayDeviceInternal()
2301 renderSurface->setAsync(state.type >= DisplayDevice::DISPLAY_VIRTUAL); in setupNewDisplayDeviceInternal()
2302 renderSurface->setNativeWindow(nativeWindow.get()); in setupNewDisplayDeviceInternal()
2303 const int displayWidth = renderSurface->queryWidth(); in setupNewDisplayDeviceInternal()
2304 const int displayHeight = renderSurface->queryHeight(); in setupNewDisplayDeviceInternal()
2323 dispSurface, std::move(renderSurface), displayWidth, displayHeight, in setupNewDisplayDeviceInternal()