Lines Matching refs:mNativeSurface
150 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()
476 mNativeSurface->query(NATIVE_WINDOW_LAST_DEQUEUE_DURATION, &durationUs); in draw()
479 mNativeSurface->query(NATIVE_WINDOW_LAST_QUEUE_DURATION, &durationUs); in draw()
534 ReliableSurface* surface = mNativeSurface.get(); in getNextFrameSize()
659 if (mFrameNumber == -1 && mNativeSurface.get()) { in getFrameNumber()
660 mFrameNumber = static_cast<int64_t>(mNativeSurface->getNextFrameNumber()); in getFrameNumber()
666 if (!mNativeSurface) return false; in surfaceRequiresRedraw()
671 ReliableSurface* surface = mNativeSurface.get(); in surfaceRequiresRedraw()
679 if (renderAhead > 2 || renderAhead < 0 || mNativeSurface) { in setRenderAheadDepth()