Lines Matching refs:gl_data
69 extensions = this->gl_data->glXQueryExtensionsString(GFX_Display,SDL_Screen);
199 glx_visualinfo = this->gl_data->glXChooseVisual(GFX_Display,
204 glx_visualinfo = this->gl_data->glXChooseVisual(GFX_Display,
261 glx_context = this->gl_data->glXCreateContext(GFX_Display,
275 this->gl_data->glXSwapIntervalSGI = NULL;
278 this->gl_data->glXSwapIntervalMESA = NULL;
279 this->gl_data->glXGetSwapIntervalMESA = NULL;
282 if ( this->gl_data->glXSwapIntervalMESA ) {
283 this->gl_data->glXSwapIntervalMESA(this->gl_config.swap_control);
284 } else if ( this->gl_data->glXSwapIntervalSGI ) {
285 this->gl_data->glXSwapIntervalSGI(this->gl_config.swap_control);
304 this->gl_data->glXMakeCurrent(GFX_Display, None, NULL);
307 this->gl_data->glXDestroyContext(GFX_Display, glx_context);
323 if ( ! this->gl_data->glXMakeCurrent(GFX_Display,
393 retval = this->gl_data->glXGetConfig(GFX_Display, glx_visualinfo, glx_attrib, value);
405 if ( this->gl_data->glXGetSwapIntervalMESA ) {
406 *value = this->gl_data->glXGetSwapIntervalMESA();
416 retval = this->gl_data->glXGetConfig(GFX_Display, glx_visualinfo, glx_attrib, value);
423 this->gl_data->glXSwapBuffers(GFX_Display, SDL_Window);
447 this->gl_data->glXGetProcAddress = NULL;
448 this->gl_data->glXChooseVisual = NULL;
449 this->gl_data->glXCreateContext = NULL;
450 this->gl_data->glXDestroyContext = NULL;
451 this->gl_data->glXMakeCurrent = NULL;
452 this->gl_data->glXSwapBuffers = NULL;
453 this->gl_data->glXSwapIntervalSGI = NULL;
454 this->gl_data->glXSwapIntervalMESA = NULL;
455 this->gl_data->glXGetSwapIntervalMESA = NULL;
496 this->gl_data->glXGetProcAddress =
498 this->gl_data->glXChooseVisual =
500 this->gl_data->glXCreateContext =
502 this->gl_data->glXDestroyContext =
504 this->gl_data->glXMakeCurrent =
506 this->gl_data->glXSwapBuffers =
508 this->gl_data->glXGetConfig =
510 this->gl_data->glXQueryExtensionsString =
512 this->gl_data->glXSwapIntervalSGI =
514 this->gl_data->glXSwapIntervalMESA =
516 this->gl_data->glXGetSwapIntervalMESA =
519 if ( (this->gl_data->glXChooseVisual == NULL) ||
520 (this->gl_data->glXCreateContext == NULL) ||
521 (this->gl_data->glXDestroyContext == NULL) ||
522 (this->gl_data->glXMakeCurrent == NULL) ||
523 (this->gl_data->glXSwapBuffers == NULL) ||
524 (this->gl_data->glXGetConfig == NULL) ||
525 (this->gl_data->glXQueryExtensionsString == NULL)) {
546 if ( this->gl_data->glXGetProcAddress ) {
547 return this->gl_data->glXGetProcAddress((const GLubyte *)proc);