Brian
c6499a741c
Determine GL extensions/limits by making pipe queries.
...
The state tracker calls pipe->get_param() to determine the GL limits and
which OpenGL extensions are supported.
This is an initial implementation that'll probably change...
2007-11-05 18:04:30 -07:00
Brian
6775c1e8cc
Remove test for EXT_blend_logic_op in glGetString when determining GL version.
...
EXT_blend_logic_op is slightly different from GL 1.1's RGBA logicop mode
and does not have to be supported. Per conversation with Roland.
2007-09-28 16:06:43 -06:00
Ian Romanick
7b559a9102
Add support for GL_ARB_fragment_program_shadow.
2007-06-07 13:58:50 -07:00
Ian Romanick
bb372f1c9b
Initial implementation of MESA_texture_array
...
Shadow sampling from texture arrays is still not implemented. Everything
else should be there, though.
2007-05-16 15:34:22 -07:00
Brian
af807a4696
enable GLSL 1.20
2007-04-08 21:48:19 -06:00
Keith Whitwell
6a3fdc3a1e
Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa into vbo-0.2
...
Conflicts:
src/mesa/array_cache/sources
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_fallback.c
src/mesa/drivers/dri/i965/brw_vs_emit.c
src/mesa/drivers/dri/i965/brw_vs_tnl.c
src/mesa/drivers/dri/mach64/mach64_context.c
src/mesa/main/extensions.c
src/mesa/main/getstring.c
src/mesa/tnl/sources
src/mesa/tnl/t_save_api.c
src/mesa/tnl/t_save_playback.c
src/mesa/tnl/t_vtx_api.c
src/mesa/tnl/t_vtx_exec.c
src/mesa/vbo/vbo_attrib.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_api.c
src/mesa/vbo/vbo_save_draw.c
2007-01-16 11:22:57 +00:00
Brian
8dcfcad7a2
Move all the code for computing ctx->_TriangleCaps into state.c.
...
ctx->_TriangleCaps should probably go away altogether someday...
2006-12-13 15:31:14 -07:00
Brian Paul
61fd687c74
Minor changes to get ready for OpenGL 2.1.
2006-11-03 15:18:17 +00:00
Brian Paul
e812081253
Undo some of yesterday's ATI_separate_stencil changes. The ATI extension
...
doesn't exactly match OpenGL 2.0.
2006-11-02 22:39:29 +00:00
Alan Hourihane
6d104cb932
merge current trunk into vbo branch
2006-11-02 12:02:13 +00:00
Brian Paul
467c773f79
Add ATI_separate_stencil and use it in preference to EXT_stencil_two_side
...
since the former is what's used for OpenGL 2.0.
2006-11-02 00:41:40 +00:00
Ian Romanick
8c41c757fe
Add support for GL_EXT_gpu_program_parameters. Any driver that enables
...
either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this
extension as well.
2006-08-15 16:47:34 +00:00
Brian Paul
8d214bc804
Initial work for GL_EXT_texture_sRGB.
2006-08-03 03:20:52 +00:00
Ian Romanick
ee34e6ef71
Add support for GL_APPLE_vertex_array_object. Several test programs
...
and demos are also added.
Adding basic support to drivers should be as easy as just enabling the
extension, though thorough test would also be required.
2006-06-12 16:26:29 +00:00
Brian Paul
255e8ebd58
enable GL_ARB_half_float_pixel, was GL_MESAX_half_float_pixel
2006-03-28 01:23:43 +00:00
Brian Paul
daffbe99dc
GL_EXT_packed_depth_stencil should be off by default
2006-03-21 21:57:00 +00:00
Brian Paul
904ab0c22c
check FEATURE_EXT_framebuffer_blit
2006-03-02 03:46:33 +00:00
Michal Krol
0c8e578a38
Enable GL_ARB_fragment_shader extension.
2006-02-15 11:00:15 +00:00
Michal Krol
2363fff347
Enable GL_ARB_shader_objects, GL_ARB_shading_language_100 and
...
GL_ARB_vertex_shader extensions.
2006-02-13 11:04:27 +00:00
Brian Paul
1add059bd1
Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can be
...
done with fragment programs nowadays.
2005-12-14 03:04:58 +00:00
Brian Paul
0bffb1192a
some initial work on upcoming GL_EXT_framebuffer_blit extension
2005-11-08 14:45:48 +00:00
Brian Paul
1ad7b99925
Initial work for GL_EXT_packed_depth_stencil extension.
...
glReadPixels done, glDrawPixels mostly done.
2005-09-28 02:29:50 +00:00
Brian Paul
42c34efd23
OpenGL 2.0's two-sided stencil feature wasn't implemented correctly.
...
See comment near top of stencil.c for info about OpenGL 2.0 vs.
GL_EXT_stencil_two_side.
2005-09-13 02:59:53 +00:00
Brian Paul
4fb995084e
Prototype implementation of new GL_EXT_timer_query extension (not finalized yet).
...
Extends the query mechanism to query elapsed time while rendering.
2005-09-02 13:42:49 +00:00
Brian Paul
6e4f594a02
removed GL_HP_occlusion_test extension
2005-08-25 14:23:38 +00:00
Brian Paul
951dbf08e7
check for FEATURE_EXT_framebuffer_object to enable EXT_framebuffer_object
2005-07-21 15:48:39 +00:00
Brian Paul
49e74989c3
remove ^M chars, disable shading language extensions
2005-07-21 15:41:56 +00:00
Karl Schultz
6258b76c49
Port Mesa to build on a P64 platform (e.g., Win64). P64 platforms
...
use 64-bit pointers and 32-bit longs. So, operations like casting pointers
to unsigned long and back to pointer won't work. glheader.h now
includes files to define uintptr_t, which should instead be used for
this sort of operation. It is an integer type that is the same size
as a pointer.
2005-05-05 21:08:07 +00:00
Brian Paul
e4b2356c07
Major check-in of changes for GL_EXT_framebuffer_object extension.
...
Main driver impacts:
- new code for creating the Mesa GLframebuffer
- new span/pixel read/write code
Some drivers not yet updated/tested.
2005-05-04 20:11:35 +00:00
Michal Krol
1e8fc5ffea
add GL_ARB_shading_language_100;
...
reorder GL_ARB_shader_objects and GL_ARB_fragment/vertex_shader stuff
2005-04-14 10:23:51 +00:00
Brian Paul
3deaa01c2b
additional work on GL_EXT_framebuffer_object
2005-02-07 05:08:24 +00:00
Michal Krol
0e85388ba8
enable ARB_fragment/vertex_shader
2005-01-13 14:09:18 +00:00
Dave Airlie
7f752fed99
Implement software ATI_fragment_shader
...
no error detection, slow, may not be 100% correct but a good start
2004-12-19 03:06:59 +00:00
Brian Paul
feac302567
added GL_ARB_pixel_buffer_object extension string
2004-12-18 16:19:08 +00:00
Brian Paul
a6c21a2af1
don't advertise GL_ARB_vertex/fragment_shader until they're done
2004-10-31 18:55:00 +00:00
Michal Krol
678ea6cd5c
add entries for extensions ARB_shader_objects, ARB_fragment_shader and
...
ARB_vertex_shader
2004-10-27 17:27:57 +00:00
Ian Romanick
33899b7c35
Add support for OES_read_format. As soon as glext.h is updated with the
...
enums for this extension, the changes to gl.h can be removed.
2004-10-16 01:16:54 +00:00
Brian Paul
53f82c5aad
added support for GL_ARB_draw_buffers
2004-10-02 16:39:09 +00:00
Brian Paul
051f6a5cb0
remove ARB_texture_non_power_of_two from _mesa_enable_1_5_extensions()
2004-09-13 14:55:07 +00:00
Brian Paul
edfe0fe78b
enabled GL_ARB_texture_rectangle
2004-08-20 14:21:20 +00:00
Brian Paul
ffdea1ae80
don't enable the float texture and GLhalf pixel extensions yet
2004-08-17 19:25:55 +00:00
Keith Whitwell
352d4dbfb2
Add EXT_vertex_cull support to mesa
2004-05-10 18:16:03 +00:00
Brian Paul
883e7a5906
minor vertex/fragment program tweaks
2004-05-01 18:28:49 +00:00
Brian Paul
f959f6e1dc
New glTexImage code.
...
The gl_texture_format struct now has a StoreTexImageFunc that's called
by glTex[Sub]Image[123]D to convert the user's texture data into the
specific texture format layout. Now it's much easier to add new texture
formats (like the 16/32-bit floating point formats).
The texutil.[ch] and texutil_tmp.h files are obsolete.
2004-04-22 00:27:31 +00:00
Brian Paul
7a6b71ef29
Implementation of GL_EXT_pixel_buffer_object extension.
...
Note: extension may not be finalized yet - subject to change!
Note: implementation not fully suitable for h/w implementation yet.
2004-03-13 18:21:40 +00:00
Brian Paul
e5a94ba138
Added flags for _all_ extensions to the gl_extensions struct so that drivers
...
can disable any extension if necessary.
2004-02-06 02:01:47 +00:00
Ian Romanick
c93105eb9e
Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.
...
The internal driver interface was also changed to use
BlendEquationSeparate instead of BlendEquation.
2004-01-27 18:52:40 +00:00
Brian Paul
b305028464
Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.
2003-12-04 03:19:46 +00:00
Daniel Borca
663a9e1b7e
more texture compression
2003-11-21 09:56:50 +00:00
Karl Rasche
1c27a1e957
Initial checking of new ARB_frag/vertex program parser
2003-11-19 13:15:13 +00:00