Lines Matching defs:Fence
27 * Creating a Fence instance inserts a new sync fence in the OpenGL
28 * commands stream. The caller can then wait for the fence to be signaled
31 class Fence {
41 * Inserts a new sync fence in the OpenGL commands stream.
43 Fence() {
53 * Destroys the fence. Any caller waiting on the fence will be
56 ~Fence() {
63 * Blocks the calling thread until this fence is signaled, or until
66 * Returns true if waiting for the fence was successful, false if
73 ALOGW("Failed to wait for the fence %#x", eglGetError());
82 }; // class Fence
85 * An AutoFence creates a Fence instance and waits for the fence
92 * AutoFence fence;
97 AutoFence(EGLTimeKHR timeout = Fence::kDefaultTimeout): mTimeout(timeout) {
106 Fence mFence;