Brian Paul
e7087175f8
mesa: don't advertise bogus GL_ARB_shading_language_120 extension
...
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-09-21 18:13:04 -06:00
Eric Anholt
e0564d56b1
intel: Add support for MAX_SAMPLES=1 EXT_framebuffer_multisample.
...
The spec specifically sets the minimum MAX_SAMPLES at 1 to allow exposing
the extension on all implementations, so do so.
2010-08-23 17:25:38 -07:00
Eric Anholt
3b68b6c83e
i965: Add support for EXT_timer_query on Ironlake.
...
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-05-26 12:14:44 -07:00
Chia-I Wu
2002e4d06e
mesa: Add OES_EGL_image to extension list.
2010-04-06 18:01:41 +08:00
Chris Wilson
755915fa5d
APPLE_object_purgeable: intel
...
Implement support for purgeable objects by using the GEM madvise ioctl.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
2010-03-05 11:23:59 +00:00
Eric Anholt
c41cf31da8
i965: Enable GL_ARB_fragment_coord_conventions now that the GLSL is fixed.
...
Tested with piglit glsl-arb-fragment-coord-conventions.
2010-02-23 11:16:31 -08:00
Eric Anholt
ab53f71015
i965: Add support for EXT_draw_buffers2.
2010-01-26 14:43:23 -08:00
Dave Airlie
96f2f0daea
i965: add support for ARB_half_float_vertex
...
enables the extension on i965 and adds support to the draw upload for
the vertex format.
Signed-off-by: Dave Airlie <airlied@redhat.com >
2010-01-23 12:28:32 +10:00
Eric Anholt
f677480389
intel: Replace some gen3 IS_* checks with context structure usage.
...
Shaves 400 bytes or so from i915_dri.so.
2009-12-22 14:20:27 -08:00
Eric Anholt
cb3810dd19
intel: Replace IS_965 checks with context structure usage.
...
Saves another 600 bytes or so of code.
2009-12-22 14:20:27 -08:00
Jakob Bornecrantz
cc8a537c57
Merge branch 'mesa_7_7_branch'
2009-12-02 14:56:56 +01:00
Jakob Bornecrantz
0c75854cc1
Merge commit 'mesa_7_6_branch' into mesa_7_7_branch
...
Conflicts:
src/mesa/main/version.h
2009-12-02 14:52:51 +01:00
Ian Romanick
d8da270a2b
intel: Remove GL_NV_point_sprite from extension list
...
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-12-01 10:25:44 -08:00
Eric Anholt
827ba44f6e
intel: Remove non-GEM support.
...
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-19 11:47:22 +01:00
Ian Romanick
b6b753f727
intel: Don't check for context pointer to be NULL during extension init
...
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-12 15:43:09 -08:00
Ian Romanick
a736d3f439
intel: Remove unused enable_imaging parameter to intelInitExtensions
2009-11-12 15:43:09 -08:00
Chia-I Wu
17ef1f6074
mesa: Enable remap table in core.
...
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-23 09:10:04 -06:00
Eric Anholt
81aa5d717b
i915: Add stub ARB_occlusion_query support under a driconf debug option.
...
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-01 14:54:15 -07:00
Eric Anholt
862a2a55b3
i915: Add optional support for ARB_fragment_shader under a driconf option.
...
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-01 14:52:44 -07:00
Eric Anholt
7d4b7460b0
i915: Enable ARB_vertex_shader for both i915 and i830.
...
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-10-01 14:31:03 -07:00
Eric Anholt
f959ccdfa6
intel: Add support for ARB_draw_elements_base_vertex.
...
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-08 15:12:22 -07:00
Eric Anholt
0310aafd9e
i965: Add support for ARB_depth_clamp.
2009-09-08 14:30:18 -07:00
Eric Anholt
afd6141934
intel: Add support for ARB_sync.
...
We currently weasel out of supporting the timeout parameter, but otherwise
this extension looks ready, and should make the common case happy.
2009-09-03 11:22:47 -07:00
Eric Anholt
2d5c74fac3
intel: Add support for GL_ARB_map_buffer_range.
...
Passes glean's bufferObject test, and should provide good performance in the
cases applications are expected to use.
2009-08-28 15:29:35 -07:00
Eric Anholt
60b072d49f
intel: Add support for ARB_copy_buffer.
...
Passes glean's bufferObject test for this extension.
2009-08-27 17:51:29 -07:00
Ian Romanick
e304c65a2b
i965: Add support for GL_ARB_seamless_cube_map
2009-08-14 16:28:51 -07:00
Eric Anholt
de80eeea0e
intel: Add support for EXT_provoking_vertex.
2009-08-04 15:32:18 -07:00
Eric Anholt
246729162c
i915: Add support for EXT_stencil_two_side and ATI_separate_stencil.
...
Passes tests/stencil_twoside and glean/stencil2.
2009-07-29 21:25:39 -07:00
Eric Anholt
92b9aa1646
i915: Add ARB_point_sprite since we already expose NV_point_sprite.
...
It's all fallbacks anyway due to the DD_POINT_ATTEN fallback.
2009-07-29 20:56:14 -07:00
Eric Anholt
1f070125e3
intel: Enable EXT_gpu_program_parameters.
...
There doesn't appear to be any driver impact for enabling this, and
tests/prog_parameter passes.
2009-06-29 15:14:50 -07:00
Brian Paul
8affcd364b
intel: enable GL_ARB_vertex_array_object extension
2009-06-22 17:54:00 -06:00
Roland Scheidegger
63c407db3e
enable ARB_half_float_pixel for intel drivers
2009-06-15 18:31:03 +02:00
Brian Paul
a566b6d8ff
intel: enable GL_APPLE_vertex_array_object
...
No special driver changes are needed for this extension.
2009-05-13 11:19:33 -06:00
Roland Scheidegger
79e2df63af
i965: add support for signed rgba texture format
2009-03-28 02:06:18 +01:00
Roland Scheidegger
3327cc64e7
i965: add support for ATI_envmap_bumpmap
2009-03-12 15:06:17 +01:00
Brian Paul
643d940138
intel: turn on GL_ARB_shading_language_120
...
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-02-13 17:18:35 -07:00
Ian Romanick
425c803c03
intel: Fix up some extension string issues
...
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-28 16:28:11 -08:00
Ian Romanick
8aa209c766
Make GL_ARB_draw_buffers mandatory
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
2009-01-28 16:28:11 -08:00
Ian Romanick
474cda6fa9
Make GL_{EXT,SUN}_multi_draw_arrays and GL_IBM_multimode_draw_arrays mandatory
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
2009-01-28 16:28:11 -08:00
Ian Romanick
82b9661894
Make GL_ARB_vertex_buffer_object mandatory
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
2009-01-28 16:28:10 -08:00
Ian Romanick
2b77b1d62e
Make GL_ARB_multisample mandatory
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
2009-01-28 16:28:10 -08:00
Ian Romanick
33fa5e4bfa
Make GL_ARB_texture_compression mandatory
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
2009-01-28 16:28:10 -08:00
Brian Paul
c0d3b7679a
i965: implement GL_EXT_texture_swizzle
...
If the texture swizzle is not XYZW (no-op) add an extra MOV instruction
after the TEX instruction to rearrange the components.
2009-01-28 14:50:03 -07:00
Brian Paul
4006c5e452
intel: move intelInitExtensions() and related code into new intel_extensions.c
2009-01-26 12:39:28 -07:00