Lines Matching refs:Extensions
36 #include "extensions.h"
78 * \brief Table of supported OpenGL extensions for all API's.
81 /* ARB Extensions */
157 /* EXT extensions */
228 /* OES extensions */
271 /* Vendor extensions */
356 * \brief Extensions enabled by default.
358 * These extensions are enabled by _mesa_init_extensions().
376 /* Vendor Extensions */
389 * Enable all extensions suitable for a software-only renderer.
395 /*ctx->Extensions.ARB_copy_buffer = GL_TRUE;*/
396 ctx->Extensions.ARB_depth_clamp = GL_TRUE;
397 ctx->Extensions.ARB_depth_texture = GL_TRUE;
398 ctx->Extensions.ARB_draw_elements_base_vertex = GL_TRUE;
399 ctx->Extensions.ARB_draw_instanced = GL_TRUE;
400 ctx->Extensions.ARB_explicit_attrib_location = GL_TRUE;
401 ctx->Extensions.ARB_fragment_coord_conventions = GL_TRUE;
403 ctx->Extensions.ARB_fragment_program = GL_TRUE;
404 ctx->Extensions.ARB_fragment_program_shadow = GL_TRUE;
407 ctx->Extensions.ARB_fragment_shader = GL_TRUE;
410 ctx->Extensions.ARB_framebuffer_object = GL_TRUE;
414 Extensions.ARB_geometry_shader4 = GL_TRUE;
416 ctx->Extensions.ARB_half_float_pixel = GL_TRUE;
417 ctx->Extensions.ARB_half_float_vertex = GL_TRUE;
418 ctx->Extensions.ARB_map_buffer_range = GL_TRUE;
420 ctx->Extensions.ARB_occlusion_query = GL_TRUE;
421 ctx->Extensions.ARB_occlusion_query2 = GL_TRUE;
423 ctx->Extensions.ARB_point_sprite = GL_TRUE;
425 ctx->Extensions.ARB_shader_objects = GL_TRUE;
426 ctx->Extensions.EXT_separate_shader_objects = GL_TRUE;
429 ctx->Extensions.ARB_shading_language_100 = GL_TRUE;
431 ctx->Extensions.ARB_shadow = GL_TRUE;
432 ctx->Extensions.ARB_texture_border_clamp = GL_TRUE;
433 ctx->Extensions.ARB_texture_cube_map = GL_TRUE;
434 ctx->Extensions.ARB_texture_env_combine = GL_TRUE;
435 ctx->Extensions.ARB_texture_env_crossbar = GL_TRUE;
436 ctx->Extensions.ARB_texture_env_dot3 = GL_TRUE;
437 /*ctx->Extensions.ARB_texture_float = GL_TRUE;*/
438 ctx->Extensions.ARB_texture_non_power_of_two = GL_TRUE;
439 ctx->Extensions.ARB_texture_rg = GL_TRUE;
440 ctx->Extensions.ARB_texture_compression_rgtc = GL_TRUE;
441 ctx->Extensions.ARB_texture_storage = GL_TRUE;
443 ctx->Extensions.ARB_vertex_program = GL_TRUE;
446 ctx->Extensions.ARB_vertex_shader = GL_TRUE;
449 ctx->Extensions.ARB_sync = GL_TRUE;
452 ctx->Extensions.APPLE_object_purgeable = GL_TRUE;
454 ctx->Extensions.ATI_envmap_bumpmap = GL_TRUE;
456 ctx->Extensions.ATI_fragment_shader = GL_TRUE;
458 ctx->Extensions.ATI_texture_compression_3dc = GL_TRUE;
459 ctx->Extensions.ATI_texture_env_combine3 = GL_TRUE;
460 ctx->Extensions.ATI_texture_mirror_once = GL_TRUE;
461 ctx->Extensions.ATI_separate_stencil = GL_TRUE;
462 ctx->Extensions.EXT_blend_color = GL_TRUE;
463 ctx->Extensions.EXT_blend_equation_separate = GL_TRUE;
464 ctx->Extensions.EXT_blend_func_separate = GL_TRUE;
465 ctx->Extensions.EXT_blend_minmax = GL_TRUE;
466 ctx->Extensions.EXT_depth_bounds_test = GL_TRUE;
467 ctx->Extensions.EXT_draw_buffers2 = GL_TRUE;
468 ctx->Extensions.EXT_fog_coord = GL_TRUE;
470 ctx->Extensions.EXT_framebuffer_object = GL_TRUE;
473 ctx->Extensions.EXT_framebuffer_blit = GL_TRUE;
475 ctx->Extensions.EXT_packed_depth_stencil = GL_TRUE;
477 ctx->Extensions.EXT_pixel_buffer_object = GL_TRUE;
479 ctx->Extensions.EXT_point_parameters = GL_TRUE;
480 ctx->Extensions.EXT_provoking_vertex = GL_TRUE;
481 ctx->Extensions.EXT_shadow_funcs = GL_TRUE;
482 ctx->Extensions.EXT_secondary_color = GL_TRUE;
483 ctx->Extensions.EXT_stencil_two_side = GL_TRUE;
484 ctx->Extensions.EXT_texture_array = GL_TRUE;
485 ctx->Extensions.EXT_texture_compression_latc = GL_TRUE;
486 ctx->Extensions.EXT_texture_env_dot3 = GL_TRUE;
487 ctx->Extensions.EXT_texture_filter_anisotropic = GL_TRUE;
488 ctx->Extensions.EXT_texture_mirror_clamp = GL_TRUE;
489 ctx->Extensions.EXT_texture_shared_exponent = GL_TRUE;
491 ctx->Extensions.EXT_texture_sRGB = GL_TRUE;
492 ctx->Extensions.EXT_texture_sRGB_decode = GL_TRUE;
494 ctx->Extensions.EXT_texture_swizzle = GL_TRUE;
496 /*ctx->Extensions.EXT_transform_feedback = GL_TRUE;*/
498 ctx->Extensions.EXT_vertex_array_bgra = GL_TRUE;
499 /*ctx->Extensions.IBM_multimode_draw_arrays = GL_TRUE;*/
500 ctx->Extensions.MESA_pack_invert = GL_TRUE;
501 ctx->Extensions.MESA_resize_buffers = GL_TRUE;
502 ctx->Extensions.MESA_texture_array = GL_TRUE;
503 ctx->Extensions.MESA_ycbcr_texture = GL_TRUE;
504 ctx->Extensions.NV_blend_square = GL_TRUE;
505 ctx->Extensions.NV_conditional_render = GL_TRUE;
506 /*ctx->Extensions.NV_light_max_exponent = GL_TRUE;*/
507 ctx->Extensions.NV_point_sprite = GL_TRUE;
508 ctx->Extensions.NV_texture_env_combine4 = GL_TRUE;
509 ctx->Extensions.NV_texture_rectangle = GL_TRUE;
510 /*ctx->Extensions.NV_texgen_reflection = GL_TRUE;*/
512 ctx->Extensions.NV_vertex_program = GL_TRUE;
513 ctx->Extensions.NV_vertex_program1_1 = GL_TRUE;
516 ctx->Extensions.NV_fragment_program = GL_TRUE;
519 ctx->Extensions.NV_fragment_program_option = GL_TRUE;
522 ctx->Extensions.EXT_gpu_program_parameters = GL_TRUE;
537 * Enable all OpenGL 1.3 features and extensions.
543 ctx->Extensions.ARB_texture_border_clamp = GL_TRUE;
544 ctx->Extensions.ARB_texture_cube_map = GL_TRUE;
545 ctx->Extensions.ARB_texture_env_combine = GL_TRUE;
546 ctx->Extensions.ARB_texture_env_dot3 = GL_TRUE;
547 /*ctx->Extensions.ARB_transpose_matrix = GL_TRUE;*/
553 * Enable all OpenGL 1.4 features and extensions.
559 ctx->Extensions.ARB_depth_texture = GL_TRUE;
560 ctx->Extensions.ARB_shadow = GL_TRUE;
561 ctx->Extensions.ARB_texture_env_crossbar = GL_TRUE;
562 ctx->Extensions.ARB_window_pos = GL_TRUE;
563 ctx->Extensions.EXT_blend_color = GL_TRUE;
564 ctx->Extensions.EXT_blend_func_separate = GL_TRUE;
565 ctx->Extensions.EXT_blend_minmax = GL_TRUE;
566 ctx->Extensions.EXT_fog_coord = GL_TRUE;
567 ctx->Extensions.EXT_point_parameters = GL_TRUE;
568 ctx->Extensions.EXT_secondary_color = GL_TRUE;
573 * Enable all OpenGL 1.5 features and extensions.
579 ctx->Extensions.ARB_occlusion_query = GL_TRUE;
580 ctx->Extensions.EXT_shadow_funcs = GL_TRUE;
585 * Enable all OpenGL 2.0 features and extensions.
592 ctx->Extensions.ARB_fragment_shader = GL_TRUE;
594 ctx->Extensions.ARB_point_sprite = GL_TRUE;
595 ctx->Extensions.EXT_blend_equation_separate = GL_TRUE;
596 ctx->Extensions.ARB_texture_non_power_of_two = GL_TRUE;
598 ctx->Extensions.ARB_shader_objects = GL_TRUE;
601 ctx->Extensions.ARB_shading_language_100 = GL_TRUE;
603 ctx->Extensions.EXT_stencil_two_side = GL_TRUE;
605 ctx->Extensions.ARB_vertex_shader = GL_TRUE;
611 * Enable all OpenGL 2.1 features and extensions.
618 ctx->Extensions.EXT_pixel_buffer_object = GL_TRUE;
621 ctx->Extensions.EXT_texture_sRGB = GL_TRUE;
635 if (ctx->Extensions.String) {
651 GLboolean *base = (GLboolean *) &ctx->Extensions;
697 base = (GLboolean *) &ctx->Extensions;
705 * \c MESA_EXTENSION_OVERRIDE is a space-separated list of extensions to
730 /* extra_exts: List of unrecognized extensions. */
770 * \brief Initialize extension tables and enable default extensions.
778 GLboolean *base = (GLboolean *) &ctx->Extensions;
783 /* First, turn all extensions off. */
787 /* Then, selectively turn default extensions on. */
788 ctx->Extensions.dummy_true = GL_TRUE;
798 * Compare two entries of the extensions table. Sorts first by year,
833 /* Number of extensions */
835 /* Indices of the extensions sorted by year */
837 /* String of extra extensions. */
839 GLboolean *base = (GLboolean *) &ctx->Extensions;
849 _mesa_debug(ctx, "Note: limiting GL extensions to %u or earlier\n",
880 /* Sort extensions in chronological order because certain old applications (e.g.,
882 * order ensure that the extensions that such applications expect will fit into
913 * Return number of enabled extensions.
922 if (ctx->Extensions.Count != 0)
923 return ctx->Extensions.Count;
925 base = (GLboolean *) &ctx->Extensions;
928 ctx->Extensions.Count++;
931 return ctx->Extensions.Count;
944 base = (GLboolean*) &ctx->Extensions;