mesa.git
22 years agofix a comment typo
Brian Paul [Wed, 19 Dec 2001 01:09:46 +0000 (01:09 +0000)]
fix a comment typo

22 years agohave to clamp color+specular in _swrast_add_spec_terms_triangle()! (fixes Chimera...
Brian Paul [Wed, 19 Dec 2001 01:08:49 +0000 (01:08 +0000)]
have to clamp color+specular in _swrast_add_spec_terms_triangle()! (fixes Chimera bug)

22 years agoremove some cruft
Brian Paul [Wed, 19 Dec 2001 01:07:50 +0000 (01:07 +0000)]
remove some cruft

22 years agobring 4.0.1 info into trunk
Brian Paul [Tue, 18 Dec 2001 14:08:23 +0000 (14:08 +0000)]
bring 4.0.1 info into trunk

22 years agoReplace old matrix stacks with new code based on struct matrix_stack.
Brian Paul [Tue, 18 Dec 2001 04:06:44 +0000 (04:06 +0000)]
Replace old matrix stacks with new code based on struct matrix_stack.
Moved vertex program hash table into shared context state.
Implemented reference counting for vertex programs.
Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).

22 years agodisable prototype matrix stack code
Brian Paul [Mon, 17 Dec 2001 22:41:45 +0000 (22:41 +0000)]
disable prototype matrix stack code

22 years ago Committing in .
Jouk Jansen [Mon, 17 Dec 2001 09:02:55 +0000 (09:02 +0000)]
 Committing in .

 Update OpenVMS makefile for vertex-routines
 #ifndef __VMS added for one print statement containing __FUNCTION__

 Modified Files:
  Mesa/src/descrip.mms Mesa/src/tnl/t_imm_api.c
 ----------------------------------------------------------------------

22 years agoadded some debug printfs (disabled)
Brian Paul [Mon, 17 Dec 2001 04:58:50 +0000 (04:58 +0000)]
added some debug printfs (disabled)

22 years agofirst checkpoint commit of Klaus's new span code (struct sw_span)
Brian Paul [Mon, 17 Dec 2001 04:54:35 +0000 (04:54 +0000)]
first checkpoint commit of Klaus's new span code (struct sw_span)

22 years agofirst checkpoint commit of Klaus's new span code (struct sw_span)
Brian Paul [Mon, 17 Dec 2001 04:47:57 +0000 (04:47 +0000)]
first checkpoint commit of Klaus's new span code (struct sw_span)

22 years agoremove conditional in RESET_STIPPLE to fix conformance failure
Brian Paul [Mon, 17 Dec 2001 01:46:58 +0000 (01:46 +0000)]
remove conditional in RESET_STIPPLE to fix conformance failure

22 years agoupdated vertex buffer identifiers
Brian Paul [Sun, 16 Dec 2001 11:28:20 +0000 (11:28 +0000)]
updated vertex buffer identifiers

22 years agowarp a quadmesh with a gravitational source via vertex program
Brian Paul [Sat, 15 Dec 2001 23:28:15 +0000 (23:28 +0000)]
warp a quadmesh with a gravitational source via vertex program

22 years agorotating, lit torus via vertex program
Brian Paul [Sat, 15 Dec 2001 22:33:59 +0000 (22:33 +0000)]
rotating, lit torus via vertex program

22 years agodivide by W and clipping now work - in pretty good shape now
Brian Paul [Sat, 15 Dec 2001 22:31:23 +0000 (22:31 +0000)]
divide by W and clipping now work - in pretty good shape now

22 years agotemporary hack for divide by W
Brian Paul [Sat, 15 Dec 2001 21:31:28 +0000 (21:31 +0000)]
temporary hack for divide by W

22 years agobetter api trace/log messages
Brian Paul [Sat, 15 Dec 2001 16:42:59 +0000 (16:42 +0000)]
better api trace/log messages

22 years agovertex program fixes
Brian Paul [Sat, 15 Dec 2001 02:14:43 +0000 (02:14 +0000)]
vertex program fixes

22 years agodisable debug printf's, fix a crash
Brian Paul [Sat, 15 Dec 2001 02:13:32 +0000 (02:13 +0000)]
disable debug printf's, fix a crash

22 years agofree the NormalLengthPtr if non-null in _tnl_free_immediate()
Brian Paul [Sat, 15 Dec 2001 00:49:00 +0000 (00:49 +0000)]
free the NormalLengthPtr if non-null in _tnl_free_immediate()

