Lines Matching defs:conf
44 wgl_match_config(const _EGLConfig *conf, const _EGLConfig *criteria)
46 if (_eglCompareConfigs(conf, criteria, NULL, EGL_FALSE) != 0)
49 if (!_eglMatchConfig(conf, criteria))
58 struct wgl_egl_config *conf;
129 conf = (struct wgl_egl_config *)matching_config;
131 if (!conf->stw_config[double_buffer])
132 conf->stw_config[double_buffer] = stw_config;
138 conf = calloc(1, sizeof(*conf));
139 if (conf == NULL)
142 conf->stw_config[double_buffer] = stw_config;
144 memcpy(&conf->base, &base, sizeof base);
145 conf->base.SurfaceType = 0;
146 conf->base.ConfigID = config_id;
148 _eglLinkConfig(&conf->base);
155 conf->base.SurfaceType |= surface_type;
157 return conf;
346 wgl_create_context(_EGLDisplay *disp, _EGLConfig *conf,
354 struct wgl_egl_config *wgl_config = wgl_egl_config(conf);
363 if (!_eglInitContext(&wgl_ctx->base, disp, conf, attrib_list))
414 if (conf != NULL) {
616 wgl_create_window_surface(_EGLDisplay *disp, _EGLConfig *conf,
619 struct wgl_egl_config *wgl_conf = wgl_egl_config(conf);
625 if (!_eglInitSurface(&wgl_surf->base, disp, EGL_WINDOW_BIT, conf, attrib_list, native_window)) {