/frameworks/native/include/ui/ |
H A D | FenceTime.h | 36 class FenceTime { class in namespace:android 39 // An atomic snapshot of the FenceTime that is flattenable. 41 // This class is needed because the FenceTime class may not stay 76 static const std::shared_ptr<FenceTime> NO_FENCE; 78 explicit FenceTime(const sp<Fence>& fence); 79 explicit FenceTime(sp<Fence>&& fence); 83 explicit FenceTime(nsecs_t signalTime); 87 FenceTime() = delete; 92 FenceTime(const FenceTime [all...] |
/frameworks/native/libs/ui/include/ui/ |
H A D | FenceTime.h | 36 class FenceTime { class in namespace:android 39 // An atomic snapshot of the FenceTime that is flattenable. 41 // This class is needed because the FenceTime class may not stay 76 static const std::shared_ptr<FenceTime> NO_FENCE; 78 explicit FenceTime(const sp<Fence>& fence); 79 explicit FenceTime(sp<Fence>&& fence); 83 explicit FenceTime(nsecs_t signalTime); 87 FenceTime() = delete; 92 FenceTime(const FenceTime [all...] |
/frameworks/native/libs/ui/include_vndk/ui/ |
H A D | FenceTime.h | 36 class FenceTime { class in namespace:android 39 // An atomic snapshot of the FenceTime that is flattenable. 41 // This class is needed because the FenceTime class may not stay 76 static const std::shared_ptr<FenceTime> NO_FENCE; 78 explicit FenceTime(const sp<Fence>& fence); 79 explicit FenceTime(sp<Fence>&& fence); 83 explicit FenceTime(nsecs_t signalTime); 87 FenceTime() = delete; 92 FenceTime(const FenceTime [all...] |
/frameworks/native/libs/ui/ |
H A D | FenceTime.cpp | 17 #include <ui/FenceTime.h> 19 #define LOG_TAG "FenceTime" 31 // FenceTime 34 const auto FenceTime::NO_FENCE = std::make_shared<FenceTime>(Fence::NO_FENCE); 36 void* FenceTime::operator new(size_t byteCount) noexcept { 38 if (posix_memalign(&p, alignof(FenceTime), byteCount)) { 44 void FenceTime::operator delete(void *p) { 48 FenceTime::FenceTime(cons function in class:android::FenceTime 56 FenceTime::FenceTime(sp<Fence>&& fence) function in class:android::FenceTime 64 FenceTime::FenceTime(nsecs_t signalTime) function in class:android::FenceTime 182 FenceTime::FenceTime(const sp<Fence>& fence, bool forceValidForTest) function in class:android::FenceTime [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | FrameTracker.h | 20 #include <ui/FenceTime.h> 64 void setFrameReadyFence(std::shared_ptr<FenceTime>&& readyFence); 72 void setActualPresentFence(std::shared_ptr<FenceTime>&& fence); 104 std::shared_ptr<FenceTime> frameReadyFence; 105 std::shared_ptr<FenceTime> actualPresentFence;
|
H A D | DispSync.h | 26 #include <ui/FenceTime.h> 33 class FenceTime; 74 bool addPresentFence(const std::shared_ptr<FenceTime>& fenceTime); 178 std::shared_ptr<FenceTime> mPresentFences[NUM_PRESENT_SAMPLES]{FenceTime::NO_FENCE};
|
H A D | BufferLayer.h | 110 bool onPostComposition(const std::shared_ptr<FenceTime>& glDoneFence, 111 const std::shared_ptr<FenceTime>& presentFence,
|
H A D | BufferLayerConsumer.h | 24 #include <ui/FenceTime.h> 172 // getCurrentFence returns the FenceTime indicating when the current 174 std::shared_ptr<FenceTime> getCurrentFenceTime() const; 314 // The FenceTime wrapper around mCurrentFence. 315 std::shared_ptr<FenceTime> mCurrentFenceTime{FenceTime::NO_FENCE};
|
H A D | FrameTracker.cpp | 50 std::shared_ptr<FenceTime>&& readyFence) { 62 std::shared_ptr<FenceTime>&& readyFence) { 155 const std::shared_ptr<FenceTime>& rfence = records[idx].frameReadyFence; 165 const std::shared_ptr<FenceTime>& pfence =
|
H A D | BufferLayer.cpp | 301 bool BufferLayer::onPostComposition(const std::shared_ptr<FenceTime>& glDoneFence, 302 const std::shared_ptr<FenceTime>& presentFence, 322 std::shared_ptr<FenceTime> frameReadyFence = mConsumer->getCurrentFenceTime(); 333 mFrameTracker.setActualPresentFence(std::shared_ptr<FenceTime>(presentFence)); 368 std::make_shared<FenceTime>(mConsumer->getPrevFinalReleaseFence());
|
H A D | DispSync.cpp | 33 #include <ui/FenceTime.h> 430 bool DispSync::addPresentFence(const std::shared_ptr<FenceTime>& fenceTime) { 646 mPresentFences[i] = FenceTime::NO_FENCE;
|
H A D | SurfaceFlinger.h | 38 #include <ui/FenceTime.h> 190 std::shared_ptr<FenceTime> display { FenceTime::NO_FENCE }; 653 std::shared_ptr<FenceTime>& presentFenceTime);
|
H A D | Layer.h | 416 virtual bool onPostComposition(const std::shared_ptr<FenceTime>& /*glDoneFence*/, 417 const std::shared_ptr<FenceTime>& /*presentFence*/,
|
/frameworks/native/include/gui/ |
H A D | FrameTimestamps.h | 20 #include <ui/FenceTime.h> 94 std::shared_ptr<FenceTime> acquireFence{FenceTime::NO_FENCE}; 95 std::shared_ptr<FenceTime> gpuCompositionDoneFence{FenceTime::NO_FENCE}; 96 std::shared_ptr<FenceTime> displayPresentFence{FenceTime::NO_FENCE}; 97 std::shared_ptr<FenceTime> releaseFence{FenceTime::NO_FENCE}; 143 uint64_t frameNumber, std::shared_ptr<FenceTime> [all...] |
H A D | BufferItem.h | 22 #include <ui/FenceTime.h> 62 // The std::shared_ptr<FenceTime> wrapper around mFence. 63 std::shared_ptr<FenceTime> mFenceTime{FenceTime::NO_FENCE};
|
H A D | GLConsumer.h | 26 #include <ui/FenceTime.h> 200 // getCurrentFence returns the FenceTime indicating when the current 202 std::shared_ptr<FenceTime> getCurrentFenceTime() const; 400 // The FenceTime wrapper around mCurrentFence. 401 std::shared_ptr<FenceTime> mCurrentFenceTime{FenceTime::NO_FENCE};
|
/frameworks/native/libs/gui/include/gui/ |
H A D | FrameTimestamps.h | 20 #include <ui/FenceTime.h> 94 std::shared_ptr<FenceTime> acquireFence{FenceTime::NO_FENCE}; 95 std::shared_ptr<FenceTime> gpuCompositionDoneFence{FenceTime::NO_FENCE}; 96 std::shared_ptr<FenceTime> displayPresentFence{FenceTime::NO_FENCE}; 97 std::shared_ptr<FenceTime> releaseFence{FenceTime::NO_FENCE}; 143 uint64_t frameNumber, std::shared_ptr<FenceTime> [all...] |
H A D | BufferItem.h | 22 #include <ui/FenceTime.h> 62 // The std::shared_ptr<FenceTime> wrapper around mFence. 63 std::shared_ptr<FenceTime> mFenceTime{FenceTime::NO_FENCE};
|
H A D | GLConsumer.h | 26 #include <ui/FenceTime.h> 200 // getCurrentFence returns the FenceTime indicating when the current 202 std::shared_ptr<FenceTime> getCurrentFenceTime() const; 400 // The FenceTime wrapper around mCurrentFence. 401 std::shared_ptr<FenceTime> mCurrentFenceTime{FenceTime::NO_FENCE};
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
H A D | TimeStats.h | 22 #include <ui/FenceTime.h> 51 std::shared_ptr<FenceTime> acquireFence; 52 std::shared_ptr<FenceTime> presentFence; 76 const std::shared_ptr<FenceTime>& acquireFence); 79 const std::shared_ptr<FenceTime>& presentFence);
|
/frameworks/native/libs/gui/ |
H A D | FrameTimestamps.cpp | 90 bool pending, const FenceTime& fenceTime) { 97 } else if (&fenceTime == FenceTime::NO_FENCE.get()){ 249 uint64_t frameNumber, std::shared_ptr<FenceTime>&& acquire) { 262 frame->acquireFence = std::make_shared<FenceTime>(frame->postedTime); 292 frame.acquireFence = FenceTime::NO_FENCE; 293 frame.gpuCompositionDoneFence = FenceTime::NO_FENCE; 294 frame.displayPresentFence = FenceTime::NO_FENCE; 295 frame.releaseFence = FenceTime::NO_FENCE; 317 std::shared_ptr<FenceTime>* dst, const FenceTime [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 641 std::shared_ptr<FenceTime>&& acquire) override { 647 std::shared_ptr<FenceTime>(mAcquireFenceOverride)); 651 const std::shared_ptr<FenceTime>& acquireFenceOverride, 652 const std::shared_ptr<FenceTime>& consumerAcquireFence) { 658 std::shared_ptr<FenceTime> createFenceTime(const sp<Fence>& fence) 665 std::shared_ptr<FenceTime> mAcquireFenceOverride{FenceTime::NO_FENCE}; 666 std::shared_ptr<FenceTime> mConsumerAcquireFence{FenceTime::NO_FENCE}; 711 std::shared_ptr<FenceTime> mFenceTim [all...] |
/frameworks/av/media/libstagefright/bqhelper/ |
H A D | Conversion.cpp | 544 // Ref: frameworks/native/libs/ui/FenceTime.cpp: FenceTime::Snapshot 563 ::android::FenceTime::Snapshot::signalTime); 604 ::android::FenceTime::Snapshot::State::EMPTY); 608 ::android::FenceTime::Snapshot::State::FENCE); 612 ::android::FenceTime::Snapshot::State::SIGNAL_TIME); 642 ::android::FenceTime::Snapshot::State state; 645 case ::android::FenceTime::Snapshot::State::EMPTY: 648 case ::android::FenceTime::Snapshot::State::FENCE: 651 case ::android::FenceTime [all...] |
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/ |
H A D | Conversion.h | 31 #include <ui/FenceTime.h> 371 // Ref: frameworks/native/libs/ui/FenceTime.cpp: FenceTime::Snapshot
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
H A D | H2BGraphicBufferProducer.cpp | 568 // Ref: frameworks/native/libs/ui/FenceTime.cpp: FenceTime::Snapshot 587 ::android::FenceTime::Snapshot::signalTime); 631 ::android::FenceTime::Snapshot::State::EMPTY); 635 ::android::FenceTime::Snapshot::State::FENCE); 641 ::android::FenceTime::Snapshot::State::SIGNAL_TIME);
|