mesa.git
19 years agoremoved unused visInfo var
Brian Paul [Sun, 12 Dec 2004 22:24:09 +0000 (22:24 +0000)]
removed unused visInfo var

19 years agofix recursion problem introduced on Nov 27
Brian Paul [Sun, 12 Dec 2004 22:22:10 +0000 (22:22 +0000)]
fix recursion problem introduced on Nov 27

19 years agoAdded driver hooks for GetTexImage() and GetCompressedTexImage().
Brian Paul [Sun, 12 Dec 2004 19:03:16 +0000 (19:03 +0000)]
Added driver hooks for GetTexImage() and GetCompressedTexImage().
Added fallback _mesa_get_[compressed]_teximage() routines to texstore.c

19 years agoFix a couple of glitches
Keith Whitwell [Fri, 10 Dec 2004 17:18:00 +0000 (17:18 +0000)]
Fix a couple of glitches

19 years agoallow GetTexImage with RGBA format and COLOR_INDEX internalformat
Daniel Borca [Fri, 10 Dec 2004 07:36:35 +0000 (07:36 +0000)]
allow GetTexImage with RGBA format and COLOR_INDEX internalformat

19 years agotypo
Brian Paul [Thu, 9 Dec 2004 23:23:14 +0000 (23:23 +0000)]
typo

19 years agobring in 6.2.1 changes
Brian Paul [Thu, 9 Dec 2004 23:21:36 +0000 (23:21 +0000)]
bring in 6.2.1 changes

19 years agocheck if using a PBuffer in clip_for_xgetimage()
Brian Paul [Thu, 9 Dec 2004 16:23:03 +0000 (16:23 +0000)]
check if using a PBuffer in clip_for_xgetimage()

19 years agoGet linux-solo dependencies building correctly,
Keith Whitwell [Thu, 9 Dec 2004 08:42:19 +0000 (08:42 +0000)]
Get linux-solo dependencies building correctly,
Make sure symlinks are built in driver directories before running makedepend.

19 years agomake sure we're cleaning up everything
Daniel Borca [Thu, 9 Dec 2004 07:44:37 +0000 (07:44 +0000)]
make sure we're cleaning up everything

19 years agosimplistic ICD implementation for fx/Mesa
Daniel Borca [Thu, 9 Dec 2004 07:43:59 +0000 (07:43 +0000)]
simplistic ICD implementation for fx/Mesa

19 years agoback out Keiths last checkin - for Solo the include order is important
Dave Airlie [Thu, 9 Dec 2004 00:25:06 +0000 (00:25 +0000)]
back out Keiths last checkin - for Solo the include order is important

19 years agofixup pci code for Jon's last checkin for changing page size
Dave Airlie [Thu, 9 Dec 2004 00:18:59 +0000 (00:18 +0000)]
fixup pci code for Jon's last checkin for changing page size

19 years ago(Stephane Marchesin, me) add hyperz support to radeon and r200 drivers. Only fast...
Roland Scheidegger [Wed, 8 Dec 2004 17:32:46 +0000 (17:32 +0000)]
(Stephane Marchesin, me) add hyperz support to radeon and r200 drivers. Only fast z clear and z buffer compression are supported for now, hierarchical-z is not. Still problems with multiple apps and z/stencil readback, which is why hyperz is disabled per default. Also add the new point sprite packet drm 1.13 accepts to the sanity code.

19 years agoImprove the behaviour of the build system wrt depend files.
Keith Whitwell [Wed, 8 Dec 2004 15:16:36 +0000 (15:16 +0000)]
Improve the behaviour of the build system wrt depend files.

- Remove the -Y option for makedepend, so that the standard
  directories are searched
- No longer pipe the multiple errors that the -Y option caused
  into /dev/null -- we want to know about these failures.
- Fix up a few other misc makedepend failures.

19 years agoDemonstrate using a color matrix for yuv-to-rgb conversion at texture
Keith Whitwell [Wed, 8 Dec 2004 14:56:40 +0000 (14:56 +0000)]
Demonstrate using a color matrix for yuv-to-rgb conversion at texture
upload time.

19 years agoUse union type to avoid strict aliasing problems.
Alan Hourihane [Wed, 8 Dec 2004 14:26:48 +0000 (14:26 +0000)]
Use union type to avoid strict aliasing problems.

19 years agosilence warnings
Alan Hourihane [Wed, 8 Dec 2004 14:00:46 +0000 (14:00 +0000)]
silence warnings

