Home | History | Annotate | Download | only in ui

Lines Matching full:fence

35 // Fence
38 class Fence
39 : public LightRefBase<Fence>, public Flattenable<Fence>
42 static const sp<Fence> NO_FENCE;
45 // should wait indefinitely for the fence to signal.
48 // Construct a new Fence object with an invalid file descriptor. This
49 // should be done when the Fence object will be set up by unflattening
51 Fence();
53 // Construct a new Fence object to manage a given fence file descriptor.
54 // When the new Fence object is destructed the file descriptor will be
56 Fence(int fenceFd);
58 // Check whether the Fence has an open fence file descriptor. Most Fence
59 // methods treat an invalid file descriptor just like a valid fence that
63 // wait waits for up to timeout milliseconds for the fence to signal. If
64 // the fence signals then NO_ERROR is returned. If the timeout expires
65 // before the fence signals then -ETIME is returned. A timeout of
67 // indefinitely for the fence to signal.
70 // waitForever is a convenience function for waiting forever for a fence to
72 // system log and fence state to the kernel log if the wait lasts longer
78 // merge combines two Fence objects, creating a new Fence object that
81 // human-readable name to associated with the new Fence object.
82 static sp<Fence> merge(const String8& name, const sp<Fence>& f1,
83 const sp<Fence>& f2);
85 // Return a duplicate of the fence file descriptor. The caller is
91 // fence transitioned to the signaled state. If the fence is not signaled
92 // then INT64_MAX is returned. If the fence is invalid or if an error
104 friend class LightRefBase<Fence>;
105 ~Fence();
108 Fence(const Fence& rhs);
109 Fence& operator = (const Fence& rhs);
110 const Fence& operator = (const Fence& rhs) const;