Home
last modified time | relevance | path

Searched refs:MiniFence (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DMiniFence.h27 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();
DHWC2On1Adapter.h158 : 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;
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DMiniFence.cpp23 const sp<MiniFence> MiniFence::NO_FENCE = sp<MiniFence>(new MiniFence);
25 MiniFence::MiniFence() : in MiniFence() function in android::MiniFence
29 MiniFence::MiniFence(int fenceFd) : in MiniFence() function in android::MiniFence
33 MiniFence::~MiniFence() { in ~MiniFence()
39 int MiniFence::dup() const { in dup()
DAndroid.bp44 "MiniFence.cpp",
DHWC2On1Adapter.cpp736 if (releaseFence != MiniFence::NO_FENCE) { in getReleaseFences()
2044 const sp<MiniFence>& HWC2On1Adapter::Layer::getReleaseFence() const { in getReleaseFence()