Lines Matching refs:gl_config
508 if (_this->gl_config.double_buffer)
512 if (_this->gl_config.alpha_size > 0 || bpp == 32)
514 if (_this->gl_config.depth_size > 0)
516 if (_this->gl_config.stencil_size > 0)
518 if (_this->gl_config.accum_red_size > 0
519 || _this->gl_config.accum_green_size > 0
520 || _this->gl_config.accum_blue_size > 0
521 || _this->gl_config.accum_alpha_size > 0)
643 if (_this->gl_config.dll_handle == NULL) {
653 _this->gl_config.dll_handle = (void*)info.id;
654 _this->gl_config.driver_loaded = 1;
655 SDL_strlcpy(_this->gl_config.driver_path, "libGL.so", SDL_arraysize(_this->gl_config.driver_path));
665 if (_this->gl_config.dll_handle == NULL) {
670 /*if (_this->gl_config.dll_handle != NULL) {*/
673 if (get_image_info((image_id)_this->gl_config.dll_handle, &info) == B_OK) {
675 unload_add_on((image_id)_this->gl_config.dll_handle);
681 if ((_this->gl_config.dll_handle = (void*)load_add_on(path)) != (void*)B_ERROR) {
682 _this->gl_config.driver_loaded = 1;
683 SDL_strlcpy(_this->gl_config.driver_path, path, SDL_arraysize(_this->gl_config.driver_path));
687 if (_this->gl_config.dll_handle != NULL) {
690 _this->gl_config.dll_handle = NULL;
691 _this->gl_config.driver_loaded = 0;
692 *_this->gl_config.driver_path = '\0';
699 if (_this->gl_config.dll_handle != NULL) {
702 if ((err = get_image_symbol((image_id)_this->gl_config.dll_handle, proc, B_SYMBOL_TYPE_ANY, &location)) == B_OK) {
834 if (_this->gl_config.dll_handle != NULL)
835 unload_add_on((image_id)_this->gl_config.dll_handle);