Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp150 mNativeSurface = new ReliableSurface{std::move(surface)}; in setSurface()
153 mNativeSurface->setDequeueTimeout(4000_ms); in setSurface()
156 mNativeSurface = nullptr; in setSurface()
168 bool hasSurface = mRenderPipeline->setSurface(mNativeSurface.get(), mSwapBehavior, colorMode, in setSurface()
205 if (mNativeSurface) { in allocateBuffers()
206 mNativeSurface->allocateBuffers(); in allocateBuffers()
359 int err = mNativeSurface->reserveNext(); in prepareTree()
430 native_window_set_buffers_timestamp(mNativeSurface.get(), presentTime); in setPresentTime()
471 if (mNativeSurface.get()) { in draw()
473 nsecs_t dequeueStart = mNativeSurface->getLastDequeueStartTime(); in draw()
[all …]
DCanvasContext.h116 bool hasSurface() const { return mNativeSurface.get(); } in hasSurface()
223 sp<ReliableSurface> mNativeSurface; variable