summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/common/egl_g3d.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-08-15 17:24:14 +0800
committerChia-I Wu <olv@lunarg.com>2010-08-17 00:06:19 +0800
commitf945cb651518025159499999527ff5d4536acaf8 (patch)
tree598f00d204b63e78e5a00e213182e6028f46d728 /src/gallium/state_trackers/egl/common/egl_g3d.h
parent2b2c5c4f5cb4620044eeaa7cc308e696209c7046 (diff)
st/egl: Add support for EGL_KHR_fence_sync.
The extension is implemented by pipe_fence_handle.
Diffstat (limited to 'src/gallium/state_trackers/egl/common/egl_g3d.h')
-rw-r--r--src/gallium/state_trackers/egl/common/egl_g3d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.h b/src/gallium/state_trackers/egl/common/egl_g3d.h
index dabcf841e2..be450bbede 100644
--- a/src/gallium/state_trackers/egl/common/egl_g3d.h
+++ b/src/gallium/state_trackers/egl/common/egl_g3d.h
@@ -111,6 +111,9 @@ struct egl_g3d_sync {
/* the mutex protects only the condvar, not the struct */
pipe_mutex mutex;
pipe_condvar condvar;
+
+ /* for fence sync */
+ struct pipe_fence_handle *fence;
};
_EGL_DRIVER_TYPECAST(egl_g3d_sync, _EGLSync, obj)