Lines Matching refs:rt
116 RenderThread* rt = reinterpret_cast<RenderThread*>(data); in frameCallback() local
117 int64_t vsyncId = AChoreographer_getVsyncId(rt->mChoreographer); in frameCallback()
118 int64_t frameDeadline = AChoreographer_getFrameDeadline(rt->mChoreographer); in frameCallback()
119 int64_t frameInterval = AChoreographer_getFrameInterval(rt->mChoreographer); in frameCallback()
120 rt->mVsyncRequested = false; in frameCallback()
121 if (rt->timeLord().vsyncReceived(frameTimeNanos, frameTimeNanos, vsyncId, frameDeadline, in frameCallback()
122 frameInterval) && !rt->mFrameCallbackTaskPending) { in frameCallback()
124 rt->mFrameCallbackTaskPending = true; in frameCallback()
125 nsecs_t runAt = (frameTimeNanos + rt->mDispatchFrameDelay); in frameCallback()
126 rt->queue().postAt(runAt, [=]() { rt->dispatchFrameCallbacks(); }); in frameCallback()
132 RenderThread* rt = reinterpret_cast<RenderThread*>(data); in refreshRateCallback() local
134 rt->setupFrameInterval(); in refreshRateCallback()
381 RenderThread* rt = reinterpret_cast<RenderThread*>(data); in choreographerCallback() local
382 AChoreographer_handlePendingEvents(rt->mChoreographer, data); in choreographerCallback()