22 years agoadded newline characters to trace strings
Brian Paul [Fri, 14 Dec 2001 21:56:50 +0000 (21:56 +0000)]
added newline characters to trace strings

22 years agoUse $(MAKE) on the irix targets, instead of hard-coding pmake,
Karl Schultz [Fri, 14 Dec 2001 17:48:19 +0000 (17:48 +0000)]
Use $(MAKE) on the irix targets, instead of hard-coding pmake,
as suggested in SF bug 482149.  People can still use
pmake -v -f Makefile.X11 if they want to use pmake (works great for me).
Sorry, this should have been in the last check-in.

22 years agoAdd .cc as a valid suffix.
Karl Schultz [Fri, 14 Dec 2001 17:19:32 +0000 (17:19 +0000)]
Add .cc as a valid suffix.

22 years agoCleanup for IRIX 6 platforms. Build src-glu instead of si-glu due
Karl Schultz [Fri, 14 Dec 2001 17:14:45 +0000 (17:14 +0000)]
Cleanup for IRIX 6 platforms.  Build src-glu instead of si-glu due
to problems with building the c++ code in the si-glu.

22 years agoFix up targets for
Karl Schultz [Fri, 14 Dec 2001 16:42:23 +0000 (16:42 +0000)]
Fix up targets for
irix6-o32, irix6-o32-dso, irix6-n32, irix6-n32-dso

22 years agoRemove rules that were put into place to deal with compiling files that
Karl Schultz [Fri, 14 Dec 2001 16:35:55 +0000 (16:35 +0000)]
Remove rules that were put into place to deal with compiling files that
are in subdirectories of this directory.  The list of rules that were here
was out of date for Mesa 4 and would likely get out of date again.  It is
better to have make handle it (e.g., use pmake -v on IRIX).

22 years agos/glxGetProcAddress/glXGetProcAddressARB/
Brian Paul [Fri, 14 Dec 2001 11:40:14 +0000 (11:40 +0000)]
s/glxGetProcAddress/glXGetProcAddressARB/

22 years agooops, wrong value for GLX_SAMPLES
Brian Paul [Fri, 14 Dec 2001 03:19:06 +0000 (03:19 +0000)]
oops, wrong value for GLX_SAMPLES

22 years agoadded GLX_SAMPLE_BUFFERS, GLX_SAMPLES
Brian Paul [Fri, 14 Dec 2001 03:18:08 +0000 (03:18 +0000)]
added GLX_SAMPLE_BUFFERS, GLX_SAMPLES

22 years agominor tweaks
Brian Paul [Fri, 14 Dec 2001 03:17:00 +0000 (03:17 +0000)]
minor tweaks

22 years ago4.1 extensions
Brian Paul [Fri, 14 Dec 2001 03:16:06 +0000 (03:16 +0000)]
4.1 extensions

22 years agoplanned extensions for 4.1
Brian Paul [Fri, 14 Dec 2001 03:14:49 +0000 (03:14 +0000)]
planned extensions for 4.1

22 years agominor dispatach table changes
Brian Paul [Fri, 14 Dec 2001 03:13:04 +0000 (03:13 +0000)]
minor dispatach table changes

22 years agovertex program test program
Brian Paul [Fri, 14 Dec 2001 03:03:38 +0000 (03:03 +0000)]
vertex program test program

22 years agovertex program check-in
Brian Paul [Fri, 14 Dec 2001 02:50:01 +0000 (02:50 +0000)]
vertex program check-in

22 years agoadd dispatch offsets for vertex program functions
Brian Paul [Fri, 14 Dec 2001 02:48:10 +0000 (02:48 +0000)]
add dispatch offsets for vertex program functions

22 years agoRemove const from save_TexParameteri to match prototype for glTexParameteri.
Karl Schultz [Thu, 13 Dec 2001 19:58:20 +0000 (19:58 +0000)]
Remove const from save_TexParameteri to match prototype for glTexParameteri.
Allows compilation on IRIX.

22 years agoAdded missing entry points
Karl Schultz [Thu, 13 Dec 2001 19:15:58 +0000 (19:15 +0000)]
Added missing entry points

22 years agofixed errors in feedback for glDraw/CopyPixels and glBitmap
Brian Paul [Thu, 13 Dec 2001 19:12:42 +0000 (19:12 +0000)]
fixed errors in feedback for glDraw/CopyPixels and glBitmap

