- Timestamp:
- Feb 9, 2009 10:21:16 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 42531
- Location:
- trunk/src/VBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/crOpenGL/getprocaddress.py
r15532 r16574 61 61 }; 62 62 63 DECLEXPORT(void) glXBindTexImageEXT(Display *dpy, GLXDrawable draw, int buffer, const int *attrib_list); 64 DECLEXPORT(void) glXReleaseTexImageEXT(Display *dpy, GLXDrawable draw, int buffer); 65 DECLEXPORT(void) glXQueryDrawable(Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); 66 DECLEXPORT(GLXFBConfig *) glXGetFBConfigs(Display *dpy, int screen, int *nelements); 67 DECLEXPORT(int) glXGetFBConfigAttrib(Display *dpy, GLXFBConfig config, int attribute, int *value); 68 DECLEXPORT(GLXPixmap) glXCreatePixmap(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); 69 70 63 71 CR_PROC CR_APIENTRY crGetProcAddress( const char *name ) 64 72 { … … 72 80 } 73 81 82 if (!crStrcmp( name, "glXBindTexImageEXT" )) return (CR_PROC) glXBindTexImageEXT; 83 if (!crStrcmp( name, "glXReleaseTexImageEXT" )) return (CR_PROC) glXReleaseTexImageEXT; 84 if (!crStrcmp( name, "glXQueryDrawable" )) return (CR_PROC) glXQueryDrawable; 85 if (!crStrcmp( name, "glXGetFBConfigs" )) return (CR_PROC) glXGetFBConfigs; 86 if (!crStrcmp( name, "glXGetFBConfigAttrib" )) return (CR_PROC) glXGetFBConfigAttrib; 87 if (!crStrcmp( name, "glXCreatePixmap" )) return (CR_PROC) glXCreatePixmap; 88 89 if (name) crDebug("Returning NULL for %s", name); 74 90 return NULL; 75 91 } -
trunk/src/VBox/Additions/WINNT/Graphics/crOpenGL/stub.h
r16480 r16574 33 33 34 34 #include "chromium.h" 35 #include "cr_version.h" 35 36 #include "cr_hash.h" 36 37 #include "cr_process.h" -
trunk/src/VBox/GuestHost/OpenGL/include/cr_version.h
r15532 r16574 105 105 #define CR_SGIS_generate_mipmap 1 106 106 107 #define CR_EXT_texture_from_pixmap 1 108 107 109 #endif /* CR_VERSION_H */ -
trunk/src/VBox/GuestHost/OpenGL/include/state/cr_limits.h
r15532 r16574 257 257 GLboolean NV_vertex_program2; 258 258 GLboolean SGIS_generate_mipmap; 259 GLboolean EXT_texture_from_pixmap; 259 260 260 261 /* derived from above */ -
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_limits.c
r15532 r16574 1 1 2 /* Copyright (c) 2001, Stanford University 2 3 * All rights reserved … … 388 389 if (hasExtension((const char*)limits->extensions, "GL_SGIS_generate_mipmap")) 389 390 extensions->SGIS_generate_mipmap = GL_TRUE; 391 392 if (hasExtension((const char*)limits->extensions, "GLX_EXT_texture_from_pixmap")) 393 extensions->EXT_texture_from_pixmap = GL_TRUE; 390 394 391 395 if (extensions->NV_vertex_program2)
Note:
See TracChangeset
for help on using the changeset viewer.