Searched refs:FrameInfoIndex (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/hwui/ |
D | FrameInfo.h | 32 enum class FrameInfoIndex { enum 73 set(FrameInfoIndex::Vsync) = vsyncTime; in setVsync() 74 set(FrameInfoIndex::IntendedVsync) = intendedVsync; in setVsync() 77 set(FrameInfoIndex::HandleInputStart) = vsyncTime; in setVsync() 78 set(FrameInfoIndex::AnimationStart) = vsyncTime; in setVsync() 79 set(FrameInfoIndex::PerformTraversalsStart) = vsyncTime; in setVsync() 80 set(FrameInfoIndex::DrawStart) = vsyncTime; in setVsync() 85 set(FrameInfoIndex::Flags) |= static_cast<uint64_t>(frameInfoFlag); in addFlag() 90 inline int64_t& set(FrameInfoIndex index) { in set() 102 set(FrameInfoIndex::SyncStart) = systemTime(CLOCK_MONOTONIC); in markSyncStart() [all …]
|
D | FrameInfoVisualizer.cpp | 49 FrameInfoIndex start; 50 FrameInfoIndex end; 55 { FrameInfoIndex::IntendedVsync, FrameInfoIndex::HandleInputStart, Color::Teal_700 }, 56 { FrameInfoIndex::HandleInputStart, FrameInfoIndex::PerformTraversalsStart, Color::Green_700 }, 57 { FrameInfoIndex::PerformTraversalsStart, FrameInfoIndex::DrawStart, Color::LightGreen_700 }, 58 { FrameInfoIndex::DrawStart, FrameInfoIndex::SyncStart, Color::Blue_500 }, 59 { FrameInfoIndex::SyncStart, FrameInfoIndex::IssueDrawCommandsStart, Color::LightBlue_300 }, 60 { FrameInfoIndex::IssueDrawCommandsStart, FrameInfoIndex::SwapBuffers, Color::Red_500}, 61 { FrameInfoIndex::SwapBuffers, FrameInfoIndex::FrameCompleted, Color::Orange_500}, 145 if (mFrameSource[fi][FrameInfoIndex::Flags] & FrameInfoFlags::SkippedFrame) { in initializeRects() [all …]
|
D | JankTracker.cpp | 42 FrameInfoIndex start; 43 FrameInfoIndex end; 47 {FrameInfoIndex::IntendedVsync, FrameInfoIndex::Vsync}, 48 {FrameInfoIndex::OldestInputEvent, FrameInfoIndex::Vsync}, 49 {FrameInfoIndex::Vsync, FrameInfoIndex::SyncStart}, 50 {FrameInfoIndex::SyncStart, FrameInfoIndex::IssueDrawCommandsStart}, 51 {FrameInfoIndex::IssueDrawCommandsStart, FrameInfoIndex::FrameCompleted}, 78 static FrameInfoIndex sFrameStart = FrameInfoIndex::IntendedVsync; 215 int64_t totalDuration = frame.duration(sFrameStart, FrameInfoIndex::FrameCompleted); in addFrame() 224 if (frame[FrameInfoIndex::Flags] & EXEMPT_FRAMES_FLAGS) { in addFrame() [all …]
|
D | FrameInfoVisualizer.h | 64 void nextBarSegment(FrameInfoIndex start, FrameInfoIndex end); 68 inline float durationMS(size_t index, FrameInfoIndex start, FrameInfoIndex end) { in durationMS()
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.cpp | 198 return info && ((*info)[FrameInfoIndex::Flags] & FrameInfoFlags::SkippedFrame); in wasSkipped() 211 mCurrentFrameInfo->set(FrameInfoIndex::SyncQueued) = syncQueued; in prepareTree() 529 FrameInfoIndex::IssueDrawCommandsStart, in draw() 530 FrameInfoIndex::FrameCompleted) / NANOS_PER_MILLIS_F; in draw() 701 for (size_t i = 0; i < static_cast<size_t>(FrameInfoIndex::NumIndexes); i++) { in dumpFrames() 707 if (frame[FrameInfoIndex::SyncStart] == 0) { in dumpFrames() 711 for (int i = 0; i < static_cast<int>(FrameInfoIndex::NumIndexes); i++) { in dumpFrames()
|
D | DrawFrameTask.cpp | 116 int64_t vsync = mFrameInfo[static_cast<int>(FrameInfoIndex::Vsync)]; in syncFrameState()
|
/frameworks/base/core/jni/ |
D | android_view_ThreadedRenderer.cpp | 354 static const int kBufferSize = static_cast<int>(FrameInfoIndex::NumIndexes);
|