summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/extensions.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: add ATI_texture_compression_3dcMarek Olšák2011-03-081-0/+2
| | | | | | | LUMINANCE_ALPHA_LATC2 = LUMINANCE_ALPHA_3DC, so this is easy. Note that there is no specification for 3DC, just a few white papers from ATI.
* mesa: add EXT_texture_compression_latcMarek Olšák2011-03-081-0/+2
| | | | | | | | | | | | | | | | | The encoding/decoding algorithms are shared with RGTC. Thanks to some magic with the base format, the RGTC texstore functions work for LATC too. swrast passes the related piglit tests besides two things: - The alpha channel is wrong (it's always 1), however the incorrect alpha channel makes some other tests fail too, so I guess it's unrelated to LATC. - Signed LATC fetches aren't correct yet (signed values are clamped to [0,1]), however RGTC has the same problem. Further testing (with other of my patches) shows that hardware drivers and softpipe work. BTW, ETQW uses this extension.
* mesa: remove GL_SGI_texture_color_table supportBrian Paul2011-02-281-2/+0
| | | | | | It was only implemented in the swrast driver and probably not used by any applications. A modern app would use a dependent/chained texture lookup in the fragment shader.
* glsl: Enable GL_OES_texture_3D extension for ES2.Kenneth Graunke2011-02-281-2/+1
|
* swrast: add RGTC supportDave Airlie2011-02-281-0/+1
|
* mesa: Fix available APIs for AMD_conservative_depthChad Versace2011-01-281-1/+1
| | | | | Remove ES2, since AMD_conservative_depth is not listed in the OpenGL ES extension registry.
* mesa: fix compilationZack Rusin2011-01-261-5/+10
| | | | this isn't c++ please don't mix declerations with code
* mesa: Allow extensions in MESA_EXTENSION_OVERRIDE to be prefixed with '+'Chad Versace2011-01-261-0/+5
| | | | | If an extension is prefixed with '+', attempt to enable it. This introduces symmetry with the prefix '-', which is already allowed.
* mesa: Simplify logic in get_extension_override()Chad Versace2011-01-261-62/+41
| | | | | | * Reduce max indentation level from 7 to 3. * Eliminate counter variables. * Remove function append().
* mesa: Add AMD_conservative_depth to extension listChad Versace2011-01-261-0/+1
| | | | | | | The extension is off by default. First in a patchset that implements support for AMD_conservative_depth in the compiler.
* mesa: add ARB_framebuffer_sRGB as alias of the EXT variantMarek Olšák2011-01-231-0/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa/swrast: implement EXT_texture_sRGB_decodeDave Airlie2011-01-161-0/+2
| | | | | | | This implements the extension by choosing a different set of texture fetch functions when the texture parameter changes. Signed-off-by: Dave Airlie <[email protected]>
* mesa: begin implementation of GL_ARB_draw_buffers_blendBrian Paul2011-01-151-0/+1
|
* Merge branch 'draw-instanced'Brian Paul2011-01-151-0/+1
|\ | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_llvm.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/glsl/ir_set_program_inouts.cpp src/mesa/tnl/t_vb_program.c
| * mesa: enable GL_ARB_draw_instanced for software driversBrian Paul2010-12-101-0/+1
| |
* | mesa: Add extension enable bit for GL_ARB_ES2_compatibility.Eric Anholt2011-01-141-0/+1
| |
* | mesa: Change OES_standard_derivatives to be stand-alone extensionChad Versace2011-01-131-1/+2
| | | | | | | | | | | | | | | | Add a bit in struct gl_extensions for OES_standard_derivatives, and enable the bit by default. Advertise the extension only if the bit is enabled. Previously, OES_standard_derivatives was advertised in GLES2 contexts if ARB_framebuffer_object was enabled.
* | mesa: Move loop variable declarations outside for loop in extensions.c.Vinson Lee2011-01-121-8/+15
| | | | | | | | Fixes MSVC build.
* | mesa: Move declaration before code in extensions.c.Vinson Lee2011-01-121-6/+16
| | | | | | | | Fixes SCons build.
* | mesa: Change OES_point_sprite to depend on ARB_point_spriteChad Versace2011-01-121-1/+1
| | | | | | | | | | | | | | | | The extension string in GLES1 contexts always advertised GL_OES_point_sprite. Now advertisement depends on ARB_point_sprite being enabled. Reviewed-by: Ian Romanick <[email protected]>
* | mesa: Change dependencies of some OES extension stringsChad Versace2011-01-121-5/+5
| | | | | | | | | | | | | | Change all OES extension strings that depend on ARB_framebuffer_object to instead depend on EXT_framebuffer_object. Reviewed-by: Ian Romanick <[email protected]>
* | mesa: Add/remove extensions in extension stringChad Versace2011-01-121-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Add GL_OES_stencil8 to ES2. Remove the following: GL_OES_compressed_paletted_texture : ES1 GL_OES_depth32 : ES1, ES2 GL_OES_stencil1 : ES1, ES2 GL_OES_stencil4 : ES1, ES2 Mesa advertised these extensions, but did not actually support them. Reviewed-by: Ian Romanick <[email protected]>
* | mesa: Refactor handling of extension stringsChad Versace2011-01-121-490/+403
| | | | | | | | | | | | | | | | | | | | | | | | Place GL, GLES1, and GLES2 extensions in a unified extension table. This allows one to enable, disable, and query the status of GLES1 and GLES2 extensions by name. When tested on Intel Ironlake, this patch did not alter the extension string [as given by glGetString(GL_EXTENSIONS)] for any API. Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* | mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee2011-01-071-0/+1
| |
* | mesa/swrast/st: add ARB_occlusion_query2 support.Dave Airlie2010-12-181-0/+1
| | | | | | | | | | | | | | | | | | | | This gets my vote for most pointless extension of all time, I'm guessing some driver could possibly optimise for this instead of counting it might just get a true/false, but I'm not really sure. need this to eventually advertise 3.3 despite its total uselessness. Signed-off-by: Dave Airlie <[email protected]>
* | Remove OES_compressed_paletted_texture from the ES2 extension list.Kenneth Graunke2010-12-161-2/+0
| | | | | | | | We don't support it.
* | mesa, st/mesa: disable GL_ARB_geometry_shader4Brian Paul2010-12-131-1/+2
| | | | | | | | | | | | | | The new GLSL compiler doesn't support geom shaders yet so disable the GL_ARB_geometry_shader4 extension. Undo this when geom shaders work again. NOTE: This is a candidate for the 7.10 branch.
* | mesa: Do not advertise GL_OES_texture_3D.Chia-I Wu2010-12-081-0/+4
|/ | | | | GL_OES_texture_3D has a GLSL counterpart. Since it is not implemented, GL_OES_texture_3D should not be advertised.
* mesa: add extension table entry for GL_EXT_gpu_shader4Brian Paul2010-10-281-0/+1
|
* swrast: Enable GL_EXT_separate_shader_objects in software pathsIan Romanick2010-10-271-0/+1
|
* mesa: Add infrastructure to track GL_EXT_separate_shader_objectsIan Romanick2010-10-271-0/+1
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-22/+22
|
* glsl: add support for shader stencil exportDave Airlie2010-10-131-0/+1
| | | | | This adds proper support for the GL_ARB_shader_stencil_export extension to the GLSL compiler. Thanks to Ian for pointing out where I need to add things.
* main: Enable GL_ARB_explicit_attrib_location for swrastIan Romanick2010-10-081-1/+2
|
* gles2: Add GL_EXT_texture_format_BGRA8888 supportKristian Høgsberg2010-10-071-0/+4
|
* mesa: Add ARB_texture_compression_rgtc as an alias for ↵Ian Romanick2010-10-011-1/+2
| | | | | | EXT_texture_compression_rgtc Change the name in the extension tracking structure to ARB (from EXT).
* mesa: Enable GL_ARB_texture_rg in software pathsIan Romanick2010-10-011-0/+1
|
* Remove GL_EXT_cull_vertexIan Romanick2010-09-271-1/+0
| | | | | This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
* Remove GL_MESA_packed_depth_stencilIan Romanick2010-09-271-1/+0
| | | | This extension was never enabled in any driver.
* mesa: Force GL_SGIS_generate_mipmap to always be enabledIan Romanick2010-09-271-3/+3
| | | | As per discussions at XDS.
* mesa: Force GL_ARB_copy_buffer to always be enabledIan Romanick2010-09-271-2/+2
| | | | As per discussions at XDS.
* mesa: Remove EXT_convolution.Eric Anholt2010-09-231-3/+0
| | | | More optional code.
* mesa: Remove SGI_color_matrix.Eric Anholt2010-09-231-3/+0
| | | | Another optional ARB_imaging subset extension.
* mesa: Remove SGI_color_table.Eric Anholt2010-09-231-3/+0
| | | | Another optional ARB_imaging subset extension.
* mesa: Remove EXT_histogram.Eric Anholt2010-09-231-3/+0
| | | | This has always been optional, and not useful.
* mesa: Remove the non-required ARB_imaging extension.Eric Anholt2010-09-231-4/+1
| | | | | | | Many of the EXT_ extensions in the subset have significant code overhead with no users. It is not a required part of GL -- though text describing the extension is part of the core spec since 1.2, it is always conditional on the ARB_imaging extension.
* mesa: don't advertise bogus GL_ARB_shading_language_120 extensionBrian Paul2010-09-211-7/+0
| | | | | | | | | | | Instead of using the invalid GL_ARB_shading_language_120 extension to determine the GLSL version, use a new ctx->Const.GLSLVersion field. Updated the intel and r600 drivers, but untested. See fd.o bug 29910 NOTE: This is a candidate for the 7.9 branch (but let's wait and see if there's any regressions).
* mesa: don't expose unsupported GL_ARB_geometry_shader4 for nowLuca Barbieri2010-09-051-1/+2
| | | | | | | The new GLSL compiler doesn't support it. Advertising it prevents Unigine Heaven from working, since it attempts to use it.
* mesa: fix some printf warnings with castsBrian Paul2010-09-021-1/+1
|
* mesa: initial support for new GL 3.0 texture formatsBrian Paul2010-07-071-2/+4
|