Searched refs:FrameEvents (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/gui/ |
D | FrameTimestamps.cpp | 39 bool FrameEvents::hasPostedInfo() const { in hasPostedInfo() 40 return FrameEvents::isValidTimestamp(postedTime); in hasPostedInfo() 43 bool FrameEvents::hasRequestedPresentInfo() const { in hasRequestedPresentInfo() 44 return FrameEvents::isValidTimestamp(requestedPresentTime); in hasRequestedPresentInfo() 47 bool FrameEvents::hasLatchInfo() const { in hasLatchInfo() 48 return FrameEvents::isValidTimestamp(latchTime); in hasLatchInfo() 51 bool FrameEvents::hasFirstRefreshStartInfo() const { in hasFirstRefreshStartInfo() 52 return FrameEvents::isValidTimestamp(firstRefreshStartTime); in hasFirstRefreshStartInfo() 55 bool FrameEvents::hasLastRefreshStartInfo() const { in hasLastRefreshStartInfo() 61 bool FrameEvents::hasDequeueReadyInfo() const { in hasDequeueReadyInfo() [all …]
|
D | Surface.cpp | 242 const FrameEvents* e, const uint64_t lastFrameNumber, in checkConsumerForUpdates() 277 *dst = (src == FrameEvents::TIMESTAMP_PENDING) ? in getFrameTimestamp() 319 FrameEvents* events = mFrameEventHistory->getFrame(frameNumber); in getFrameTimestamps()
|
/frameworks/native/libs/gui/include/gui/ |
D | FrameTimestamps.h | 34 struct FrameEvents; 41 struct FrameEvents { struct 95 FrameEvents* getFrame(uint64_t frameNumber); 96 FrameEvents* getFrame(uint64_t frameNumber, size_t* iHint); 105 std::vector<FrameEvents> mFrames; 176 static_assert(eventIndex < FrameEvents::EVENT_COUNT, "Bad index."); in setDirty() 183 static_assert(eventIndex < FrameEvents::EVENT_COUNT, "Bad index."); in isDirty() 188 std::bitset<FrameEvents::EVENT_COUNT> mBitset; 219 const std::vector<FrameEvents>::iterator& frame); 241 const FrameEvents& frameTimestamps, [all …]
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 1119 struct FrameEvents { struct in android::GetFrameTimestampsTest 1120 FrameEvents(FenceToFenceTimeMap& fenceMap, nsecs_t frameStartTime) in FrameEvents() argument 1233 FrameEvents* frame = &mFrames[frameIndex]; in dequeueAndQueue() 1258 FrameEvents* oldFrame = in addFrameEvents() 1260 FrameEvents* newFrame = &mFrames[iNewFrame]; in addFrameEvents() 1330 FrameEvents mFrames[3] {
|
D | BLASTBufferQueue_test.cpp | 1584 FrameEvents* events = nullptr; in TEST_F() 1611 ASSERT_EQ(events->dequeueReadyTime, FrameEvents::TIMESTAMP_PENDING); in TEST_F() 1655 ASSERT_EQ(events->dequeueReadyTime, FrameEvents::TIMESTAMP_PENDING); in TEST_F() 1688 FrameEvents* events = nullptr; in TEST_F() 1749 ASSERT_EQ(events->dequeueReadyTime, FrameEvents::TIMESTAMP_PENDING); in TEST_F()
|