Searched refs:MiniFence (Results 1 – 5 of 5) sorted by relevance
27 class MiniFence : public LightRefBase<MiniFence> {29 static const sp<MiniFence> NO_FENCE;32 MiniFence();37 explicit MiniFence(int fenceFd);40 MiniFence(const MiniFence& rhs) = delete;41 MiniFence& operator=(const MiniFence& rhs) = delete;42 MiniFence(MiniFence&& rhs) = delete;43 MiniFence& operator=(MiniFence&& rhs) = delete;52 friend class LightRefBase<MiniFence>;53 ~MiniFence();
158 : mFences({MiniFence::NO_FENCE, MiniFence::NO_FENCE}) {} in DeferredFence()161 mFences.emplace(new MiniFence(fenceFd)); in add()165 const sp<MiniFence>& get() const { in get()171 std::queue<sp<MiniFence>> mFences;176 FencedBuffer() : mBuffer(nullptr), mFence(MiniFence::NO_FENCE) {} in FencedBuffer()179 void setFence(int fenceFd) { mFence = new MiniFence(fenceFd); } in setFence()186 sp<MiniFence> mFence;558 const sp<MiniFence>& getReleaseFence() const;
23 const sp<MiniFence> MiniFence::NO_FENCE = sp<MiniFence>(new MiniFence);25 MiniFence::MiniFence() : in MiniFence() function in android::MiniFence29 MiniFence::MiniFence(int fenceFd) : in MiniFence() function in android::MiniFence33 MiniFence::~MiniFence() { in ~MiniFence()39 int MiniFence::dup() const { in dup()
44 "MiniFence.cpp",
736 if (releaseFence != MiniFence::NO_FENCE) { in getReleaseFences()2044 const sp<MiniFence>& HWC2On1Adapter::Layer::getReleaseFence() const { in getReleaseFence()