Searched refs:FrameInfoIndex (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/hwui/ |
D | FrameInfo.h | 32 enum class FrameInfoIndex { enum 77 set(FrameInfoIndex::Vsync) = vsyncTime; in setVsync() 78 set(FrameInfoIndex::IntendedVsync) = intendedVsync; in setVsync() 81 set(FrameInfoIndex::HandleInputStart) = vsyncTime; in setVsync() 82 set(FrameInfoIndex::AnimationStart) = vsyncTime; in setVsync() 83 set(FrameInfoIndex::PerformTraversalsStart) = vsyncTime; in setVsync() 84 set(FrameInfoIndex::DrawStart) = vsyncTime; in setVsync() 89 set(FrameInfoIndex::Flags) |= static_cast<uint64_t>(frameInfoFlag); in addFlag() 94 inline int64_t& set(FrameInfoIndex index) { return mBuffer[static_cast<int>(index)]; } in set() 103 void markSyncStart() { set(FrameInfoIndex::SyncStart) = systemTime(CLOCK_MONOTONIC); } in markSyncStart() [all …]
|
D | JankTracker.cpp | 43 FrameInfoIndex start; 44 FrameInfoIndex end; 48 Comparison{JankType::kMissedVsync, [](nsecs_t) { return 1; }, FrameInfoIndex::IntendedVsync, in __anonf38a02a80102() 49 FrameInfoIndex::Vsync}, in __anonf38a02a80102() 53 FrameInfoIndex::Vsync, FrameInfoIndex::SyncStart}, 57 FrameInfoIndex::SyncStart, FrameInfoIndex::IssueDrawCommandsStart}, 61 FrameInfoIndex::IssueDrawCommandsStart, FrameInfoIndex::FrameCompleted}, 80 static FrameInfoIndex sFrameStart = FrameInfoIndex::IntendedVsync; 111 int64_t totalDuration = frame.duration(sFrameStart, FrameInfoIndex::FrameCompleted); in finishFrame() 112 if (mDequeueTimeForgiveness && frame[FrameInfoIndex::DequeueBufferDuration] > 500_us) { in finishFrame() [all …]
|
D | FrameInfoVisualizer.cpp | 50 FrameInfoIndex start; 51 FrameInfoIndex end; 56 {FrameInfoIndex::IntendedVsync, FrameInfoIndex::HandleInputStart, Color::Teal_700}, 57 {FrameInfoIndex::HandleInputStart, FrameInfoIndex::PerformTraversalsStart, 59 {FrameInfoIndex::PerformTraversalsStart, FrameInfoIndex::DrawStart, Color::LightGreen_700}, 60 {FrameInfoIndex::DrawStart, FrameInfoIndex::SyncStart, Color::Blue_500}, 61 {FrameInfoIndex::SyncStart, FrameInfoIndex::IssueDrawCommandsStart, Color::LightBlue_300}, 62 {FrameInfoIndex::IssueDrawCommandsStart, FrameInfoIndex::SwapBuffers, Color::Red_500}, 63 {FrameInfoIndex::SwapBuffers, FrameInfoIndex::FrameCompleted, Color::Orange_500}, 151 if (mFrameSource[fi][FrameInfoIndex::Flags] & FrameInfoFlags::SkippedFrame) { in initializeRects() [all …]
|
D | FrameInfoVisualizer.h | 58 void nextBarSegment(FrameInfoIndex start, FrameInfoIndex end); 62 inline float durationMS(size_t index, FrameInfoIndex start, FrameInfoIndex end) { in durationMS()
|
D | FrameInfo.cpp | 43 static_cast<int>(FrameInfoIndex::NumIndexes), 46 static_assert(static_cast<int>(FrameInfoIndex::NumIndexes) == 16,
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.cpp | 248 return info && ((*info)[FrameInfoIndex::Flags] & FrameInfoFlags::SkippedFrame); in wasSkipped() 301 mCurrentFrameInfo->set(FrameInfoIndex::SyncQueued) = syncQueued; in prepareTree() 424 presentTime = mCurrentFrameInfo->get(FrameInfoIndex::Vsync) + in setPresentTime() 471 if (dequeueStart < mCurrentFrameInfo->get(FrameInfoIndex::SyncStart)) { in draw() 485 mCurrentFrameInfo->set(FrameInfoIndex::DequeueBufferDuration) = swap.dequeueDuration; in draw() 486 mCurrentFrameInfo->set(FrameInfoIndex::QueueBufferDuration) = swap.queueDuration; in draw() 490 mCurrentFrameInfo->set(FrameInfoIndex::DequeueBufferDuration) = 0; in draw() 491 mCurrentFrameInfo->set(FrameInfoIndex::QueueBufferDuration) = 0; in draw() 498 float thisFrame = mCurrentFrameInfo->duration(FrameInfoIndex::IssueDrawCommandsStart, in draw() 499 FrameInfoIndex::FrameCompleted) / in draw()
|
D | DrawFrameTask.cpp | 130 int64_t vsync = mFrameInfo[static_cast<int>(FrameInfoIndex::Vsync)]; in syncFrameState()
|
/frameworks/base/core/jni/ |
D | android_view_ThreadedRenderer.cpp | 548 static const int kBufferSize = static_cast<int>(FrameInfoIndex::NumIndexes);
|