summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglcontext.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-12-27 17:39:37 -0800
committerTimothy Arceri <[email protected]>2017-03-16 14:14:18 +1100
commit3b7b6adf3ac688f75f11624e551800d0d978293b (patch)
tree765b6d428c22127220e1e0dd01450064ce2d77d3 /src/egl/main/eglcontext.h
parent6b70d9fce39c32929372fb8cf62f1f9072fe91e1 (diff)
egl: Implement __DRI_BACKGROUND_CALLABLE
v2: (Timothy Arceri) use C99 initializers. Acked-by: Timothy Arceri <[email protected]> Acked-by: Marek Olšák <[email protected]> Tested-by: Dieter Nützel <[email protected]> Tested-by: Mike Lothian <[email protected]>
Diffstat (limited to 'src/egl/main/eglcontext.h')
-rw-r--r--src/egl/main/eglcontext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egl/main/eglcontext.h b/src/egl/main/eglcontext.h
index 69bf77d8aff..f2fe8066265 100644
--- a/src/egl/main/eglcontext.h
+++ b/src/egl/main/eglcontext.h
@@ -82,6 +82,9 @@ _eglBindContext(_EGLContext *ctx, _EGLSurface *draw, _EGLSurface *read,
_EGLContext **old_ctx,
_EGLSurface **old_draw, _EGLSurface **old_read);
+extern _EGLContext *
+_eglBindContextToThread(_EGLContext *ctx, _EGLThreadInfo *t);
+
/**
* Increment reference count for the context.