summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapiutils_glx.h
diff options
context:
space:
mode:
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>2010-03-29 13:40:27 +0000
committergb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>2010-03-29 13:40:27 +0000
commit1165419fd064d289607234d43a7958eed08a5af1 (patch)
tree953387c3ade1e019d5b8cb30774b254f1002548d /gst-libs/gst/vaapi/gstvaapiutils_glx.h
parentee230e6a1d86725774abddcd341e0cc622d1a1ae (diff)
Add glXSwapBuffers() workaround for NVIDIA.
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapiutils_glx.h')
-rw-r--r--gst-libs/gst/vaapi/gstvaapiutils_glx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiutils_glx.h b/gst-libs/gst/vaapi/gstvaapiutils_glx.h
index 1902daa4..69d0048c 100644
--- a/gst-libs/gst/vaapi/gstvaapiutils_glx.h
+++ b/gst-libs/gst/vaapi/gstvaapiutils_glx.h
@@ -64,6 +64,10 @@ gboolean
gl_make_current(Display *dpy, Window win, GLXContext ctx, GLContextState *state)
attribute_hidden;
+void
+gl_swap_buffers(Display *dpy, Window win)
+ attribute_hidden;
+
typedef struct _GLTextureState GLTextureState;
struct _GLTextureState {
gboolean was_enabled;