Lines Matching full:extensions
37 #include "extensions.h"
91 * Overrides extensions in \c ctx based on the values in
102 GLboolean *ctx_ext = (GLboolean*)&ctx->Extensions; in _mesa_override_extensions()
118 * \return offset of extensions withint `ext' or 0 if extension is not known
154 * \c override is a space-separated list of extensions to
241 * \brief Initialize extension tables and enable default extensions.
247 _mesa_init_extensions(struct gl_extensions *extensions) in _mesa_init_extensions() argument
249 GLboolean *base = (GLboolean *) extensions; in _mesa_init_extensions()
253 /* First, turn all extensions off. */ in _mesa_init_extensions()
257 /* Then, selectively turn default extensions on. */ in _mesa_init_extensions()
258 extensions->dummy_true = GL_TRUE; in _mesa_init_extensions()
260 /* Always enable these extensions for all drivers. in _mesa_init_extensions()
265 extensions->MESA_pack_invert = GL_TRUE; in _mesa_init_extensions()
266 extensions->MESA_window_pos = GL_TRUE; in _mesa_init_extensions()
268 extensions->ARB_ES2_compatibility = GL_TRUE; in _mesa_init_extensions()
269 extensions->ARB_draw_elements_base_vertex = GL_TRUE; in _mesa_init_extensions()
270 extensions->ARB_explicit_attrib_location = GL_TRUE; in _mesa_init_extensions()
271 extensions->ARB_explicit_uniform_location = GL_TRUE; in _mesa_init_extensions()
272 extensions->ARB_fragment_coord_conventions = GL_TRUE; in _mesa_init_extensions()
273 extensions->ARB_fragment_program = GL_TRUE; in _mesa_init_extensions()
274 extensions->ARB_fragment_shader = GL_TRUE; in _mesa_init_extensions()
275 extensions->ARB_half_float_vertex = GL_TRUE; in _mesa_init_extensions()
276 extensions->ARB_internalformat_query = GL_TRUE; in _mesa_init_extensions()
277 extensions->ARB_internalformat_query2 = GL_TRUE; in _mesa_init_extensions()
278 extensions->ARB_map_buffer_range = GL_TRUE; in _mesa_init_extensions()
279 extensions->ARB_occlusion_query = GL_TRUE; in _mesa_init_extensions()
280 extensions->ARB_sync = GL_TRUE; in _mesa_init_extensions()
281 extensions->ARB_vertex_program = GL_TRUE; in _mesa_init_extensions()
282 extensions->ARB_vertex_shader = GL_TRUE; in _mesa_init_extensions()
284 extensions->EXT_EGL_image_storage = GL_TRUE; in _mesa_init_extensions()
285 extensions->EXT_gpu_program_parameters = GL_TRUE; in _mesa_init_extensions()
286 extensions->EXT_provoking_vertex = GL_TRUE; in _mesa_init_extensions()
287 extensions->EXT_shadow_samplers = GL_TRUE; in _mesa_init_extensions()
288 extensions->EXT_stencil_two_side = GL_TRUE; in _mesa_init_extensions()
289 extensions->EXT_texture_env_dot3 = GL_TRUE; in _mesa_init_extensions()
291 extensions->ATI_fragment_shader = GL_TRUE; in _mesa_init_extensions()
292 extensions->ATI_texture_env_combine3 = GL_TRUE; in _mesa_init_extensions()
294 extensions->MESA_framebuffer_flip_y = GL_TRUE; in _mesa_init_extensions()
296 extensions->NV_copy_image = GL_TRUE; in _mesa_init_extensions()
297 extensions->NV_fog_distance = GL_TRUE; in _mesa_init_extensions()
298 extensions->NV_texture_env_combine4 = GL_TRUE; in _mesa_init_extensions()
299 extensions->NV_texture_rectangle = GL_TRUE; in _mesa_init_extensions()
301 extensions->OES_EGL_image = GL_TRUE; in _mesa_init_extensions()
302 extensions->OES_EGL_image_external = GL_TRUE; in _mesa_init_extensions()
303 extensions->OES_draw_texture = GL_TRUE; in _mesa_init_extensions()
319 const bool *base = (bool *) &ctx->Extensions; in _mesa_extension_supported()
326 * Compare two entries of the extensions table. Sorts first by year,
361 /* Number of extensions */ in _mesa_make_extension_string()
363 /* Indices of the extensions sorted by year */ in _mesa_make_extension_string()
374 _mesa_debug(ctx, "Note: limiting GL extensions to %u or earlier\n", in _mesa_make_extension_string()
399 /* Sort extensions in chronological order because idTech 2/3 games in _mesa_make_extension_string()
435 * Return number of enabled extensions.
443 if (ctx->Extensions.Count != 0) in _mesa_get_extension_count()
444 return ctx->Extensions.Count; in _mesa_get_extension_count()
448 ctx->Extensions.Count++; in _mesa_get_extension_count()
453 ctx->Extensions.Count++; in _mesa_get_extension_count()
455 return ctx->Extensions.Count; in _mesa_get_extension_count()