summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_extensions.c
AgeCommit message (Collapse)AuthorFilesLines
2010-10-27intel: Enable GL_EXT_separate_shader_objects in Intel driversIan Romanick1-0/+2
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg1-1/+1
2010-10-11intel_extensions: Add ability to set GLSL version via environmentChad Versace1-1/+18
Add ability to set the GLSL version used by the GLcontext by setting the environment variable INTEL_GLSL_VERSION. For example, env INTEL_GLSL_VERSION=130 prog args If the environment variable is missing, the GLSL versions defaults to 120. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-10-08intel: Enable GL_ARB_explicit_attrib_locationIan Romanick1-0/+1
2010-10-01i965: Enable GL_ARB_texture_rgIan Romanick1-0/+1
2010-09-27Remove GL_EXT_cull_vertexIan Romanick1-2/+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.
2010-09-27mesa: Force GL_SGIS_generate_mipmap to always be enabledIan Romanick1-1/+0
As per discussions at XDS.
2010-09-27mesa: Force GL_ARB_copy_buffer to always be enabledIan Romanick1-2/+0
As per discussions at XDS.
2010-09-23mesa: Remove EXT_convolution.Eric Anholt1-2/+0
More optional code.
2010-09-22intel: Fix GL_ARB_shading_language_120 commitKristian Høgsberg1-0/+3
Fix commit e7087175f8a04f777403366fb34b58edd00f4d60. Move the reference to GL_VERSION_2_1_functions to intel_extensions.c where it's available, don't try to enable a non-existing extension and advertise 1.20 for all intel chipsets, not just GEN4 and up.
2010-09-21mesa: don't advertise bogus GL_ARB_shading_language_120 extensionBrian Paul1-1/+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).
2010-08-23intel: Add support for MAX_SAMPLES=1 EXT_framebuffer_multisample.Eric Anholt1-1/+3
The spec specifically sets the minimum MAX_SAMPLES at 1 to allow exposing the extension on all implementations, so do so.
2010-05-26i965: Add support for EXT_timer_query on Ironlake.Eric Anholt1-0/+7
We could potentially do this on G45 as well, though the units are different. On 965, the timestamp is tied to hclk, which would make supporting it harder.
2010-04-06mesa: Add OES_EGL_image to extension list.Chia-I Wu1-0/+4
2010-03-05APPLE_object_purgeable: intelChris Wilson1-0/+3
Implement support for purgeable objects by using the GEM madvise ioctl. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-02-23i965: Enable GL_ARB_fragment_coord_conventions now that the GLSL is fixed.Eric Anholt1-0/+1
Tested with piglit glsl-arb-fragment-coord-conventions.
2010-01-26i965: Add support for EXT_draw_buffers2.Eric Anholt1-0/+2
2010-01-23i965: add support for ARB_half_float_vertexDave Airlie1-0/+1
enables the extension on i965 and adds support to the draw upload for the vertex format. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-12-22intel: Replace some gen3 IS_* checks with context structure usage.Eric Anholt1-2/+1
Shaves 400 bytes or so from i915_dri.so.
2009-12-22intel: Replace IS_965 checks with context structure usage.Eric Anholt1-1/+1
Saves another 600 bytes or so of code.
2009-12-02Merge branch 'mesa_7_7_branch'Jakob Bornecrantz1-1/+0
2009-12-02Merge commit 'mesa_7_6_branch' into mesa_7_7_branchJakob Bornecrantz1-1/+0
Conflicts: src/mesa/main/version.h
2009-12-01intel: Remove GL_NV_point_sprite from extension listIan Romanick1-1/+0
i830 does not (and cannot!) support the any of the non-default GL_POINT_SPRITE_R_MODE_NV settings. i915 and i965 could, but currently do not. In both cases it would require mucking about with the fragment shader.
2009-11-19intel: Remove non-GEM support.Eric Anholt1-11/+3
This really isn't supported at this point. GEM's been in the kernel for a year, and the fake bufmgr never really worked.
2009-11-12intel: Don't check for context pointer to be NULL during extension initIan Romanick1-7/+6
Thanks to Chia-I Wu's changes to the extension function infrastructure, we no longer have to tell the loader which extensions the driver might enable. This means that intelInitExtensions will never be called with a NULL context pointer. Remove all the NULL checks. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
2009-11-12intel: Remove unused enable_imaging parameter to intelInitExtensionsIan Romanick1-4/+2
2009-10-23mesa: Enable remap table in core.Chia-I Wu1-1/+2
This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-01i915: Add stub ARB_occlusion_query support under a driconf debug option.Eric Anholt1-0/+5
This is useful for enabling our GLSL testcases using the 2.0 entrypoints even though we don't have full GL 2.0.
2009-10-01i915: Add optional support for ARB_fragment_shader under a driconf option.Eric Anholt1-1/+9
Other vendors have enabled ARB_fragment_shader as part of OpenGL 2.0 enablement even on hardware like the 915 with no dynamic branching or dFdx/dFdy support. But for now we'll leave it disabled because we don't do any flattening of ifs or loops, which is rather restrictive. This support is not complete, and may be unstable depending on your shaders. It passes 10/15 of the piglit glsl tests, but hangs on glean glsl1.
2009-10-01i915: Enable ARB_vertex_shader for both i915 and i830.Eric Anholt1-4/+4
Since the TNL is all done in software anyway, it should be the same to the user who's probably using ARB_vertex_program otherwise, but gives them a nicer programming environment.
2009-09-08intel: Add support for ARB_draw_elements_base_vertex.Eric Anholt1-0/+2
On the 965, we just drop the value into the primitive packet. On non-945, we rely on the sw tnl code handling it.
2009-09-08i965: Add support for ARB_depth_clamp.Eric Anholt1-0/+1
2009-09-03intel: Add support for ARB_sync.Eric Anholt1-0/+2
We currently weasel out of supporting the timeout parameter, but otherwise this extension looks ready, and should make the common case happy.
2009-08-28intel: Add support for GL_ARB_map_buffer_range.Eric Anholt1-0/+2
Passes glean's bufferObject test, and should provide good performance in the cases applications are expected to use.
2009-08-27intel: Add support for ARB_copy_buffer.Eric Anholt1-0/+2
Passes glean's bufferObject test for this extension.
2009-08-14i965: Add support for GL_ARB_seamless_cube_mapIan Romanick1-0/+1
2009-08-04intel: Add support for EXT_provoking_vertex.Eric Anholt1-0/+2
2009-07-29i915: Add support for EXT_stencil_two_side and ATI_separate_stencil.Eric Anholt1-0/+2
Passes tests/stencil_twoside and glean/stencil2.
2009-07-29i915: Add ARB_point_sprite since we already expose NV_point_sprite.Eric Anholt1-0/+1
It's all fallbacks anyway due to the DD_POINT_ATTEN fallback.
2009-06-29intel: Enable EXT_gpu_program_parameters.Eric Anholt1-0/+2
There doesn't appear to be any driver impact for enabling this, and tests/prog_parameter passes.
2009-06-22intel: enable GL_ARB_vertex_array_object extensionBrian Paul1-0/+2
2009-06-15enable ARB_half_float_pixel for intel driversRoland Scheidegger1-0/+1
2009-05-13intel: enable GL_APPLE_vertex_array_objectBrian Paul1-0/+2
No special driver changes are needed for this extension.
2009-03-28i965: add support for signed rgba texture formatRoland Scheidegger1-0/+1
2009-03-12i965: add support for ATI_envmap_bumpmapRoland Scheidegger1-0/+2
2009-02-13intel: turn on GL_ARB_shading_language_120Brian Paul1-4/+0
It's done in the Mesa GLSL compiler. The only part of it that might matter in drivers is the centroid sampling option for MSAA.
2009-01-28intel: Fix up some extension string issuesIan Romanick1-1/+18
Move the remaining extension string enables to intel_extensions.c. Make sure that GL_NV_texture_env_combine4 is not enabled on i830.
2009-01-28Make GL_ARB_draw_buffers mandatoryIan Romanick1-1/+0
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_{EXT,SUN}_multi_draw_arrays and GL_IBM_multimode_draw_arrays mandatoryIan Romanick1-2/+0
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_ARB_vertex_buffer_object mandatoryIan Romanick1-2/+0
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>