Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DFrameTimestamps.cpp37 bool FrameEvents::hasPostedInfo() const { in hasPostedInfo()
38 return FrameEvents::isValidTimestamp(postedTime); in hasPostedInfo()
41 bool FrameEvents::hasRequestedPresentInfo() const { in hasRequestedPresentInfo()
42 return FrameEvents::isValidTimestamp(requestedPresentTime); in hasRequestedPresentInfo()
45 bool FrameEvents::hasLatchInfo() const { in hasLatchInfo()
46 return FrameEvents::isValidTimestamp(latchTime); in hasLatchInfo()
49 bool FrameEvents::hasFirstRefreshStartInfo() const { in hasFirstRefreshStartInfo()
50 return FrameEvents::isValidTimestamp(firstRefreshStartTime); in hasFirstRefreshStartInfo()
53 bool FrameEvents::hasLastRefreshStartInfo() const { in hasLastRefreshStartInfo()
59 bool FrameEvents::hasDequeueReadyInfo() const { in hasDequeueReadyInfo()
[all …]
DSurface.cpp204 const FrameEvents* e, const uint64_t lastFrameNumber, in checkConsumerForUpdates()
239 *dst = (src == FrameEvents::TIMESTAMP_PENDING) ? in getFrameTimestamp()
281 FrameEvents* events = mFrameEventHistory->getFrame(frameNumber); in getFrameTimestamps()
/frameworks/native/libs/gui/include/gui/
DFrameTimestamps.h31 struct FrameEvents;
53 struct FrameEvents { struct
112 FrameEvents* getFrame(uint64_t frameNumber);
113 FrameEvents* getFrame(uint64_t frameNumber, size_t* iHint);
120 std::array<FrameEvents, MAX_FRAME_HISTORY> mFrames;
189 static_assert(eventIndex < FrameEvents::EVENT_COUNT, "Bad index."); in setDirty()
196 static_assert(eventIndex < FrameEvents::EVENT_COUNT, "Bad index."); in isDirty()
201 std::bitset<FrameEvents::EVENT_COUNT> mBitset;
228 const std::array<FrameEvents, MAX_FRAME_HISTORY>::iterator& frame);
250 const FrameEvents& frameTimestamps,
[all …]
/frameworks/native/libs/gui/tests/
DSurface_test.cpp741 struct FrameEvents { struct in android::GetFrameTimestampsTest
742 FrameEvents(FenceToFenceTimeMap& fenceMap, nsecs_t frameStartTime) in FrameEvents() function
854 FrameEvents* frame = &mFrames[frameIndex]; in dequeueAndQueue()
879 FrameEvents* oldFrame = in addFrameEvents()
881 FrameEvents* newFrame = &mFrames[iNewFrame]; in addFrameEvents()
951 FrameEvents mFrames[3] {