/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 59 const std::shared_ptr<FenceTime>& presentFence) = 0; 68 virtual void setPresentFenceGlobal(const std::shared_ptr<FenceTime>& presentFence) = 0; 87 std::shared_ptr<FenceTime> presentFence; member 131 const std::shared_ptr<FenceTime>& presentFence) override; 140 void setPresentFenceGlobal(const std::shared_ptr<FenceTime>& presentFence) override;
|
D | TimeStats.cpp | 127 if (timeRecord->presentFence != nullptr) { in recordReadyLocked() 128 if (timeRecord->presentFence->getSignalTime() == Fence::SIGNAL_TIME_PENDING) { in recordReadyLocked() 131 if (timeRecord->presentFence->getSignalTime() != Fence::SIGNAL_TIME_INVALID) { in recordReadyLocked() 132 timeRecord->frameTime.presentTime = timeRecord->presentFence->getSignalTime(); in recordReadyLocked() 133 timeRecord->presentFence = nullptr; in recordReadyLocked() 393 const std::shared_ptr<FenceTime>& presentFence) { in setPresentFence() argument 398 presentFence->getSignalTime()); in setPresentFence() 408 timeRecord.presentFence = presentFence; in setPresentFence() 523 void TimeStats::setPresentFenceGlobal(const std::shared_ptr<FenceTime>& presentFence) { in setPresentFenceGlobal() argument 528 if (presentFence == nullptr || !presentFence->isValid()) { in setPresentFenceGlobal() [all …]
|
/frameworks/native/libs/gui/ |
D | ITransactionCompletedListener.cpp | 87 if (presentFence) { in writeToParcel() 92 err = output->write(*presentFence); in writeToParcel() 117 presentFence = new Fence(); in readFromParcel() 118 err = input->read(*presentFence); in readFromParcel()
|
D | SurfaceComposerClient.cpp | 227 callbackFunction(transactionStats.latchTime, transactionStats.presentFence, in onTransactionCompleted()
|
/frameworks/base/native/android/ |
D | surface_control.cpp | 204 sp<Fence> presentFence; member 214 auto& presentFence = aSurfaceTransactionStats->presentFence; in ASurfaceTransactionStats_getPresentFenceFd() local 215 return (presentFence) ? presentFence->dup() : -1; in ASurfaceTransactionStats_getPresentFenceFd() 284 const sp<Fence>& presentFence, in ASurfaceTransaction_setOnComplete() 289 aSurfaceTransactionStats.presentFence = presentFence; in ASurfaceTransaction_setOnComplete()
|
/frameworks/native/libs/gui/include/gui/ |
D | ITransactionCompletedListener.h | 62 : callbackIds(ids), latchTime(latch), presentFence(present), surfaceStats(surfaces) {} in TransactionStats() 66 sp<Fence> presentFence = nullptr; variable
|
/frameworks/native/services/surfaceflinger/ |
D | TransactionCompletedThread.cpp | 211 void TransactionCompletedThread::addPresentFence(const sp<Fence>& presentFence) { in addPresentFence() argument 213 mPresentFence = presentFence; in addPresentFence() 255 transactionStats.presentFence = mPresentFence; in threadMain()
|
D | BufferLayer.cpp | 360 const std::shared_ptr<FenceTime>& presentFence, in onPostComposition() argument 369 mFrameEventHistory.addPostComposition(mCurrentFrameNumber, glDoneFence, presentFence, in onPostComposition() 389 if (presentFence->isValid()) { in onPostComposition() 390 mFlinger->mTimeStats->setPresentFence(layerID, mCurrentFrameNumber, presentFence); in onPostComposition() 391 mFrameTracker.setActualPresentFence(std::shared_ptr<FenceTime>(presentFence)); in onPostComposition()
|
D | TransactionCompletedThread.h | 85 void addPresentFence(const sp<Fence>& presentFence);
|
D | BufferLayer.h | 92 const std::shared_ptr<FenceTime>& presentFence,
|
D | SurfaceFlinger.cpp | 2513 sp<Fence> presentFence = in postFramebuffer() local 2516 layer->getCompositionLayer()->getLayerFE()->onLayerDisplayed(presentFence); in postFramebuffer()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | ComposerHal.cpp | 1308 if (mCurrentReturnData->presentFence >= 0) { in parseSetPresentFence() 1309 close(mCurrentReturnData->presentFence); in parseSetPresentFence() 1311 mCurrentReturnData->presentFence = readFence(); in parseSetPresentFence() 1353 if (data.second.presentFence >= 0) { in resetData() 1354 close(data.second.presentFence); in resetData() 1453 *outPresentFence = data.presentFence; in takePresentFence() 1454 data.presentFence = -1; in takePresentFence()
|
D | ComposerHal.h | 269 int presentFence = -1; member
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2Test.cpp | 1597 void closeFences(hwc2_display_t display, int32_t presentFence) in closeFences() argument 1603 if (presentFence >= 0) { in closeFences() 1604 ASSERT_GE(sync_wait(presentFence, msWait), 0); in closeFences() 1605 close(presentFence); in closeFences() 1742 int32_t presentFence; in presentDisplays() local 1767 &presentFence)); in presentDisplays() 1769 ASSERT_NO_FATAL_FAILURE(closeFences(display, presentFence)); in presentDisplays() 1833 int32_t presentFence; in createAndPresentVirtualDisplay() local 1867 &presentFence)); in createAndPresentVirtualDisplay() 1868 ASSERT_NO_FATAL_FAILURE(closeFences(display, presentFence)); in createAndPresentVirtualDisplay() [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 3207 : latchTime(time), presentFence(fence), surfaceControlStats(stats) {} in CallbackData() 3210 sp<Fence> presentFence; member 3259 const auto& [latchTime, presentFence, surfaceControlStats] = callbackData; in verifyCallbackData() 3262 ASSERT_NE(presentFence, nullptr); in verifyCallbackData() 3264 ASSERT_EQ(presentFence->wait(3000), NO_ERROR); in verifyCallbackData() 3265 ASSERT_GE(presentFence->getSignalTime(), mExpectedPresentTime - nsecs_t(5 * 1e6)); in verifyCallbackData() 3268 ASSERT_LE(presentFence->getSignalTime(), in verifyCallbackData() 3272 ASSERT_EQ(presentFence, nullptr) << "transaction shouldn't have been presented"; in verifyCallbackData() 3330 static void function(void* callbackContext, nsecs_t latchTime, const sp<Fence>& presentFence, in function() argument 3337 helper->mCallbackDataQueue.emplace(latchTime, presentFence, stats); in function()
|