Searched defs:renderSurface (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/cmds/stagefright/
H A Dcodec.cpp76 bool renderSurface,
269 if (surface == NULL || !renderSurface) {
345 bool renderSurface = false; local
373 renderSurface = true;
453 decode(looper, argv[0], useAudio, useVideo, surface, renderSurface,
70 decode( const android::sp<android::ALooper> &looper, const char *path, bool useAudio, bool useVideo, const android::sp<android::Surface> &surface, bool renderSurface, bool useTimestamp) argument
H A Dmediafilter.cpp254 const sp<Surface> &surface, bool renderSurface,
275 if (surface == NULL || !renderSurface) {
316 bool renderSurface,
632 filterState, surface, renderSurface,
642 filterState, surface, renderSurface,
669 bool renderSurface = false; local
713 renderSurface = true;
776 decode(looper, argv[0], surface, renderSurface, useTimestamp, filterType);
252 tryDrainOutputBuffer( CodecState *filterState, const sp<Surface> &surface, bool renderSurface, bool useTimestamp, int64_t *startTimeRender) argument
312 decode( const sp<ALooper> &looper, const char *path, const sp<Surface> &surface, bool renderSurface, bool useTimestamp, FilterType filterType) argument
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp224 std::unique_ptr<RE::Surface> renderSurface,
239 mSurface{std::move(renderSurface)},
216 DisplayDevice( const sp<SurfaceFlinger>& flinger, DisplayType type, int32_t hwcId, bool isSecure, const wp<IBinder>& displayToken, const sp<ANativeWindow>& nativeWindow, const sp<DisplaySurface>& displaySurface, std::unique_ptr<RE::Surface> renderSurface, int displayWidth, int displayHeight, bool hasWideColorGamut, const HdrCapabilities& hdrCapabilities, const int32_t supportedPerFrameMetadata, const std::unordered_map<ColorMode, std::vector<RenderIntent>>& hwcColorModes, int initialPowerMode) argument
H A DSurfaceFlinger.cpp2299 std::unique_ptr<RE::Surface> renderSurface = getRenderEngine().createSurface(); local
2300 renderSurface->setCritical(state.type == DisplayDevice::DISPLAY_PRIMARY);
2301 renderSurface->setAsync(state.type >= DisplayDevice::DISPLAY_VIRTUAL);
2302 renderSurface->setNativeWindow(nativeWindow.get());
2303 const int displayWidth = renderSurface->queryWidth();
2304 const int displayHeight = renderSurface->queryHeight();
2323 dispSurface, std::move(renderSurface), displayWidth, displayHeight,
/frameworks/native/services/surfaceflinger/tests/unittests/
H A DTestableSurfaceFlinger.h289 auto& setRenderSurface(std::unique_ptr<RE::Surface> renderSurface) { argument
290 mRenderSurface = std::move(renderSurface);
H A DDisplayTransactionTest.cpp1713 auto renderSurface = new RE::mock::Surface(); local
1717 display.setRenderSurface(std::unique_ptr<RE::Surface>(renderSurface));
1729 EXPECT_CALL(*renderSurface, setNativeWindow(nullptr)).Times(1);
1731 EXPECT_CALL(*renderSurface, setNativeWindow(nativeWindow)).Times(1);
1732 EXPECT_CALL(*renderSurface, queryWidth()).WillOnce(Return(newWidth));
1733 EXPECT_CALL(*renderSurface, queryHeight()).WillOnce(Return(oldHeight));
1754 auto renderSurface = new RE::mock::Surface(); local
1758 display.setRenderSurface(std::unique_ptr<RE::Surface>(renderSurface));
1770 EXPECT_CALL(*renderSurface, setNativeWindow(nullptr)).Times(1);
1772 EXPECT_CALL(*renderSurface, setNativeWindo
[all...]

Completed in 193 milliseconds