22 years agospecial case blend optmizations (Jeremy Fitzhardinge)
Brian Paul [Thu, 13 Dec 2001 16:14:26 +0000 (16:14 +0000)]
special case blend optmizations (Jeremy Fitzhardinge)

22 years agocall FLUSH_VERTICES() in _mesaTexParameterfv() (bug 491832)
Brian Paul [Thu, 13 Dec 2001 16:02:11 +0000 (16:02 +0000)]
call FLUSH_VERTICES() in _mesaTexParameterfv() (bug 491832)

22 years agofix for ubyte colors
Keith Whitwell [Thu, 13 Dec 2001 10:51:41 +0000 (10:51 +0000)]
fix for ubyte colors

22 years agofix primitive calculation in 1-line dlist immediates (molecules)
Keith Whitwell [Thu, 13 Dec 2001 10:49:04 +0000 (10:49 +0000)]
fix primitive calculation in 1-line dlist immediates (molecules)

22 years agofix glut tess lockup
Keith Whitwell [Tue, 11 Dec 2001 15:13:57 +0000 (15:13 +0000)]
fix glut tess lockup

22 years agoadded enums for GL_ARB_depth_texture/shadow/shadow_ambient (temporary)
Brian Paul [Wed, 5 Dec 2001 22:01:13 +0000 (22:01 +0000)]
added enums for GL_ARB_depth_texture/shadow/shadow_ambient (temporary)

22 years agoadd inf and nan tests to swrast functions
Keith Whitwell [Wed, 5 Dec 2001 10:24:31 +0000 (10:24 +0000)]
add inf and nan tests to swrast functions

22 years agofixed potential array overwrite problem
Brian Paul [Tue, 4 Dec 2001 23:45:31 +0000 (23:45 +0000)]
fixed potential array overwrite problem

22 years agoprototype implementation of GL_ARB_depth_texture, GL_ARB_shadow, GL_ARB_shadow_ambient
Brian Paul [Tue, 4 Dec 2001 23:44:55 +0000 (23:44 +0000)]
prototype implementation of GL_ARB_depth_texture, GL_ARB_shadow, GL_ARB_shadow_ambient

22 years agodispatch changes to minimize hassle with XFree86 libGL
Brian Paul [Tue, 4 Dec 2001 23:43:31 +0000 (23:43 +0000)]
dispatch changes to minimize hassle with XFree86 libGL

22 years agofurther tweak to dlist change
Keith Whitwell [Tue, 4 Dec 2001 13:04:29 +0000 (13:04 +0000)]
further tweak to dlist change

22 years agoguard ResetStipple calls
Keith Whitwell [Mon, 3 Dec 2001 17:48:58 +0000 (17:48 +0000)]
guard ResetStipple calls

22 years agofx another place where PRIM_PARITY is calculated
Keith Whitwell [Mon, 3 Dec 2001 17:47:04 +0000 (17:47 +0000)]
fx another place where PRIM_PARITY is calculated

22 years agosimplify drawarrays paths
Keith Whitwell [Mon, 3 Dec 2001 17:41:58 +0000 (17:41 +0000)]
simplify drawarrays paths

22 years agoavoid side-effects in macro param
Keith Whitwell [Mon, 3 Dec 2001 17:39:12 +0000 (17:39 +0000)]
avoid side-effects in macro param

22 years agocorrectly reset input after dlist execution
Keith Whitwell [Mon, 3 Dec 2001 17:19:14 +0000 (17:19 +0000)]
correctly reset input after dlist execution

22 years agoCorrected bad line breaks in macro definitions within code compiled
Karl Schultz [Fri, 30 Nov 2001 22:11:45 +0000 (22:11 +0000)]
Corrected bad line breaks in macro definitions within code compiled
when BEOS_THREADS is defined.  This usually does not cause a problem when
BEOS_THREADS is not defined, but the bad line break in this case put
the "#name" text as the first non-white space in a line, causing the
IRIX C preprocessor to think that it was a preprocessor directive, and
that generated a distracting warning.  I also fixed a couple of other
line breaks that seemed wrong to me.

22 years agoAdd darwin target
Karl Schultz [Fri, 30 Nov 2001 19:41:19 +0000 (19:41 +0000)]
Add darwin target

