Home
last modified time | relevance | path

Searched refs:mNativeSurface (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp211 mNativeSurface = std::make_unique<ReliableSurface>(window); in setSurface()
212 mNativeSurface->init(); in setSurface()
218 mNativeSurface = nullptr; in setSurface()
249 mNativeSurface ? mNativeSurface->getNativeWindow() : nullptr, mSwapBehavior); in setupPipelineSurface()
251 if (mNativeSurface && !mNativeSurface->didSetExtraBuffers()) { in setupPipelineSurface()
252 setBufferCount(mNativeSurface->getNativeWindow()); in setupPipelineSurface()
257 if (mNativeSurface != nullptr && hasSurface) { in setupPipelineSurface()
263 native_window_enable_frame_timestamps(mNativeSurface->getNativeWindow(), true); in setupPipelineSurface()
264 native_window_set_scaling_mode(mNativeSurface->getNativeWindow(), in setupPipelineSurface()
296 if (mNativeSurface && Properties::isDrawingEnabled()) { in allocateBuffers()
[all …]
DCanvasContext.h136 bool hasOutputTarget() const { return mNativeSurface.get() || mHardwareBuffer; } in hasOutputTarget()
286 std::unique_ptr<ReliableSurface> mNativeSurface; variable