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()
151 mNativeSurface->setDequeueTimeout(500_ms); in setSurface()
153 mNativeSurface = nullptr; in setSurface()
165 bool hasSurface = mRenderPipeline->setSurface(mNativeSurface.get(), mSwapBehavior, colorMode, in setSurface()
202 if (mNativeSurface) { in allocateBuffers()
203 mNativeSurface->allocateBuffers(); in allocateBuffers()
356 int err = mNativeSurface->reserveNext(); in prepareTree()
427 native_window_set_buffers_timestamp(mNativeSurface.get(), presentTime); in setPresentTime()
468 if (mNativeSurface.get()) { in draw()
470 nsecs_t dequeueStart = mNativeSurface->getLastDequeueStartTime(); in draw()
[all …]
DCanvasContext.h116 bool hasSurface() const { return mNativeSurface.get(); } in hasSurface()
223 sp<ReliableSurface> mNativeSurface; variable