Changeset 95751 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Jul 20, 2022 11:47:45 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 152461
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 5 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/.scm-settings
r95148 r95751 69 69 70 70 /vmsvga_glext/*.h: --external-copyright --no-convert-tabs --no-strip-trailing-blanks 71 /vmsvga_glext-new/*.h: --external-copyright --no-convert-tabs --no-strip-trailing-blanks 71 72 72 73 /DevVGATmpl.h: --no-fix-header-guards -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-glLdr.h
r93115 r95751 41 41 # define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED 42 42 # include <OpenGL/gl.h> 43 # include <OpenGL/glext.h>44 43 # include "DevVGA-SVGA3d-cocoa.h" 45 44 // HACK … … 60 59 # include <GL/gl.h> 61 60 # include <GL/glx.h> 62 # include <GL/glext.h>63 61 # define VBOX_VMSVGA3D_GL_HACK_LEVEL 0x103 64 62 #endif -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-internal.h
r95008 r95751 62 62 # define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED 63 63 # include <OpenGL/gl.h> 64 # include <OpenGL/glext.h>65 64 # include "DevVGA-SVGA3d-cocoa.h" 66 65 /* work around conflicting definition of GLhandleARB in VMware's glext.h */ … … 70 69 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); 71 70 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params); 71 # if 0 72 72 # define GL_RGBA_S3TC 0x83A2 73 73 # define GL_ALPHA8_EXT 0x803c … … 77 77 # define GL_LUMINANCE8_ALPHA8_EXT 0x8045 78 78 # define GL_INT_2_10_10_10_REV 0x8D9F 79 # endif 79 80 80 81 #else … … 83 84 # include <GL/gl.h> 84 85 # include <GL/glx.h> 85 # include <GL/glext.h>86 86 # define VBOX_VMSVGA3D_GL_HACK_LEVEL 0x103 87 87 #endif 88 88 89 89 #ifdef VMSVGA3D_OPENGL 90 # ifndef __glext_h__ 91 # undef GL_GLEXT_VERSION /** @todo r=bird: We include GL/glext.h above which also defines this and we'll end up with 92 * a clash if the system one does not use the same header guard as ours. So, I'm wondering 93 * whether this include is really needed, and if it is, whether we should use a unique header 94 * guard macro on it, so we'll have the same problems everywhere... */ 95 # endif 90 96 # include "vmsvga_glext/glext.h" 91 97 # include "shaderlib/shaderlib.h"
Note:
See TracChangeset
for help on using the changeset viewer.