Lines Matching refs:gl_config
41 if ( ! this->gl_config.driver_loaded ) {
49 if ( this->gl_config.red_size != 0 &&
50 this->gl_config.blue_size != 0 &&
51 this->gl_config.green_size != 0 ) {
53 attributes[i++] = this->gl_config.red_size;
55 attributes[i++] = this->gl_config.green_size;
57 attributes[i++] = this->gl_config.blue_size;
59 attributes[i++] = this->gl_config.alpha_size;
61 if ( this->gl_config.double_buffer ) {
64 if ( this->gl_config.depth_size != 0 ) {
66 attributes[i++] = this->gl_config.depth_size;
68 if ( this->gl_config.stencil_size != 0 ) {
70 attributes[i++] = this->gl_config.stencil_size;
72 if ( this->gl_config.accum_red_size != 0 &&
73 this->gl_config.accum_blue_size != 0 &&
74 this->gl_config.accum_green_size != 0 ) {
77 attributes[i++] = this->gl_config.accum_red_size;
79 attributes[i++] = this->gl_config.accum_green_size;
81 attributes[i++] = this->gl_config.accum_blue_size;
83 attributes[i++] = this->gl_config.accum_alpha_size;
85 if ( this->gl_config.stereo ) {
89 if ( this->gl_config.multisamplebuffers != 0 ) {
91 attributes[i++] = this->gl_config.multisamplebuffers;
93 if ( this->gl_config.multisamplesamples != 0 ) {
95 attributes[i++] = this->gl_config.multisamplesamples;
98 if ( this->gl_config.accelerated > 0 ) {
179 this->gl_config.driver_loaded = 1;
188 this->gl_config.driver_loaded = 0;