diff options
author | Daniel Stone <daniel@fooishbar.org> | 2013-01-10 17:13:34 -0800 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2013-05-28 21:36:03 +0100 |
commit | ea7d3b8476f3a22ef83371f4dedaa22e5d7ce0ac (patch) | |
tree | 9d2eaee3fd0b17c5e9c2bd77aa66669b82812b97 /cogl/cogl.symbols | |
parent | 7b14b5e3dadd78c86c6063ace359b119b940609f (diff) | |
download | cogl-ea7d3b8476f3a22ef83371f4dedaa22e5d7ce0ac.tar.gz |
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)
Diffstat (limited to 'cogl/cogl.symbols')
-rw-r--r-- | cogl/cogl.symbols | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cogl/cogl.symbols b/cogl/cogl.symbols index dc2daabf..c74f667e 100644 --- a/cogl/cogl.symbols +++ b/cogl/cogl.symbols @@ -981,3 +981,7 @@ _cogl_atlas_texture_new_with_size _cogl_atlas_texture_remove_reorganize_callback _cogl_context_get_default #endif + +cogl_fence_closure_get_user_data +cogl_framebuffer_add_fence_callback +cogl_framebuffer_cancel_fence_callback |