Changeset 84725 in vbox
- Timestamp:
- Jun 8, 2020 3:58:30 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
-
DevVGA-SVGA3d-glLdr.cpp (modified) (10 diffs)
-
DevVGA-SVGA3d-glLdr.h (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-glLdr.cpp
r82968 r84725 191 191 pfn_XCloseDisplay = 0; 192 192 pfn_XCreateColormap = 0; 193 pfn_XCreatePixmap = 0; 193 194 pfn_XCreateWindow = 0; 194 195 pfn_XDefaultRootWindow = 0; 195 196 pfn_XDestroyWindow = 0; 197 pfn_XFree = 0; 198 pfn_XFreePixmap = 0; 196 199 pfn_XInitThreads = 0; 197 200 pfn_XNextEvent = 0; 198 201 pfn_XOpenDisplay = 0; 199 202 pfn_XPending = 0; 203 pfn_XSetErrorHandler = 0; 204 pfn_XSync = 0; 205 pfn_glXGetFBConfigAttrib = 0; 206 pfn_glXGetVisualFromFBConfig = 0; 200 207 pfn_glXQueryVersion = 0; 208 pfn_glXChooseFBConfig = 0; 201 209 pfn_glXChooseVisual = 0; 202 210 pfn_glXCreateContext = 0; 211 pfn_glXCreatePixmap = 0; 203 212 pfn_glXMakeCurrent = 0; 204 213 pfn_glXDestroyContext = 0; 214 pfn_glXDestroyPixmap = 0; 205 215 #endif 206 216 pfn_glAlphaFunc = 0; 217 pfn_glBegin = 0; 207 218 pfn_glBindTexture = 0; 208 219 pfn_glBlendColor = 0; … … 228 239 pfn_glEnable = 0; 229 240 pfn_glEnableClientState = 0; 241 pfn_glEnd = 0; 242 pfn_glFinish = 0; 243 pfn_glFlush = 0; 230 244 pfn_glFogf = 0; 231 245 pfn_glFogfv = 0; … … 249 263 pfn_glMultMatrixf = 0; 250 264 pfn_glNormalPointer = 0; 265 pfn_glOrtho = 0; 251 266 pfn_glPixelStorei = 0; 252 267 pfn_glPointSize = 0; … … 262 277 pfn_glStencilMask = 0; 263 278 pfn_glStencilOp = 0; 279 pfn_glTexCoord2f = 0; 264 280 pfn_glTexCoordPointer = 0; 265 281 pfn_glTexImage2D = 0; … … 268 284 pfn_glTexParameteri = 0; 269 285 pfn_glTexSubImage2D = 0; 286 pfn_glVertex2i = 0; 270 287 pfn_glVertexPointer = 0; 271 288 pfn_glViewport = 0; … … 281 298 X11GETPROC_(XCloseDisplay); 282 299 X11GETPROC_(XCreateColormap); 300 X11GETPROC_(XCreatePixmap); 283 301 X11GETPROC_(XCreateWindow); 284 302 X11GETPROC_(XDefaultRootWindow); 285 303 X11GETPROC_(XDestroyWindow); 304 X11GETPROC_(XFree); 305 X11GETPROC_(XFreePixmap); 286 306 X11GETPROC_(XInitThreads); 287 307 X11GETPROC_(XNextEvent); 288 308 X11GETPROC_(XOpenDisplay); 289 309 X11GETPROC_(XPending); 310 X11GETPROC_(XSetErrorHandler); 311 X11GETPROC_(XSync); 312 GLGETPROC_(glXGetFBConfigAttrib, ""); 313 GLGETPROC_(glXGetVisualFromFBConfig, ""); 290 314 GLGETPROC_(glXQueryVersion, ""); 315 GLGETPROC_(glXChooseFBConfig, ""); 291 316 GLGETPROC_(glXChooseVisual, ""); 292 317 GLGETPROC_(glXCreateContext, ""); 318 GLGETPROC_(glXCreatePixmap, ""); 293 319 GLGETPROC_(glXMakeCurrent, ""); 294 320 GLGETPROC_(glXDestroyContext, ""); 321 GLGETPROC_(glXDestroyPixmap, ""); 295 322 #endif 296 323 GLGETPROC_(glAlphaFunc, ""); 324 GLGETPROC_(glBegin, ""); 297 325 GLGETPROC_(glBindTexture, ""); 298 326 GLGETPROC_(glBlendFunc, ""); … … 315 343 GLGETPROC_(glEnable, ""); 316 344 GLGETPROC_(glEnableClientState, ""); 345 GLGETPROC_(glEnd, ""); 346 GLGETPROC_(glFinish, ""); 347 GLGETPROC_(glFlush, ""); 317 348 GLGETPROC_(glFogf, ""); 318 349 GLGETPROC_(glFogfv, ""); … … 336 367 GLGETPROC_(glMultMatrixf, ""); 337 368 GLGETPROC_(glNormalPointer, ""); 369 GLGETPROC_(glOrtho, ""); 338 370 GLGETPROC_(glPixelStorei, ""); 339 371 GLGETPROC_(glPointSize, ""); … … 349 381 GLGETPROC_(glStencilMask, ""); 350 382 GLGETPROC_(glStencilOp, ""); 383 GLGETPROC_(glTexCoord2f, ""); 351 384 GLGETPROC_(glTexCoordPointer, ""); 352 385 GLGETPROC_(glTexImage2D, ""); … … 355 388 GLGETPROC_(glTexParameteri, ""); 356 389 GLGETPROC_(glTexSubImage2D, ""); 390 GLGETPROC_(glVertex2i, ""); 357 391 GLGETPROC_(glVertexPointer, ""); 358 392 GLGETPROC_(glViewport, ""); -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-glLdr.h
r82968 r84725 104 104 #define glAlphaFunc pfn_glAlphaFunc 105 105 106 GLPFN void (GLAPIENTRYP pfn_glBegin)(GLenum mode); 107 #define glBegin pfn_glBegin 108 106 109 GLPFN void (GLAPIENTRYP pfn_glBindTexture)(GLenum target, GLuint texture); 107 110 #define glBindTexture pfn_glBindTexture … … 164 167 #define glEnableClientState pfn_glEnableClientState 165 168 169 GLPFN void (GLAPIENTRYP pfn_glEnd)(void); 170 #define glEnd pfn_glEnd 171 172 GLPFN void (GLAPIENTRYP pfn_glFinish)(void); 173 #define glFinish pfn_glFinish 174 175 GLPFN void (GLAPIENTRYP pfn_glFlush)(void); 176 #define glFlush pfn_glFlush 177 166 178 GLPFN void (GLAPIENTRYP pfn_glFogf)(GLenum pname, GLfloat param); 167 179 #define glFogf pfn_glFogf … … 227 239 #define glNormalPointer pfn_glNormalPointer 228 240 241 GLPFN void (GLAPIENTRYP pfn_glOrtho)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearVal, GLdouble farVal); 242 #define glOrtho pfn_glOrtho 243 229 244 GLPFN void (GLAPIENTRYP pfn_glPixelStorei)(GLenum pname, GLint param); 230 245 #define glPixelStorei pfn_glPixelStorei … … 266 281 #define glStencilOp pfn_glStencilOp 267 282 283 GLPFN void (GLAPIENTRYP pfn_glTexCoord2f)(GLfloat s, GLfloat t); 284 #define glTexCoord2f pfn_glTexCoord2f 285 268 286 GLPFN void (GLAPIENTRYP pfn_glTexCoordPointer)(GLint size, GLenum type, GLsizei stride, const void *pointer); 269 287 #define glTexCoordPointer pfn_glTexCoordPointer … … 284 302 #define glTexSubImage2D pfn_glTexSubImage2D 285 303 304 GLPFN void (GLAPIENTRYP pfn_glVertex2i)(GLint x, GLint y); 305 #define glVertex2i pfn_glVertex2i 306 286 307 GLPFN void (GLAPIENTRYP pfn_glVertexPointer)(GLint size, GLenum type, GLsizei stride, const void *pointer); 287 308 #define glVertexPointer pfn_glVertexPointer … … 322 343 * GLX 323 344 */ 345 GLPFN int (* pfn_glXGetFBConfigAttrib)(Display * dpy, GLXFBConfig config, int attribute, int * value); 346 #define glXGetFBConfigAttrib pfn_glXGetFBConfigAttrib 347 348 GLPFN XVisualInfo * (* pfn_glXGetVisualFromFBConfig)(Display * dpy, GLXFBConfig config); 349 #define glXGetVisualFromFBConfig pfn_glXGetVisualFromFBConfig 350 324 351 GLPFN Bool (* pfn_glXQueryVersion)(Display * dpy, int * major, int * minor); 325 352 #define glXQueryVersion pfn_glXQueryVersion 326 353 354 GLPFN GLXFBConfig * (* pfn_glXChooseFBConfig)(Display * dpy, int screen, const int * attrib_list, int * nelements); 355 #define glXChooseFBConfig pfn_glXChooseFBConfig 356 327 357 GLPFN XVisualInfo* (* pfn_glXChooseVisual)(Display * dpy, int screen, int * attribList); 328 358 #define glXChooseVisual pfn_glXChooseVisual … … 331 361 #define glXCreateContext pfn_glXCreateContext 332 362 363 GLPFN GLXPixmap (* pfn_glXCreatePixmap)(Display * dpy, GLXFBConfig config, Pixmap pixmap, const int * attrib_list); 364 #define glXCreatePixmap pfn_glXCreatePixmap 365 333 366 GLPFN Bool (* pfn_glXMakeCurrent)(Display * dpy, GLXDrawable drawable, GLXContext ctx); 334 367 #define glXMakeCurrent pfn_glXMakeCurrent … … 337 370 #define glXDestroyContext pfn_glXDestroyContext 338 371 372 GLPFN void (* pfn_glXDestroyPixmap)(Display * dpy, GLXPixmap Pixmap); 373 #define glXDestroyPixmap pfn_glXDestroyPixmap 374 339 375 /* 340 376 * X11 … … 348 384 GLPFN Colormap (* pfn_XCreateColormap)(Display *display, Window w, Visual *visual, int alloc); 349 385 #define XCreateColormap pfn_XCreateColormap 386 387 GLPFN Pixmap (* pfn_XCreatePixmap)(Display *display, Drawable d, unsigned int width, unsigned int height, unsigned int depth); 388 #define XCreatePixmap pfn_XCreatePixmap 350 389 351 390 GLPFN Window (* pfn_XCreateWindow)(Display *display, Window parent, int x, int y, unsigned int width, unsigned int height, … … 359 398 #define XDestroyWindow pfn_XDestroyWindow 360 399 400 GLPFN int (* pfn_XFree)(void *data); 401 #define XFree pfn_XFree 402 403 GLPFN int (* pfn_XFreePixmap)(Display *display, Pixmap pixmap); 404 #define XFreePixmap pfn_XFreePixmap 405 361 406 GLPFN Status (* pfn_XInitThreads)(void); 362 407 #define XInitThreads pfn_XInitThreads … … 371 416 #define XPending pfn_XPending 372 417 418 GLPFN int (* (* pfn_XSetErrorHandler)(int (*handler)(Display *, XErrorEvent *)))(Display *, XErrorEvent *); 419 #define XSetErrorHandler pfn_XSetErrorHandler 420 421 GLPFN int (* pfn_XSync)(Display *display, Bool discard); 422 #define XSync pfn_XSync 423 373 424 #endif 374 425
Note:
See TracChangeset
for help on using the changeset viewer.

