From: Brian Paul Date: Mon, 16 May 2005 02:21:57 +0000 (+0000) Subject: EGL_MESA_copy_context stuff X-Git-Tag: 062012170305~22661 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72a313902bc8eca4b05641695877b255b9a5f06c;p=profile%2Fivi%2Fmesa.git EGL_MESA_copy_context stuff --- diff --git a/include/GLES/egl.h b/include/GLES/egl.h index adb56ec..9d7df40 100644 --- a/include/GLES/egl.h +++ b/include/GLES/egl.h @@ -247,7 +247,6 @@ GLAPI EGLBoolean APIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, Na GLAPI EGLBoolean APIENTRY eglChooseModeMESA(EGLDisplay dpy, EGLScreenMESA screen, const EGLint *attrib_list, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes); GLAPI EGLBoolean APIENTRY eglGetModesMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes); GLAPI EGLBoolean APIENTRY eglGetModeAttribMESA(EGLDisplay dpy, EGLModeMESA mode, EGLint attribute, EGLint *value); -GLAPI EGLBoolean APIENTRY eglCopyContextMESA(EGLDisplay dpy, EGLContext source, EGLContext dest, unsigned long mask); GLAPI EGLBoolean APIENTRY eglGetScreensMESA(EGLDisplay dpy, EGLScreenMESA *screens, EGLint max_screens, EGLint *num_screens); GLAPI EGLSurface APIENTRY eglCreateScreenSurfaceMESA(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); GLAPI EGLBoolean APIENTRY eglShowSurfaceMESA(EGLDisplay dpy, EGLint screen, EGLSurface surface, EGLModeMESA mode); @@ -261,10 +260,12 @@ GLAPI const char * APIENTRY eglQueryModeStringMESA(EGLDisplay dpy, EGLModeMESA m #endif /* EGL_MESA_screen_surface */ +#ifndef EGL_MESA_copy_context +#define EGL_MESA_copy_context 1 +GLAPI EGLBoolean APIENTRY eglCopyContextMESA(EGLDisplay dpy, EGLContext source, EGLContext dest, EGLint mask); - - +#endif /* EGL_MESA_copy_context */ #ifdef __cplusplus