19 years agoCheck for some header defines before redefining functions. Silences warnings.
Alan Hourihane [Wed, 8 Dec 2004 12:59:15 +0000 (12:59 +0000)]
Check for some header defines before redefining functions. Silences warnings.

19 years agosilence warning
Alan Hourihane [Wed, 8 Dec 2004 12:35:55 +0000 (12:35 +0000)]
silence warning

19 years agoFrom: Stephane Marchesin <marchesin@icps.u-strasbg.fr>
Dave Airlie [Wed, 8 Dec 2004 06:15:01 +0000 (06:15 +0000)]
From: Stephane Marchesin <marchesin@icps.u-strasbg.fr>

Attached is a patch that adds pci init code for mesa solo on radeon. It's been
tested on an itanium 2 with a radeon 7000 and it works here.
The patch adds a new field in the miniglx.conf config file, to choose between
pci and agp.

19 years agofix depth/stencil readback if coordinates are larger than 1023 (https://bugs.freedesk...
Roland Scheidegger [Wed, 8 Dec 2004 03:07:34 +0000 (03:07 +0000)]
fix depth/stencil readback if coordinates are larger than 1023 (https://bugs.freedesktop.org/show_bug.cgi?id=2010). Should now work up to 2047, which is the current limit for 3d rendering.

19 years agofixed an include path
Daniel Borca [Tue, 7 Dec 2004 15:57:33 +0000 (15:57 +0000)]
fixed an include path

19 years agoexplicit cast in a few places
Daniel Borca [Mon, 6 Dec 2004 08:11:14 +0000 (08:11 +0000)]
explicit cast in a few places

19 years agodisable junk for mingw
Daniel Borca [Mon, 6 Dec 2004 08:10:33 +0000 (08:10 +0000)]
disable junk for mingw

19 years agosmall fix for debug paths
Daniel Borca [Mon, 6 Dec 2004 08:10:01 +0000 (08:10 +0000)]
small fix for debug paths

19 years agosync with glut/glx
Daniel Borca [Mon, 6 Dec 2004 08:09:22 +0000 (08:09 +0000)]
sync with glut/glx

19 years agoreport bugs at freedesktop.org
Brian Paul [Sun, 5 Dec 2004 18:03:21 +0000 (18:03 +0000)]
report bugs at freedesktop.org

19 years agodirect bug reports to freedesktop.org
Brian Paul [Sun, 5 Dec 2004 18:02:01 +0000 (18:02 +0000)]
direct bug reports to freedesktop.org

20 years agoMove common GLX code to glX_XML.py. This will make adding glX_proto_recv.py
Ian Romanick [Fri, 3 Dec 2004 20:31:59 +0000 (20:31 +0000)]
Move common GLX code to glX_XML.py.  This will make adding glX_proto_recv.py
easier later on.

20 years agoFix a minor bug in glXEnumFunction::PrintUsingTable. Add some comments.
Ian Romanick [Fri, 3 Dec 2004 20:24:50 +0000 (20:24 +0000)]
Fix a minor bug in glXEnumFunction::PrintUsingTable.  Add some comments.
Add the (currently unused) utility funciton glXFunction::opcode_real_value.

20 years agomask color indexes against palette size, per the spec
Brian Paul [Fri, 3 Dec 2004 18:12:08 +0000 (18:12 +0000)]
mask color indexes against palette size, per the spec

20 years agoonly enable GL_MESA_ycbcr_texture for real r200 chips, not the derivatives, since...
Roland Scheidegger [Fri, 3 Dec 2004 18:09:40 +0000 (18:09 +0000)]
only enable GL_MESA_ycbcr_texture for real r200 chips, not the derivatives, since yuv textures do not work for some reason on the other chips.

20 years agoenable GL_EXT_stencil_wrap (patch from idr), including some hacks for original radeon...
Roland Scheidegger [Fri, 3 Dec 2004 17:26:41 +0000 (17:26 +0000)]
enable GL_EXT_stencil_wrap (patch from idr), including some hacks for original radeons which have some broken stencil ops.

20 years agoUse the GL datatypes. Lots of assorted clean-ups.
Brian Paul [Fri, 3 Dec 2004 15:58:07 +0000 (15:58 +0000)]
Use the GL datatypes.  Lots of assorted clean-ups.

20 years agosilence warning
Brian Paul [Fri, 3 Dec 2004 15:39:58 +0000 (15:39 +0000)]
silence warning

20 years agore-disable TRACE
Brian Paul [Fri, 3 Dec 2004 15:39:08 +0000 (15:39 +0000)]
re-disable TRACE

20 years agosilence a variety of warnings found with g++ 3.4.2
Brian Paul [Fri, 3 Dec 2004 15:24:34 +0000 (15:24 +0000)]
silence a variety of warnings found with g++ 3.4.2

20 years agosilence warnings
Alan Hourihane [Thu, 2 Dec 2004 14:50:13 +0000 (14:50 +0000)]
silence warnings

20 years agoreverse some debug that slipped through
Alan Hourihane [Thu, 2 Dec 2004 13:32:55 +0000 (13:32 +0000)]
reverse some debug that slipped through

20 years agoFix some warnings
Alan Hourihane [Thu, 2 Dec 2004 13:29:40 +0000 (13:29 +0000)]
Fix some warnings

20 years agoUpdated the schema. Added comments explaining some of the non-obvious
Ian Romanick [Thu, 2 Dec 2004 00:01:12 +0000 (00:01 +0000)]
Updated the schema.  Added comments explaining some of the non-obvious
attributes.  Modified a couple handcode functions to use the count_scale
attribute instead.

20 years agoCorrected a problem with the sizes of the MAP[12]_* enums.
Ian Romanick [Wed, 1 Dec 2004 23:53:43 +0000 (23:53 +0000)]
Corrected a problem with the sizes of the MAP[12]_* enums.

20 years agoAdded a couple missing always_array annotations and a couple trival
Ian Romanick [Wed, 1 Dec 2004 21:25:52 +0000 (21:25 +0000)]
Added a couple missing always_array annotations and a couple trival
enum-only extensions.

20 years agoPrevent possible divide-by-zero error.
Ian Romanick [Wed, 1 Dec 2004 20:20:13 +0000 (20:20 +0000)]
Prevent possible divide-by-zero error.

20 years agoRefactor ExtractDir and OpenDriver to be a bit more clear.
Ian Romanick [Wed, 1 Dec 2004 09:41:14 +0000 (09:41 +0000)]
Refactor ExtractDir and OpenDriver to be a bit more clear.

20 years agoUse indirect_size.c and indirect_size.h generated by using
Ian Romanick [Wed, 1 Dec 2004 09:11:04 +0000 (09:11 +0000)]
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.

20 years agoSlightly tweak the format of the size prototypes.
Ian Romanick [Wed, 1 Dec 2004 09:06:34 +0000 (09:06 +0000)]
Slightly tweak the format of the size prototypes.

20 years agoUse the indirect_init.c generate by using src/mesa/glapi/glX_proto_send.py
Ian Romanick [Wed, 1 Dec 2004 08:49:41 +0000 (08:49 +0000)]
Use the indirect_init.c generate by using src/mesa/glapi/glX_proto_send.py
with the '-m init_c' option.

20 years agoMake the transition to script-genereated GLX code easier.
Ian Romanick [Wed, 1 Dec 2004 08:47:35 +0000 (08:47 +0000)]
Make the transition to script-genereated GLX code easier.

Convert GL 1.4 function names to EXT_blend_func_separate names.

20 years agoMake the transition to script-genereated GLX code easier.
Ian Romanick [Wed, 1 Dec 2004 08:42:31 +0000 (08:42 +0000)]
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.

20 years agoPython script to generate various bits of client-side GLX protocol code.
Ian Romanick [Wed, 1 Dec 2004 08:35:37 +0000 (08:35 +0000)]
Python script to generate various bits of client-side GLX protocol code.

20 years agoMake the transition to script-genereated GLX code easier.
Ian Romanick [Wed, 1 Dec 2004 08:31:15 +0000 (08:31 +0000)]
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.

20 years agoMake the transition to script-genereated GLX code easier.
Ian Romanick [Wed, 1 Dec 2004 08:22:44 +0000 (08:22 +0000)]
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.).

20 years agoMake the transition to script-genereated GLX code easier.
Ian Romanick [Wed, 1 Dec 2004 08:15:01 +0000 (08:15 +0000)]
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.

20 years agoMake the transition to script-genereated GLX code easier.
Ian Romanick [Wed, 1 Dec 2004 08:02:50 +0000 (08:02 +0000)]
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.

20 years agoMake the transition to script-genereated GLX code easier.
Ian Romanick [Wed, 1 Dec 2004 07:34:25 +0000 (07:34 +0000)]
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.

20 years agoAdded the ability to get the size of a parameter as a string. Changed the
Ian Romanick [Wed, 1 Dec 2004 00:29:48 +0000 (00:29 +0000)]
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.

20 years agoAdded enums for GL_OES_read_format.
Ian Romanick [Wed, 1 Dec 2004 00:25:46 +0000 (00:25 +0000)]
Added enums for GL_OES_read_format.

20 years agoAdd trivial support ARB_texture_rectangle and OES_read_format.
Ian Romanick [Wed, 1 Dec 2004 00:20:22 +0000 (00:20 +0000)]
Add trivial support ARB_texture_rectangle and OES_read_format.

20 years agoMissed GL_OES_read_format_bit in last commit.
Ian Romanick [Wed, 1 Dec 2004 00:18:01 +0000 (00:18 +0000)]
Missed GL_OES_read_format_bit in last commit.

20 years agoSince we know the problem with HP_occlusion_test is / was on the server-side,
Ian Romanick [Tue, 30 Nov 2004 23:29:51 +0000 (23:29 +0000)]
Since we know the problem with HP_occlusion_test is / was on the server-side,
re-enable the extension on the client-side.

20 years agoPrioritizeTextures, GetClipPlane, and WindowPos3fMESA don't need to be
Ian Romanick [Tue, 30 Nov 2004 23:27:33 +0000 (23:27 +0000)]
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.

20 years agoEXT_422_pixels test
Keith Whitwell [Tue, 30 Nov 2004 19:15:06 +0000 (19:15 +0000)]
EXT_422_pixels test

20 years agono need to include stddef.h anymore
Brian Paul [Mon, 29 Nov 2004 17:31:03 +0000 (17:31 +0000)]
no need to include stddef.h anymore

20 years agosilence a warning
Brian Paul [Mon, 29 Nov 2004 17:30:21 +0000 (17:30 +0000)]
silence a warning

20 years agoadded __glXFindDRIScreen to glXGetProcAddress (bug 1068879)
Brian Paul [Mon, 29 Nov 2004 17:26:19 +0000 (17:26 +0000)]
added __glXFindDRIScreen to glXGetProcAddress (bug 1068879)

20 years agofixed OSF/1 shared lib problem (bug 1065260)
Brian Paul [Mon, 29 Nov 2004 17:23:12 +0000 (17:23 +0000)]
fixed OSF/1 shared lib problem (bug 1065260)

20 years agoupdate from Jouk
Brian Paul [Mon, 29 Nov 2004 14:41:46 +0000 (14:41 +0000)]
update from Jouk

20 years agofix missing width/height error
Brian Paul [Sun, 28 Nov 2004 18:07:33 +0000 (18:07 +0000)]
fix missing width/height error

20 years agoRemove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().
Brian Paul [Sat, 27 Nov 2004 22:47:59 +0000 (22:47 +0000)]
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.

20 years agonew comments and assertions
Brian Paul [Sat, 27 Nov 2004 22:44:35 +0000 (22:44 +0000)]
new comments and assertions

20 years agoRemove the redundant width, height fields in xmesa_buffer struct. Just use
Brian Paul [Sat, 27 Nov 2004 21:20:37 +0000 (21:20 +0000)]
Remove the redundant width, height fields in xmesa_buffer struct.  Just use
the values in the contained GLframebuffer.
Removed some other unneeded code.

20 years agoremove _glapi_add_entrypoint() calls, they're already in context.c
Brian Paul [Sat, 27 Nov 2004 20:21:25 +0000 (20:21 +0000)]
remove _glapi_add_entrypoint() calls, they're already in context.c

20 years agoadd a few functions in add_newer_entrypoints()
Brian Paul [Sat, 27 Nov 2004 20:14:03 +0000 (20:14 +0000)]
add a few functions in add_newer_entrypoints()

20 years agoChange the dispatch offsets for the VertexAttrib*NV functions so they don't
Brian Paul [Sat, 27 Nov 2004 20:07:08 +0000 (20:07 +0000)]
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.

20 years agosilence warnings
Brian Paul [Sat, 27 Nov 2004 19:57:46 +0000 (19:57 +0000)]
silence warnings

20 years agomisc updates
Brian Paul [Sat, 27 Nov 2004 19:42:16 +0000 (19:42 +0000)]
misc updates

20 years agoSet symbol visibility to 'default', if supported by gcc.
Brian Paul [Sat, 27 Nov 2004 17:32:03 +0000 (17:32 +0000)]
Set symbol visibility to 'default', if supported by gcc.

20 years agouse new PUBLIC macro for symbol export
Brian Paul [Sat, 27 Nov 2004 17:30:41 +0000 (17:30 +0000)]
use new PUBLIC macro for symbol export

20 years agodon't need glut_fbc.c
Brian Paul [Sat, 27 Nov 2004 16:57:06 +0000 (16:57 +0000)]
don't need glut_fbc.c

20 years agonew GetOverlayInfo() function to reduce code and silence warnings
Brian Paul [Sat, 27 Nov 2004 16:49:52 +0000 (16:49 +0000)]
new GetOverlayInfo() function to reduce code and silence warnings

20 years agoHave OSMesaGetProcAddress() return new OSMESAproc typedef.
Brian Paul [Sat, 27 Nov 2004 16:24:39 +0000 (16:24 +0000)]
Have OSMesaGetProcAddress() return new OSMESAproc typedef.

20 years agoclean up code related to dispatch table initialization
Brian Paul [Sat, 27 Nov 2004 05:05:32 +0000 (05:05 +0000)]
clean up code related to dispatch table initialization

20 years agoclean up 'depend' commands
Brian Paul [Sat, 27 Nov 2004 04:58:39 +0000 (04:58 +0000)]
clean up 'depend' commands

20 years agotypedef GLUTproc, return it from glutGetProcAddress()
Brian Paul [Sat, 27 Nov 2004 04:54:48 +0000 (04:54 +0000)]
typedef GLUTproc, return it from glutGetProcAddress()

20 years agoremove -Wmissing-prototypes from g++ flags, per gcc 3.4
Brian Paul [Sat, 27 Nov 2004 04:50:34 +0000 (04:50 +0000)]
remove -Wmissing-prototypes from g++ flags, per gcc 3.4

20 years agouse @ to silence some unneeded output
Brian Paul [Sat, 27 Nov 2004 04:37:25 +0000 (04:37 +0000)]
use @ to silence some unneeded output

20 years agomake get_static_proc_address() return a _glapi_proc
Brian Paul [Sat, 27 Nov 2004 04:02:32 +0000 (04:02 +0000)]
make get_static_proc_address() return a _glapi_proc

20 years agouse _glapi_proc
Brian Paul [Sat, 27 Nov 2004 03:51:25 +0000 (03:51 +0000)]
use _glapi_proc

20 years agoUse new _glapi_proc typedef instead of void * for function pointers.
Brian Paul [Sat, 27 Nov 2004 03:51:11 +0000 (03:51 +0000)]
Use new _glapi_proc typedef instead of void * for function pointers.
Misc clean-ups in glapi.c

20 years agofix typo, update version/date
Brian Paul [Sat, 27 Nov 2004 03:47:14 +0000 (03:47 +0000)]
fix typo, update version/date

20 years agoremove the GLAPI/GLAPIENTRY defines - they're already in gl.h
Brian Paul [Sat, 27 Nov 2004 03:29:39 +0000 (03:29 +0000)]
remove the GLAPI/GLAPIENTRY defines - they're already in gl.h

20 years agoremoved a bunch of #define cruft, in case anyone still uses this code
Brian Paul [Sat, 27 Nov 2004 03:21:43 +0000 (03:21 +0000)]
removed a bunch of #define cruft, in case anyone still uses this code

20 years agoRemoved GLCALLBACK stuff - apparently never used anywhere.
Brian Paul [Sat, 27 Nov 2004 03:14:57 +0000 (03:14 +0000)]
Removed GLCALLBACK stuff - apparently never used anywhere.
Removed GLWINAPI stuff - only used (unnecessarily?) in enums.c

20 years agoadded X11 and OSMESA source to ALL_SOURCES, updated etags command
Brian Paul [Fri, 26 Nov 2004 16:23:22 +0000 (16:23 +0000)]
added X11 and OSMESA source to ALL_SOURCES, updated etags command

20 years ago(GLint*) casts in glGetIntegerv calls
Brian Paul [Fri, 26 Nov 2004 13:43:17 +0000 (13:43 +0000)]
(GLint*) casts in glGetIntegerv calls

20 years agoupdate some type names
Brian Paul [Fri, 26 Nov 2004 13:34:45 +0000 (13:34 +0000)]
update some type names

20 years agoUse a generic function typedef instead of void * to avoid gcc 3.4 warnings.
Brian Paul [Thu, 25 Nov 2004 23:26:16 +0000 (23:26 +0000)]
Use a generic function typedef instead of void * to avoid gcc 3.4 warnings.

20 years agoUse __GLXextFuncPtr type instead of void * for generic functions to
Brian Paul [Thu, 25 Nov 2004 23:25:33 +0000 (23:25 +0000)]
Use __GLXextFuncPtr type instead of void * for generic functions to
avoid gcc 3.4 compiler warnings.
Remove the unused/obsolete GLX_render_texture stuff.