Roland Scheidegger
de7b071b55
enable GL_EXT_stencil_wrap (patch from idr), including some hacks for original radeons which have some broken stencil ops.
2004-12-03 17:26:41 +00:00
Brian Paul
25b67e6404
Use the GL datatypes. Lots of assorted clean-ups.
2004-12-03 15:58:07 +00:00
Brian Paul
404055216d
silence warning
2004-12-03 15:39:58 +00:00
Brian Paul
2d846b712c
re-disable TRACE
2004-12-03 15:39:08 +00:00
Brian Paul
a760ccf6d8
silence a variety of warnings found with g++ 3.4.2
2004-12-03 15:24:34 +00:00
Alan Hourihane
025aa9efcd
silence warnings
2004-12-02 14:50:13 +00:00
Alan Hourihane
8694285053
reverse some debug that slipped through
2004-12-02 13:32:55 +00:00
Alan Hourihane
22ae633d1e
Fix some warnings
2004-12-02 13:29:40 +00:00
Ian Romanick
ba807fbe29
Updated the schema. Added comments explaining some of the non-obvious
...
attributes. Modified a couple handcode functions to use the count_scale
attribute instead.
2004-12-02 00:01:12 +00:00
Ian Romanick
00d153eb72
Corrected a problem with the sizes of the MAP[12]_* enums.
2004-12-01 23:53:43 +00:00
Ian Romanick
5ee2f9aed4
Added a couple missing always_array annotations and a couple trival
...
enum-only extensions.
2004-12-01 21:25:52 +00:00
Ian Romanick
596ccff699
Prevent possible divide-by-zero error.
2004-12-01 20:20:13 +00:00
Ian Romanick
77e297c368
Refactor ExtractDir and OpenDriver to be a bit more clear.
2004-12-01 09:41:14 +00:00
Ian Romanick
9bba1cfc39
Use indirect_size.c and indirect_size.h generated by using
...
src/mesa/glapi/glX_proto_send.py with the '-m size_c' and '-m size_h'
options.
2004-12-01 09:11:04 +00:00
Ian Romanick
b53df18624
Slightly tweak the format of the size prototypes.
2004-12-01 09:06:34 +00:00
Ian Romanick
548435215d
Use the indirect_init.c generate by using src/mesa/glapi/glX_proto_send.py
...
with the '-m init_c' option.
2004-12-01 08:49:41 +00:00
Ian Romanick
4f4854a4af
Make the transition to script-genereated GLX code easier.
...
Convert GL 1.4 function names to EXT_blend_func_separate names.
2004-12-01 08:47:35 +00:00
Ian Romanick
529381ff75
Make the transition to script-genereated GLX code easier.
...
Convert GL 1.4 / ARB_point_parameter function names to EXT_point_parameter /
NV_point_sprite names.
2004-12-01 08:42:31 +00:00
Ian Romanick
e9789cf071
Python script to generate various bits of client-side GLX protocol code.
2004-12-01 08:35:37 +00:00
Ian Romanick
6b89a8363b
Make the transition to script-genereated GLX code easier.
...
Move "handcoded" ARB_window_pos / MESA_window_pos functions to their own
file. Modify the ARB_window_pos functions to use the MESA_window_pos names.
2004-12-01 08:31:15 +00:00
Ian Romanick
bb427b10b1
Make the transition to script-genereated GLX code easier.
...
Move "handcoded" ARB_transpose_matrix functions to their own file. From
here on out, such handcoded functions should go in a file named
indirect_FOO.c, where "FOO" is some logical name for the functionality
(e.g., part of the extension name, etc.).
2004-12-01 08:22:44 +00:00
Ian Romanick
c8c24d049d
Make the transition to script-genereated GLX code easier.
...
Move EXT_vertex_array wrapper functions from indirect_init.c to vertarr.c.
Fix problems with EXT_multi_draw_arrays function names.
2004-12-01 08:15:01 +00:00
Ian Romanick
345ed3ac8c
Make the transition to script-genereated GLX code easier.
...
Eliminate the need for indirect_wrap.h and NEED_GL_FUNCS_WRAPPED.
Basically, this means prepending __indirect_ to all the definitions and
calls of GL functions that don't already have it.
2004-12-01 08:02:50 +00:00
Ian Romanick
249a5552f1
Make the transition to script-genereated GLX code easier.
...
Convert GL_ARB_texture_compression related functions to use the extension
version of the names instead of the GL 1.3 versions.
2004-12-01 07:34:25 +00:00
Ian Romanick
4f0a75e724
Added the ability to get the size of a parameter as a string. Changed the
...
meaning of "variable length array" to include variables that are "counted"
instead of just ones that use an enum to map to a count. Added glParameter
to the glItemFactory.
2004-12-01 00:29:48 +00:00
Ian Romanick
9001d67309
Added enums for GL_OES_read_format.
2004-12-01 00:25:46 +00:00
Ian Romanick
fc43857cc9
Add trivial support ARB_texture_rectangle and OES_read_format.
2004-12-01 00:20:22 +00:00
Ian Romanick
05f4a2b92d
Missed GL_OES_read_format_bit in last commit.
2004-12-01 00:18:01 +00:00
Ian Romanick
f1f18cd1b8
Since we know the problem with HP_occlusion_test is / was on the server-side,
...
re-enable the extension on the client-side.
2004-11-30 23:29:51 +00:00
Ian Romanick
6106502fdf
PrioritizeTextures, GetClipPlane, and WindowPos3fMESA don't need to be
...
handcoded, but Enable and Disable do. Corrected some minor problems in the
PixelMap functions and some ARB_vertex_program functions. Added size data
for the enums that can be passed to the Map[12][fd] functions. Added the
enums for EXT_pixel_buffer_objects.
2004-11-30 23:27:33 +00:00
Keith Whitwell
4f144b6087
EXT_422_pixels test
2004-11-30 19:15:06 +00:00
Brian Paul
bf4c23d00f
no need to include stddef.h anymore
2004-11-29 17:31:03 +00:00
Brian Paul
dc991a2085
silence a warning
2004-11-29 17:30:21 +00:00
Brian Paul
55656a53d4
added __glXFindDRIScreen to glXGetProcAddress (bug 1068879)
2004-11-29 17:26:19 +00:00
Brian Paul
0d5e6ccfd6
fixed OSF/1 shared lib problem (bug 1065260)
2004-11-29 17:23:12 +00:00
Brian Paul
e25c7c2ad5
update from Jouk
2004-11-29 14:41:46 +00:00
Brian Paul
9cf65c5a5b
fix missing width/height error
2004-11-28 18:07:33 +00:00
Brian Paul
65a66f5bc3
Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().
...
Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA()
if necessary.
Cleaned up code related to GLframebuffer width/height initialization.
Set initial viewport/scissor params in _mesa_make_current2(), instead of
in the drivers' MakeCurrent functions.
2004-11-27 22:47:59 +00:00
Brian Paul
118a8bad73
new comments and assertions
2004-11-27 22:44:35 +00:00
Brian Paul
29926a11b1
Remove the redundant width, height fields in xmesa_buffer struct. Just use
...
the values in the contained GLframebuffer.
Removed some other unneeded code.
2004-11-27 21:20:37 +00:00
Brian Paul
b371e50d6d
remove _glapi_add_entrypoint() calls, they're already in context.c
2004-11-27 20:21:25 +00:00
Brian Paul
de43484c73
add a few functions in add_newer_entrypoints()
2004-11-27 20:14:03 +00:00
Brian Paul
b5b8d22c4e
Change the dispatch offsets for the VertexAttrib*NV functions so they don't
...
alias with the corresponding ARB functions.
GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias
with conventional vertex attributes, as GL_NV_vertex_program does.
So, the ARB and NV version of VertexAttrib need to be distinct.
2004-11-27 20:07:08 +00:00
Brian Paul
0699b0bb17
silence warnings
2004-11-27 19:57:46 +00:00
Brian Paul
6bca16b877
misc updates
2004-11-27 19:42:16 +00:00
Brian Paul
91d09a9ffa
Set symbol visibility to 'default', if supported by gcc.
2004-11-27 17:32:03 +00:00
Brian Paul
819b519534
use new PUBLIC macro for symbol export
2004-11-27 17:30:41 +00:00
Brian Paul
3903c1f2bc
don't need glut_fbc.c
2004-11-27 16:57:06 +00:00
Brian Paul
1d97c277e0
new GetOverlayInfo() function to reduce code and silence warnings
2004-11-27 16:49:52 +00:00
Brian Paul
4d880987d2
Have OSMesaGetProcAddress() return new OSMESAproc typedef.
2004-11-27 16:24:39 +00:00