Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp177 mNativeSurface = std::make_unique<ReliableSurface>(window); in setSurface()
178 mNativeSurface->init(); in setSurface()
184 mNativeSurface = nullptr; in setSurface()
214 mNativeSurface ? mNativeSurface->getNativeWindow() : nullptr, mSwapBehavior); in setupPipelineSurface()
216 if (mNativeSurface && !mNativeSurface->didSetExtraBuffers()) { in setupPipelineSurface()
217 setBufferCount(mNativeSurface->getNativeWindow()); in setupPipelineSurface()
223 if (mNativeSurface != nullptr && hasSurface) { in setupPipelineSurface()
229 native_window_enable_frame_timestamps(mNativeSurface->getNativeWindow(), true); in setupPipelineSurface()
259 if (mNativeSurface) { in allocateBuffers()
260 ANativeWindow_tryAllocateBuffers(mNativeSurface->getNativeWindow()); in allocateBuffers()
[all …]
DCanvasContext.h122 bool hasSurface() const { return mNativeSurface.get(); } in hasSurface()
256 std::unique_ptr<ReliableSurface> mNativeSurface; variable