Lines Matching refs:Fence
46 class Fence {
60 int Get(const shared_ptr<Fence> &fence);
66 ~Fence();
74 static shared_ptr<Fence> Create(int fd, const string &name);
77 static int Dup(const shared_ptr<Fence> &fence);
79 static shared_ptr<Fence> Merge(const shared_ptr<Fence> &fence1, const shared_ptr<Fence> &fence2);
81 static shared_ptr<Fence> Merge(const std::vector<shared_ptr<Fence>> &fences,
85 static DisplayError Wait(const shared_ptr<Fence> &fence);
86 static DisplayError Wait(const shared_ptr<Fence> &fence, int timeout);
89 static Status GetStatus(const shared_ptr<Fence> &fence);
91 static string GetStr(const shared_ptr<Fence> &fence);
97 explicit Fence(int fd, const string &name);
98 Fence(const Fence &fence) = delete;
99 Fence& operator=(const Fence &fence) = delete;
100 Fence(Fence &&fence) = delete;
101 Fence& operator=(Fence &&fence) = delete;
102 static int Get(const shared_ptr<Fence> &fence);
105 static std::vector<std::weak_ptr<Fence>> wps_;