22 years agomalloc() prototype is in stdlib.h for darwin
Karl Schultz [Fri, 30 Nov 2001 19:35:22 +0000 (19:35 +0000)]
malloc() prototype is in stdlib.h for darwin

22 years agoDon't reset _tnl_CurrentInput when in DestroyContext.
Alan Hourihane [Fri, 30 Nov 2001 15:43:53 +0000 (15:43 +0000)]
Don't reset _tnl_CurrentInput when in DestroyContext.

22 years agomain trunk is now 4.1
Karl Schultz [Thu, 29 Nov 2001 23:13:12 +0000 (23:13 +0000)]
main trunk is now 4.1

22 years agoupdate to version 4.0
Karl Schultz [Thu, 29 Nov 2001 22:54:33 +0000 (22:54 +0000)]
update to version 4.0

22 years agoUpdate notes on si-glu NURBS.
Karl Schultz [Thu, 29 Nov 2001 16:55:37 +0000 (16:55 +0000)]
Update notes on si-glu NURBS.

22 years agoFix compilation errors and warnings for NURBS support. (Robert Bergkvist)
Karl Schultz [Thu, 29 Nov 2001 16:16:55 +0000 (16:16 +0000)]
Fix compilation errors and warnings for NURBS support. (Robert Bergkvist)

22 years agouse smaller buffer when decomposing large drawarrays, for cache goodness
Keith Whitwell [Thu, 29 Nov 2001 15:15:20 +0000 (15:15 +0000)]
use smaller buffer when decomposing large drawarrays, for cache goodness

22 years agoupdated comment about CHAN_BITS
Brian Paul [Wed, 28 Nov 2001 17:18:36 +0000 (17:18 +0000)]
updated comment about CHAN_BITS

22 years agouse v2 color, not v0 in flat_ci_triangle()
Brian Paul [Wed, 28 Nov 2001 16:11:32 +0000 (16:11 +0000)]
use v2 color, not v0 in flat_ci_triangle()

22 years agouse glXGetProcAddressARB to avoid extension linkage problems
Brian Paul [Tue, 27 Nov 2001 02:55:58 +0000 (02:55 +0000)]
use glXGetProcAddressARB to avoid extension linkage problems

22 years agodon't directly call glSecondaryColor*EXT() or glFogCoord*EXT()
Brian Paul [Tue, 27 Nov 2001 00:05:35 +0000 (00:05 +0000)]
don't directly call glSecondaryColor*EXT() or glFogCoord*EXT()

22 years agodon't use near and far for parameter names
Brian Paul [Mon, 26 Nov 2001 23:41:24 +0000 (23:41 +0000)]
don't use near and far for parameter names

22 years agoavoid using near and far as variable names since they are reserved words
Karl Schultz [Mon, 26 Nov 2001 22:55:28 +0000 (22:55 +0000)]
avoid using near and far as variable names since they are reserved words
in the windows compiler.

22 years agofix some warnings
Brian Paul [Mon, 26 Nov 2001 17:21:46 +0000 (17:21 +0000)]
fix some warnings

22 years agoPossible fix for vtk tristrip bug
Keith Whitwell [Mon, 26 Nov 2001 12:56:07 +0000 (12:56 +0000)]
Possible fix for vtk tristrip bug

