Searched refs:layerID (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 50 virtual void setPostTime(int32_t layerID, uint64_t frameNumber, const std::string& layerName, 52 virtual void setLatchTime(int32_t layerID, uint64_t frameNumber, nsecs_t latchTime) = 0; 53 virtual void setDesiredTime(int32_t layerID, uint64_t frameNumber, nsecs_t desiredTime) = 0; 54 virtual void setAcquireTime(int32_t layerID, uint64_t frameNumber, nsecs_t acquireTime) = 0; 55 virtual void setAcquireFence(int32_t layerID, uint64_t frameNumber, 57 virtual void setPresentTime(int32_t layerID, uint64_t frameNumber, nsecs_t presentTime) = 0; 58 virtual void setPresentFence(int32_t layerID, uint64_t frameNumber, 61 virtual void onDestroy(int32_t layerID) = 0; 63 virtual void removeTimeRecord(int32_t layerID, uint64_t frameNumber) = 0; 122 void setPostTime(int32_t layerID, uint64_t frameNumber, const std::string& layerName, [all …]
|
D | TimeStats.cpp | 107 bool TimeStats::recordReadyLocked(int32_t layerID, TimeRecord* timeRecord) { in recordReadyLocked() argument 109 ALOGV("[%d]-[%" PRIu64 "]-presentFence is still not received", layerID, in recordReadyLocked() 122 ALOGV("[%d]-[%" PRIu64 "]-acquireFence signal time is invalid", layerID, in recordReadyLocked() 135 ALOGV("[%d]-[%" PRIu64 "]-presentFence signal time invalid", layerID, in recordReadyLocked() 165 void TimeStats::flushAvailableRecordsToStatsLocked(int32_t layerID) { in flushAvailableRecordsToStatsLocked() argument 168 LayerRecord& layerRecord = mTimeStatsTracker[layerID]; in flushAvailableRecordsToStatsLocked() 172 if (!recordReadyLocked(layerID, &timeRecords[0])) break; in flushAvailableRecordsToStatsLocked() 173 ALOGV("[%d]-[%" PRIu64 "]-presentFenceTime[%" PRId64 "]", layerID, in flushAvailableRecordsToStatsLocked() 189 ALOGV("[%d]-[%" PRIu64 "]-post2acquire[%d]", layerID, in flushAvailableRecordsToStatsLocked() 195 ALOGV("[%d]-[%" PRIu64 "]-post2present[%d]", layerID, in flushAvailableRecordsToStatsLocked() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | BufferQueueLayer.cpp | 277 const int32_t layerID = getSequence(); in updateTexImage() local 319 mFlinger->mTimeStats->removeTimeRecord(layerID, mQueueItems[0].mFrameNumber); in updateTexImage() 333 mFlinger->mTimeStats->onDestroy(layerID); in updateTexImage() 354 mFlinger->mTimeStats->removeTimeRecord(layerID, mQueueItems[0].mFrameNumber); in updateTexImage() 359 mFlinger->mTimeStats->setAcquireFence(layerID, currentFrameNumber, in updateTexImage() 361 mFlinger->mTimeStats->setLatchTime(layerID, currentFrameNumber, latchTime); in updateTexImage()
|
D | BufferStateLayer.cpp | 515 const int32_t layerID = getSequence(); in updateTexImage() local 537 mFlinger->mTimeStats->removeTimeRecord(layerID, getFrameNumber()); in updateTexImage() 554 mFlinger->mTimeStats->onDestroy(layerID); in updateTexImage() 559 mFlinger->mTimeStats->setAcquireFence(layerID, getFrameNumber(), getCurrentFenceTime()); in updateTexImage() 560 mFlinger->mTimeStats->setLatchTime(layerID, getFrameNumber(), latchTime); in updateTexImage()
|
D | BufferLayer.cpp | 370 const int32_t layerID = getSequence(); in onPostComposition() local 371 mFlinger->mTimeStats->setDesiredTime(layerID, mCurrentFrameNumber, desiredPresentTime); in onPostComposition() 383 mFlinger->mTimeStats->setPresentFence(layerID, mCurrentFrameNumber, presentFence); in onPostComposition() 389 mFlinger->mTimeStats->setPresentTime(layerID, mCurrentFrameNumber, actualPresentTime); in onPostComposition()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 174 static std::string genLayerName(int32_t layerID) { in genLayerName() argument 175 return (layerID < 0 ? "invalid.dummy" : "com.dummy#") + std::to_string(layerID); in genLayerName() 560 const int32_t layerID = genRandomInt32(-1, 10); in TEST_F() local 565 ASSERT_NO_FATAL_FAILURE(mTimeStats->removeTimeRecord(layerID, frameNumber)); in TEST_F() 569 ASSERT_NO_FATAL_FAILURE(mTimeStats->onDestroy(layerID)); in TEST_F() 574 ALOGV("type[%d], layerID[%d], frameNumber[%d], ts[%d]", type, layerID, frameNumber, ts); in TEST_F() 575 setTimeStamp(type, layerID, frameNumber, ts); in TEST_F()
|