Lines Matching refs:mNativeSurface
150 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()
479 mNativeSurface->query(NATIVE_WINDOW_LAST_DEQUEUE_DURATION, &durationUs); in draw()
482 mNativeSurface->query(NATIVE_WINDOW_LAST_QUEUE_DURATION, &durationUs); in draw()
537 ReliableSurface* surface = mNativeSurface.get(); in getNextFrameSize()
662 if (mFrameNumber == -1 && mNativeSurface.get()) { in getFrameNumber()
663 mFrameNumber = static_cast<int64_t>(mNativeSurface->getNextFrameNumber()); in getFrameNumber()
669 if (!mNativeSurface) return false; in surfaceRequiresRedraw()
674 ReliableSurface* surface = mNativeSurface.get(); in surfaceRequiresRedraw()
682 if (renderAhead > 2 || renderAhead < 0 || mNativeSurface) { in setRenderAheadDepth()