Home
last modified time | relevance | path

Searched refs:FrameEvents (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/gui/
DFrameTimestamps.cpp38 bool FrameEvents::hasPostedInfo() const { in hasPostedInfo()
39 return FrameEvents::isValidTimestamp(postedTime); in hasPostedInfo()
42 bool FrameEvents::hasRequestedPresentInfo() const { in hasRequestedPresentInfo()
43 return FrameEvents::isValidTimestamp(requestedPresentTime); in hasRequestedPresentInfo()
46 bool FrameEvents::hasLatchInfo() const { in hasLatchInfo()
47 return FrameEvents::isValidTimestamp(latchTime); in hasLatchInfo()
50 bool FrameEvents::hasFirstRefreshStartInfo() const { in hasFirstRefreshStartInfo()
51 return FrameEvents::isValidTimestamp(firstRefreshStartTime); in hasFirstRefreshStartInfo()
54 bool FrameEvents::hasLastRefreshStartInfo() const { in hasLastRefreshStartInfo()
60 bool FrameEvents::hasDequeueReadyInfo() const { in hasDequeueReadyInfo()
[all …]
DSurface.cpp206 const FrameEvents* e, const uint64_t lastFrameNumber, in checkConsumerForUpdates()
241 *dst = (src == FrameEvents::TIMESTAMP_PENDING) ? in getFrameTimestamp()
283 FrameEvents* events = mFrameEventHistory->getFrame(frameNumber); in getFrameTimestamps()
/frameworks/native/libs/gui/include/gui/
DFrameTimestamps.h31 struct FrameEvents;
52 struct FrameEvents { struct
111 FrameEvents* getFrame(uint64_t frameNumber);
112 FrameEvents* getFrame(uint64_t frameNumber, size_t* iHint);
119 std::array<FrameEvents, MAX_FRAME_HISTORY> mFrames;
188 static_assert(eventIndex < FrameEvents::EVENT_COUNT, "Bad index."); in setDirty()
195 static_assert(eventIndex < FrameEvents::EVENT_COUNT, "Bad index."); in isDirty()
200 std::bitset<FrameEvents::EVENT_COUNT> mBitset;
227 const std::array<FrameEvents, MAX_FRAME_HISTORY>::iterator& frame);
249 const FrameEvents& frameTimestamps,
[all …]
/frameworks/native/libs/gui/tests/
DSurface_test.cpp823 struct FrameEvents { struct in android::GetFrameTimestampsTest
824 FrameEvents(FenceToFenceTimeMap& fenceMap, nsecs_t frameStartTime) in FrameEvents() function
936 FrameEvents* frame = &mFrames[frameIndex]; in dequeueAndQueue()
961 FrameEvents* oldFrame = in addFrameEvents()
963 FrameEvents* newFrame = &mFrames[iNewFrame]; in addFrameEvents()
1033 FrameEvents mFrames[3] {