Lines Matching refs:gl_config
185 if ( ! this->gl_config.driver_loaded ) {
197 if ( this->gl_config.double_buffer ) {
200 if ( this->gl_config.stereo ) {
204 GL_pfd.cColorBits = this->gl_config.buffer_size;
205 GL_pfd.cRedBits = this->gl_config.red_size;
206 GL_pfd.cGreenBits = this->gl_config.green_size;
207 GL_pfd.cBlueBits = this->gl_config.blue_size;
208 GL_pfd.cAlphaBits = this->gl_config.alpha_size;
209 GL_pfd.cAccumRedBits = this->gl_config.accum_red_size;
210 GL_pfd.cAccumGreenBits = this->gl_config.accum_green_size;
211 GL_pfd.cAccumBlueBits = this->gl_config.accum_blue_size;
212 GL_pfd.cAccumAlphaBits = this->gl_config.accum_alpha_size;
216 GL_pfd.cDepthBits = this->gl_config.depth_size;
217 GL_pfd.cStencilBits = this->gl_config.stencil_size;
225 *iAttr++ = this->gl_config.red_size;
227 *iAttr++ = this->gl_config.green_size;
229 *iAttr++ = this->gl_config.blue_size;
237 if (this->gl_config.accelerated) {
243 if ( this->gl_config.alpha_size ) {
245 *iAttr++ = this->gl_config.alpha_size;
249 *iAttr++ = this->gl_config.double_buffer;
252 *iAttr++ = this->gl_config.depth_size;
254 if ( this->gl_config.stencil_size ) {
256 *iAttr++ = this->gl_config.stencil_size;
259 if ( this->gl_config.accum_red_size ) {
261 *iAttr++ = this->gl_config.accum_red_size;
264 if ( this->gl_config.accum_green_size ) {
266 *iAttr++ = this->gl_config.accum_green_size;
269 if ( this->gl_config.accum_blue_size ) {
271 *iAttr++ = this->gl_config.accum_blue_size;
274 if ( this->gl_config.accum_alpha_size ) {
276 *iAttr++ = this->gl_config.accum_alpha_size;
279 if ( this->gl_config.stereo ) {
284 if ( this->gl_config.multisamplebuffers ) {
286 *iAttr++ = this->gl_config.multisamplebuffers;
289 if ( this->gl_config.multisamplesamples ) {
291 *iAttr++ = this->gl_config.multisamplesamples;
307 if ( ( !pixel_format ) && ( this->gl_config.accelerated < 0 ) ) {
372 if ( this->gl_config.swap_control >= 0 ) {
374 this->gl_data->wglSwapIntervalEXT(this->gl_config.swap_control);
578 if ( this->gl_config.driver_loaded ) {
579 FreeLibrary((HMODULE)this->gl_config.dll_handle);
589 this->gl_config.dll_handle = NULL;
590 this->gl_config.driver_loaded = 0;
640 this->gl_config.dll_handle = handle;
641 SDL_strlcpy(this->gl_config.driver_path, path, SDL_arraysize(this->gl_config.driver_path));
642 this->gl_config.driver_loaded = 1;
654 func = GetProcAddress(this->gl_config.dll_handle, proc);