From f945cb651518025159499999527ff5d4536acaf8 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sun, 15 Aug 2010 17:24:14 +0800 Subject: st/egl: Add support for EGL_KHR_fence_sync. The extension is implemented by pipe_fence_handle. --- src/gallium/state_trackers/egl/common/egl_g3d.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/state_trackers/egl/common/egl_g3d.h') 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) -- cgit v1.2.3