9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync/* $Id$ */
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync/** @file
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync *
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * VirtualBox guest OpenGL DRI GLX header
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync */
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync/*
c7814cf6e1240a519cbec0441e033d0e2470ed00vboxsync * Copyright (C) 2009-2010 Oracle Corporation
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync *
8507f6a07ff05e3119f2fc2b23c2b6a227abf0afvboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
8507f6a07ff05e3119f2fc2b23c2b6a227abf0afvboxsync * available from http://www.virtualbox.org. This file is free software;
8507f6a07ff05e3119f2fc2b23c2b6a227abf0afvboxsync * you can redistribute it and/or modify it under the terms of the GNU
8507f6a07ff05e3119f2fc2b23c2b6a227abf0afvboxsync * General Public License (GPL) as published by the Free Software
8507f6a07ff05e3119f2fc2b23c2b6a227abf0afvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
8507f6a07ff05e3119f2fc2b23c2b6a227abf0afvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
8507f6a07ff05e3119f2fc2b23c2b6a227abf0afvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync */
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#ifndef ___CROPENGL_DRI_GLX_H
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#define ___CROPENGL_DRI_GLX_H
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#include "chromium.h"
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#include "stub.h"
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#if defined(VBOXOGL_FAKEDRI) || defined(VBOXOGL_DRI)
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync #define VBOXGLXTAG(Func) vboxstub_##Func
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync #define VBOXGLXENTRYTAG(Func) vbox_##Func
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync #define VBOXGLTAG(Func) cr_##Func
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#else
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync #define VBOXGLXTAG(Func) Func
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync #define VBOXGLXENTRYTAG(Func) Func
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync #define VBOXGLTAG(Func) Func
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#endif
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#ifdef VBOXOGL_FAKEDRI
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(const char *) VBOXGLXTAG(glXGetDriverConfig)(const char *driverName);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXFreeMemoryMESA)(Display *dpy, int scrn, void *pointer);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXContext) VBOXGLXTAG(glXImportContextEXT)(Display *dpy, GLXContextID contextID);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXContextID) VBOXGLXTAG(glXGetContextIDEXT)(const GLXContext ctx);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(Bool) VBOXGLXTAG(glXMakeCurrentReadSGI)(Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(const char *) VBOXGLXTAG(glXGetScreenDriver)(Display *dpy, int scrNum);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(Display *) VBOXGLXTAG(glXGetCurrentDisplayEXT)(void);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXFreeContextEXT)(Display *dpy, GLXContext ctx);
ad27e1d5e48ca41245120c331cc88b50464813cevboxsync/*Mesa internal*/
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(int) VBOXGLXTAG(glXQueryContextInfoEXT)(Display *dpy, GLXContext ctx);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void *) VBOXGLXTAG(glXAllocateMemoryMESA)(Display *dpy, int scrn,
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync size_t size, float readFreq,
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync float writeFreq, float priority);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLuint) VBOXGLXTAG(glXGetMemoryOffsetMESA)(Display *dpy, int scrn, const void *pointer );
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXPixmap) VBOXGLXTAG(glXCreateGLXPixmapMESA)(Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#endif
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync/*Common glX functions*/
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXCopyContext)( Display *dpy, GLXContext src, GLXContext dst,
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#if defined(SunOS)
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncunsigned long mask);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#else
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncunsigned long mask);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#endif
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXUseXFont)(Font font, int first, int count, int listBase);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(CR_GLXFuncPtr) VBOXGLXTAG(glXGetProcAddress)(const GLubyte *name);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(Bool) VBOXGLXTAG(glXQueryExtension)(Display *dpy, int *errorBase, int *eventBase);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(Bool) VBOXGLXTAG(glXIsDirect)(Display *dpy, GLXContext ctx);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXPixmap) VBOXGLXTAG(glXCreateGLXPixmap)(Display *dpy, XVisualInfo *vis, Pixmap pixmap);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXSwapBuffers)(Display *dpy, GLXDrawable drawable);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXDrawable) VBOXGLXTAG(glXGetCurrentDrawable)(void);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXWaitGL)(void);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(Display *) VBOXGLXTAG(glXGetCurrentDisplay)(void);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(const char *) VBOXGLXTAG(glXQueryServerString)(Display *dpy, int screen, int name);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXContext) VBOXGLXTAG(glXCreateContext)(Display *dpy, XVisualInfo *vis, GLXContext share, Bool direct);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(int) VBOXGLXTAG(glXGetConfig)(Display *dpy, XVisualInfo *vis, int attrib, int *value);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXWaitX)(void);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXContext) VBOXGLXTAG(glXGetCurrentContext)(void);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(const char *) VBOXGLXTAG(glXGetClientString)(Display *dpy, int name);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(Bool) VBOXGLXTAG(glXMakeCurrent)(Display *dpy, GLXDrawable drawable, GLXContext ctx);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXDestroyContext)(Display *dpy, GLXContext ctx);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(CR_GLXFuncPtr) VBOXGLXTAG(glXGetProcAddressARB)(const GLubyte *name);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXDestroyGLXPixmap)(Display *dpy, GLXPixmap pix);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(Bool) VBOXGLXTAG(glXQueryVersion)(Display *dpy, int *major, int *minor);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(XVisualInfo *) VBOXGLXTAG(glXChooseVisual)(Display *dpy, int screen, int *attribList);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(const char *) VBOXGLXTAG(glXQueryExtensionsString)(Display *dpy, int screen);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync/**
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * Set this to 1 if you want to build stub functions for the
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * GL_SGIX_pbuffer and GLX_SGIX_fbconfig extensions.
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * This used to be disabled, due to "messy compilation issues",
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * according to the earlier comment; but they're needed just
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * to resolve symbols for OpenInventor applications, and I
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * haven't found any reference to exactly what the "messy compilation
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * issues" are, so I'm re-enabling the code by default.
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync */
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#define GLX_EXTRAS 1
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#define GLX_SGIX_video_resize 1
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync/**
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * Prototypes, in case they're not in glx.h or glxext.h
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * Unfortunately, there's some inconsistency between the extension
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * specs, and the SGI, NVIDIA, XFree86 and common glxext.h header
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * files.
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync */
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#if defined(GLX_GLXEXT_VERSION)
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync/* match glxext.h, XFree86, Mesa */
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#define ATTRIB_TYPE const int
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#else
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#define ATTRIB_TYPE int
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#endif
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#if GLX_EXTRAS
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXPbufferSGIX) VBOXGLXTAG(glXCreateGLXPbufferSGIX)
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync(Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(int) VBOXGLXTAG(glXQueryGLXPbufferSGIX)
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync(Display *dpy, GLXPbuffer pbuf, int attribute, unsigned int *value);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXFBConfigSGIX *) VBOXGLXTAG(glXChooseFBConfigSGIX)
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync(Display *dpy, int screen, int *attrib_list, int *nelements);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXDestroyGLXPbufferSGIX)(Display *dpy, GLXPbuffer pbuf);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXSelectEventSGIX)(Display *dpy, GLXDrawable drawable, unsigned long mask);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXGetSelectedEventSGIX)(Display *dpy, GLXDrawable drawable, unsigned long *mask);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXFBConfigSGIX) VBOXGLXTAG(glXGetFBConfigFromVisualSGIX)(Display *dpy, XVisualInfo *vis);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(XVisualInfo *) VBOXGLXTAG(glXGetVisualFromFBConfigSGIX)(Display *dpy, GLXFBConfig config);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXContext) VBOXGLXTAG(glXCreateContextWithConfigSGIX)
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXPixmap) VBOXGLXTAG(glXCreateGLXPixmapWithConfigSGIX)(Display *dpy, GLXFBConfig config, Pixmap pixmap);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(int) VBOXGLXTAG(glXGetFBConfigAttribSGIX)(Display *dpy, GLXFBConfig config, int attribute, int *value);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync/*
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync * GLX 1.3 functions
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync */
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXFBConfig *) VBOXGLXTAG(glXChooseFBConfig)(Display *dpy, int screen, ATTRIB_TYPE *attrib_list, int *nelements);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXPbuffer) VBOXGLXTAG(glXCreatePbuffer)(Display *dpy, GLXFBConfig config, ATTRIB_TYPE *attrib_list);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXPixmap) VBOXGLXTAG(glXCreatePixmap)(Display *dpy, GLXFBConfig config, Pixmap pixmap, const ATTRIB_TYPE *attrib_list);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXWindow) VBOXGLXTAG(glXCreateWindow)(Display *dpy, GLXFBConfig config, Window win, ATTRIB_TYPE *attrib_list);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXContext) VBOXGLXTAG(glXCreateNewContext)
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXDestroyPbuffer)(Display *dpy, GLXPbuffer pbuf);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXDestroyPixmap)(Display *dpy, GLXPixmap pixmap);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXDestroyWindow)(Display *dpy, GLXWindow win);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXDrawable) VBOXGLXTAG(glXGetCurrentReadDrawable)(void);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(int) VBOXGLXTAG(glXGetFBConfigAttrib)(Display *dpy, GLXFBConfig config, int attribute, int *value);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(GLXFBConfig *) VBOXGLXTAG(glXGetFBConfigs)(Display *dpy, int screen, int *nelements);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXGetSelectedEvent)(Display *dpy, GLXDrawable draw, unsigned long *event_mask);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(XVisualInfo *) VBOXGLXTAG(glXGetVisualFromFBConfig)(Display *dpy, GLXFBConfig config);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(Bool) VBOXGLXTAG(glXMakeContextCurrent)(Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(int) VBOXGLXTAG(glXQueryContext)(Display *dpy, GLXContext ctx, int attribute, int *value);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXQueryDrawable)(Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXSelectEvent)(Display *dpy, GLXDrawable draw, unsigned long event_mask);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#ifdef CR_EXT_texture_from_pixmap
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXBindTexImageEXT)(Display *dpy, GLXDrawable draw, int buffer, const int *attrib_list);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsyncextern DECLEXPORT(void) VBOXGLXTAG(glXReleaseTexImageEXT)(Display *dpy, GLXDrawable draw, int buffer);
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#endif
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#endif /* GLX_EXTRAS */
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync
9a4748c9b04aa33bb54066d49bd27d4c9f0cf33evboxsync#endif //___CROPENGL_DRI_GLX_H