mutter/cogl/winsys
Daniel Stone ea7d3b8476 Add fence API
cogl_framebuffer_add_fence creates a synchronisation fence, which will
invoke a user-specified callback when the GPU has finished executing all
commands provided to it up to that point in time.

Support is currently provided for GL 3.x's GL_ARB_sync extension, and
EGL's EGL_KHR_fence_sync (when used with OpenGL ES).

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Neil Roberts <neil@linux.intel.com>
Reviewed-by: Robert Bragg <robert@linux.intel.com>

https://bugzilla.gnome.org/show_bug.cgi?id=691752

(cherry picked from commit e6d37470da9294adc1554c0a8c91aa2af560ed9f)
2013-05-28 21:36:03 +01:00
..
cogl-texture-pixmap-x11-private.h
cogl-texture-pixmap-x11.c
cogl-texture-pixmap-x11.h
cogl-winsys-egl-android-private.h
cogl-winsys-egl-android.c
cogl-winsys-egl-feature-functions.h Add fence API 2013-05-28 21:36:03 +01:00
cogl-winsys-egl-gdl-private.h
cogl-winsys-egl-gdl.c
cogl-winsys-egl-kms-private.h
cogl-winsys-egl-kms.c poll: Add general way to hook into mainloop without fd 2013-05-28 21:36:03 +01:00
cogl-winsys-egl-null-private.h
cogl-winsys-egl-null.c
cogl-winsys-egl-private.h Add fence API 2013-05-28 21:36:03 +01:00
cogl-winsys-egl-wayland-private.h
cogl-winsys-egl-wayland.c poll: Add general way to hook into mainloop without fd 2013-05-28 21:36:03 +01:00
cogl-winsys-egl-x11-private.h
cogl-winsys-egl-x11.c Associate check and dispatch funcs with poll fds 2013-04-30 16:39:31 +01:00
cogl-winsys-egl.c Add fence API 2013-05-28 21:36:03 +01:00
cogl-winsys-glx-feature-functions.h
cogl-winsys-glx-private.h
cogl-winsys-glx.c onscreen: Adds swap_buffers_with_damage api 2013-04-30 16:39:31 +01:00
cogl-winsys-private.h Add fence API 2013-05-28 21:36:03 +01:00
cogl-winsys-sdl2.c onscreen: Adds swap_buffers_with_damage api 2013-04-30 16:39:31 +01:00
cogl-winsys-sdl-private.h
cogl-winsys-sdl.c onscreen: Adds swap_buffers_with_damage api 2013-04-30 16:39:31 +01:00
cogl-winsys-stub-private.h
cogl-winsys-stub.c onscreen: Adds swap_buffers_with_damage api 2013-04-30 16:39:31 +01:00
cogl-winsys-wgl-feature-functions.h
cogl-winsys-wgl-private.h
cogl-winsys-wgl.c onscreen: Adds swap_buffers_with_damage api 2013-04-30 16:39:31 +01:00
cogl-winsys.c