Lines Matching refs:frame

163     bool operator()(const FrameEvents& frame) {  in operator ()()
164 return frame.valid && mFrameNumber == frame.frameNumber; in operator ()()
179 auto frame = std::find_if( in getFrame() local
181 return frame == mFrames.end() ? nullptr : &(*frame); in getFrame()
187 auto frame = std::find_if( in getFrame() local
189 if (frame == mFrames.end()) { in getFrame()
190 frame = std::find_if( in getFrame()
192 if (frame == hint) { in getFrame()
196 *iHint = static_cast<size_t>(std::distance(mFrames.begin(), frame)); in getFrame()
197 return &(*frame); in getFrame()
201 for (auto& frame : mFrames) { in checkFencesForCompletion() local
202 frame.checkFencesForCompletion(); in checkFencesForCompletion()
222 for (auto frame = earliestFrame; frame != mFrames.end(); ++frame) { in dump() local
223 frame->dump(outString); in dump()
225 for (auto frame = mFrames.begin(); frame != earliestFrame; ++frame) { in dump() local
226 frame->dump(outString); in dump()
256 FrameEvents* frame = getFrame(frameNumber, &mAcquireOffset); in updateAcquireFence() local
257 if (frame == nullptr) { in updateAcquireFence()
264 frame->acquireFence = std::move(acquire); in updateAcquireFence()
268 frame->acquireFence = std::make_shared<FenceTime>(frame->postedTime); in updateAcquireFence()
283 FrameEvents& frame = mFrames[d.mIndex]; in applyDelta() local
285 frame.addPostCompositeCalled = d.mAddPostCompositeCalled != 0; in applyDelta()
286 frame.addReleaseCalled = d.mAddReleaseCalled != 0; in applyDelta()
288 frame.postedTime = d.mPostedTime; in applyDelta()
289 frame.requestedPresentTime = d.mRequestedPresentTime; in applyDelta()
290 frame.latchTime = d.mLatchTime; in applyDelta()
291 frame.firstRefreshStartTime = d.mFirstRefreshStartTime; in applyDelta()
292 frame.lastRefreshStartTime = d.mLastRefreshStartTime; in applyDelta()
293 frame.dequeueReadyTime = d.mDequeueReadyTime; in applyDelta()
295 if (frame.frameNumber != d.mFrameNumber) { in applyDelta()
297 frame.frameNumber = d.mFrameNumber; in applyDelta()
298 frame.acquireFence = FenceTime::NO_FENCE; in applyDelta()
299 frame.gpuCompositionDoneFence = FenceTime::NO_FENCE; in applyDelta()
300 frame.displayPresentFence = FenceTime::NO_FENCE; in applyDelta()
301 frame.releaseFence = FenceTime::NO_FENCE; in applyDelta()
303 frame.valid = true; in applyDelta()
307 &frame.gpuCompositionDoneFence, d.mGpuCompositionDoneFence); in applyDelta()
309 &frame.displayPresentFence, d.mDisplayPresentFence); in applyDelta()
311 &frame.releaseFence, d.mReleaseFence); in applyDelta()
397 FrameEvents* frame = getFrame(frameNumber, &mCompositionOffset); in addLatch() local
398 if (frame == nullptr) { in addLatch()
402 frame->latchTime = latchTime; in addLatch()
408 FrameEvents* frame = getFrame(frameNumber, &mCompositionOffset); in addPreComposition() local
409 if (frame == nullptr) { in addPreComposition()
414 frame->lastRefreshStartTime = refreshStartTime; in addPreComposition()
416 if (!FrameEvents::isValidTimestamp(frame->firstRefreshStartTime)) { in addPreComposition()
417 frame->firstRefreshStartTime = refreshStartTime; in addPreComposition()
428 FrameEvents* frame = getFrame(frameNumber, &mCompositionOffset); in addPostComposition() local
429 if (frame == nullptr) { in addPostComposition()
435 if (!frame->addPostCompositeCalled) { in addPostComposition()
436 frame->addPostCompositeCalled = true; in addPostComposition()
437 frame->gpuCompositionDoneFence = gpuCompositionDone; in addPostComposition()
439 if (!frame->displayPresentFence->isValid()) { in addPostComposition()
440 frame->displayPresentFence = displayPresent; in addPostComposition()
448 FrameEvents* frame = getFrame(frameNumber, &mReleaseOffset); in addRelease() local
449 if (frame == nullptr) { in addRelease()
453 frame->addReleaseCalled = true; in addRelease()
454 frame->dequeueReadyTime = dequeueReadyTime; in addRelease()
455 frame->releaseFence = std::move(release); in addRelease()
460 const std::vector<FrameEvents>::iterator& frame) { in getFrameDelta() argument
462 size_t i = static_cast<size_t>(std::distance(mFrames.begin(), frame)); in getFrameDelta()
468 delta->mDeltas.emplace_back(i, *frame, mFramesDirty[i]); in getFrameDelta()
484 for (auto frame = earliestFrame; frame != mFrames.end(); ++frame) { in getAndResetDelta() local
485 getFrameDelta(delta, frame); in getAndResetDelta()
487 for (auto frame = mFrames.begin(); frame != earliestFrame; ++frame) { in getAndResetDelta() local
488 getFrameDelta(delta, frame); in getAndResetDelta()