Lines Matching refs:gl_config

155     _this->gl_config.dll_handle = SDL_LoadObject(path);
156 if (!_this->gl_config.dll_handle) {
159 SDL_strlcpy(_this->gl_config.driver_path, path,
160 SDL_arraysize(_this->gl_config.driver_path));
167 return SDL_LoadFunction(_this->gl_config.dll_handle, proc);
173 SDL_UnloadObject(_this->gl_config.dll_handle);
174 _this->gl_config.dll_handle = NULL;
193 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_ES) {
216 if ((_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_CORE) && !lion_or_later) {
226 if (_this->gl_config.profile_mask == SDL_GL_CONTEXT_PROFILE_CORE) {
237 attr[i++] = _this->gl_config.depth_size;
239 if (_this->gl_config.double_buffer) {
243 if (_this->gl_config.stereo) {
247 if (_this->gl_config.stencil_size) {
249 attr[i++] = _this->gl_config.stencil_size;
252 if ((_this->gl_config.accum_red_size +
253 _this->gl_config.accum_green_size +
254 _this->gl_config.accum_blue_size +
255 _this->gl_config.accum_alpha_size) > 0) {
257 …attr[i++] = _this->gl_config.accum_red_size + _this->gl_config.accum_green_size + _this->gl_config
260 if (_this->gl_config.multisamplebuffers) {
262 attr[i++] = _this->gl_config.multisamplebuffers;
265 if (_this->gl_config.multisamplesamples) {
267 attr[i++] = _this->gl_config.multisamplesamples;
271 if (_this->gl_config.accelerated >= 0) {
272 if (_this->gl_config.accelerated) {
290 if (_this->gl_config.share_with_current_context) {
309 if (_this->gl_config.major_version < 3 &&
310 _this->gl_config.profile_mask == 0 &&
311 _this->gl_config.flags == 0) {
336 if ((glversion_major < _this->gl_config.major_version) ||
337 …((glversion_major == _this->gl_config.major_version) && (glversion_minor < _this->gl_config.minor_…
346 /*_this->gl_config.major_version = glversion_major;*/
347 /*_this->gl_config.minor_version = glversion_minor;*/