22 years agofix for bug 474479, remove Trace/* stuff
Brian Paul [Fri, 23 Nov 2001 20:44:12 +0000 (20:44 +0000)]
fix for bug 474479, remove Trace/* stuff

22 years agofixed bug 484142, missing backslash
Brian Paul [Fri, 23 Nov 2001 20:09:26 +0000 (20:09 +0000)]
fixed bug 484142, missing backslash

22 years agoAnother locked drawarrys fix
Keith Whitwell [Thu, 22 Nov 2001 09:23:36 +0000 (09:23 +0000)]
Another locked drawarrys fix

22 years agominor update
Brian Paul [Wed, 21 Nov 2001 17:21:41 +0000 (17:21 +0000)]
minor update

22 years ago3dnow normalize_normals broken, disable
Keith Whitwell [Mon, 19 Nov 2001 13:52:41 +0000 (13:52 +0000)]
3dnow normalize_normals broken, disable

22 years agopossible fix for cva ignore start index bug
Keith Whitwell [Mon, 19 Nov 2001 10:22:41 +0000 (10:22 +0000)]
possible fix for cva ignore start index bug

22 years agoMore span rendering optimizations from Klaus Niederkrueger
Brian Paul [Mon, 19 Nov 2001 01:18:28 +0000 (01:18 +0000)]
More span rendering optimizations from Klaus Niederkrueger

22 years agoadded test implementation of GL_ARB_window_pos
Brian Paul [Mon, 19 Nov 2001 00:41:32 +0000 (00:41 +0000)]
added test implementation of GL_ARB_window_pos

22 years agofixed a glitch
Brian Paul [Mon, 19 Nov 2001 00:40:33 +0000 (00:40 +0000)]
fixed a glitch

22 years agoadded test implementation of GL_ARB_window_pos
Brian Paul [Mon, 19 Nov 2001 00:13:45 +0000 (00:13 +0000)]
added test implementation of GL_ARB_window_pos

22 years agoadded test implementation of GL_ARB_window_pos
Brian Paul [Sun, 18 Nov 2001 23:52:37 +0000 (23:52 +0000)]
added test implementation of GL_ARB_window_pos

22 years agotest for glXGetProcAddress()
Brian Paul [Sun, 18 Nov 2001 23:16:56 +0000 (23:16 +0000)]
test for glXGetProcAddress()

22 years agoremove -DMESA_TRACE from linux-debug config
Brian Paul [Sun, 18 Nov 2001 23:11:45 +0000 (23:11 +0000)]
remove -DMESA_TRACE from linux-debug config

22 years agoremove Glide and SVGA support from mesa-debug config
Brian Paul [Sun, 18 Nov 2001 23:03:53 +0000 (23:03 +0000)]
remove Glide and SVGA support from mesa-debug config

22 years agoincluded by glapi.c
Brian Paul [Sun, 18 Nov 2001 22:52:22 +0000 (22:52 +0000)]
included by glapi.c

22 years agoAPI dispath updates
Brian Paul [Sun, 18 Nov 2001 22:48:11 +0000 (22:48 +0000)]
API dispath updates

22 years agonew, simpler API specification file
Brian Paul [Sun, 18 Nov 2001 22:43:16 +0000 (22:43 +0000)]
new, simpler API specification file

22 years agonew Python API generator scripts
Brian Paul [Sun, 18 Nov 2001 22:42:57 +0000 (22:42 +0000)]
new Python API generator scripts

22 years agoadded missing const to glXGetContextIDEXT() prototype
Brian Paul [Sun, 18 Nov 2001 22:16:07 +0000 (22:16 +0000)]
added missing const to glXGetContextIDEXT() prototype

22 years agoimproved AA subpixel sample positions (Ray Tice)
Brian Paul [Tue, 13 Nov 2001 00:26:39 +0000 (00:26 +0000)]
improved AA subpixel sample positions (Ray Tice)

22 years agoBeOS thread support (Philippe Houdoin)
Brian Paul [Mon, 12 Nov 2001 23:50:12 +0000 (23:50 +0000)]
BeOS thread support (Philippe Houdoin)

22 years agofix typedef problem found with MSDev 6.0
Brian Paul [Fri, 9 Nov 2001 22:04:24 +0000 (22:04 +0000)]
fix typedef problem found with MSDev 6.0

22 years agoadded GLX 1.4 function manglers
Brian Paul [Fri, 9 Nov 2001 22:01:02 +0000 (22:01 +0000)]
added GLX 1.4 function manglers

22 years agoadded 1.3 function manglers
Brian Paul [Fri, 9 Nov 2001 22:00:53 +0000 (22:00 +0000)]
added 1.3 function manglers

22 years agodefine GL_VERSION_1_3 (doh!)
Brian Paul [Fri, 9 Nov 2001 21:54:30 +0000 (21:54 +0000)]
define GL_VERSION_1_3 (doh!)

22 years agocasts to silence warnings from gcc 2.96
Brian Paul [Tue, 6 Nov 2001 16:01:19 +0000 (16:01 +0000)]
casts to silence warnings from gcc 2.96

22 years agoadded missing GL_MAX_TEXTURE_LOD_BIAS_EXT query
Brian Paul [Tue, 6 Nov 2001 15:53:00 +0000 (15:53 +0000)]
added missing GL_MAX_TEXTURE_LOD_BIAS_EXT query

22 years agofix error in error checking conditional (bug 476846)
Brian Paul [Sat, 3 Nov 2001 04:11:26 +0000 (04:11 +0000)]
fix error in error checking conditional (bug 476846)