Home
last modified time | relevance | path

Searched refs:FrameInfoIndex (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/
DFrameInfo.h32 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) { in set()
106 set(FrameInfoIndex::SyncStart) = systemTime(CLOCK_MONOTONIC); in markSyncStart()
[all …]
DFrameInfoVisualizer.cpp46 FrameInfoIndex start;
47 FrameInfoIndex end;
52 { FrameInfoIndex::IntendedVsync, FrameInfoIndex::HandleInputStart, Color::Teal_700 },
53 { FrameInfoIndex::HandleInputStart, FrameInfoIndex::PerformTraversalsStart, Color::Green_700 },
54 { FrameInfoIndex::PerformTraversalsStart, FrameInfoIndex::DrawStart, Color::LightGreen_700 },
55 { FrameInfoIndex::DrawStart, FrameInfoIndex::SyncStart, Color::Blue_500 },
56 { FrameInfoIndex::SyncStart, FrameInfoIndex::IssueDrawCommandsStart, Color::LightBlue_300 },
57 { FrameInfoIndex::IssueDrawCommandsStart, FrameInfoIndex::SwapBuffers, Color::Red_500},
58 { FrameInfoIndex::SwapBuffers, FrameInfoIndex::FrameCompleted, Color::Orange_500},
142 if (mFrameSource[fi][FrameInfoIndex::Flags] & FrameInfoFlags::SkippedFrame) { in initializeRects()
[all …]
DJankTracker.cpp46 FrameInfoIndex start;
47 FrameInfoIndex end;
51 {FrameInfoIndex::IntendedVsync, FrameInfoIndex::Vsync},
52 {FrameInfoIndex::OldestInputEvent, FrameInfoIndex::Vsync},
53 {FrameInfoIndex::Vsync, FrameInfoIndex::SyncStart},
54 {FrameInfoIndex::SyncStart, FrameInfoIndex::IssueDrawCommandsStart},
55 {FrameInfoIndex::IssueDrawCommandsStart, FrameInfoIndex::FrameCompleted},
82 static FrameInfoIndex sFrameStart = FrameInfoIndex::IntendedVsync;
256 int64_t totalDuration = frame.duration(sFrameStart, FrameInfoIndex::FrameCompleted); in addFrame()
258 && frame[FrameInfoIndex::DequeueBufferDuration] > 500_us) { in addFrame()
[all …]
DFrameInfoVisualizer.h58 void nextBarSegment(FrameInfoIndex start, FrameInfoIndex end);
62 inline float durationMS(size_t index, FrameInfoIndex start, FrameInfoIndex end) { in durationMS()
DFrameInfo.cpp43 == static_cast<int>(FrameInfoIndex::NumIndexes),
46 static_assert(static_cast<int>(FrameInfoIndex::NumIndexes) == 16,
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp267 return info && ((*info)[FrameInfoIndex::Flags] & FrameInfoFlags::SkippedFrame); in wasSkipped()
322 mCurrentFrameInfo->set(FrameInfoIndex::SyncQueued) = syncQueued; in prepareTree()
440 if (dequeueStart < mCurrentFrameInfo->get(FrameInfoIndex::SyncStart)) { in draw()
454 mCurrentFrameInfo->set(FrameInfoIndex::DequeueBufferDuration) in draw()
456 mCurrentFrameInfo->set(FrameInfoIndex::QueueBufferDuration) in draw()
461 mCurrentFrameInfo->set(FrameInfoIndex::DequeueBufferDuration) = 0; in draw()
462 mCurrentFrameInfo->set(FrameInfoIndex::QueueBufferDuration) = 0; in draw()
470 FrameInfoIndex::IssueDrawCommandsStart, in draw()
471 FrameInfoIndex::FrameCompleted) / NANOS_PER_MILLIS_F; in draw()
603 for (size_t i = 0; i < static_cast<size_t>(FrameInfoIndex::NumIndexes); i++) { in dumpFrames()
[all …]
DDrawFrameTask.cpp117 int64_t vsync = mFrameInfo[static_cast<int>(FrameInfoIndex::Vsync)]; in syncFrameState()
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp541 static const int kBufferSize = static_cast<int>(FrameInfoIndex::NumIndexes);