mesa.git
22 years agoLOTS of changes, building upon Klaus's work.
Brian Paul [Sun, 27 Jan 2002 18:32:03 +0000 (18:32 +0000)]
LOTS of changes, building upon Klaus's work.
struct sw_span is used throughout span/fragment processing.
This is leading to less code and more chances for optimization.

22 years agoadded fog and raster Z position controls
Brian Paul [Sat, 26 Jan 2002 17:49:30 +0000 (17:49 +0000)]
added fog and raster Z position controls

22 years agomore info about building for Motif
Brian Paul [Fri, 25 Jan 2002 16:05:31 +0000 (16:05 +0000)]
more info about building for Motif

22 years agoadded missing IsEnabled() cases for fog coord and secondary color arrays
Brian Paul [Tue, 22 Jan 2002 18:40:46 +0000 (18:40 +0000)]
added missing IsEnabled() cases for fog coord and secondary color arrays

22 years agofixed array_cache.tag mistake
Brian Paul [Tue, 22 Jan 2002 18:37:05 +0000 (18:37 +0000)]
fixed array_cache.tag mistake

22 years agoClean-up/renaming of the per-vertex attribute bits, specifically, the
Brian Paul [Tue, 22 Jan 2002 14:35:16 +0000 (14:35 +0000)]
Clean-up/renaming of the per-vertex attribute bits, specifically, the
VERT_BIT_* flags are new and used in many places (esp in T&L code).
Updated some comments for doxygen.
Various code clean-ups.

22 years agoadded array_cache to TAGFILES
Brian Paul [Tue, 22 Jan 2002 14:31:09 +0000 (14:31 +0000)]
added array_cache to TAGFILES

22 years agominor update
Brian Paul [Mon, 21 Jan 2002 21:21:22 +0000 (21:21 +0000)]
minor update

22 years agofiles to support doxygen (source code documentation)
Brian Paul [Mon, 21 Jan 2002 19:29:55 +0000 (19:29 +0000)]
files to support doxygen (source code documentation)

22 years agoKlaus's latest patches and some clean-up
Brian Paul [Mon, 21 Jan 2002 18:12:34 +0000 (18:12 +0000)]
Klaus's latest patches and some clean-up

22 years agoupdated gl_mangle.h (Ray Tice)
Brian Paul [Fri, 18 Jan 2002 14:55:40 +0000 (14:55 +0000)]
updated gl_mangle.h (Ray Tice)

22 years agonew gl_mangle.h with korn shell script to regenerate itself from gl.h and glext.h...
Brian Paul [Wed, 16 Jan 2002 23:51:09 +0000 (23:51 +0000)]
new gl_mangle.h with korn shell script to regenerate itself from gl.h and glext.h (Ray Tice)

22 years agochanged PB (pixel buffer) to use texcoord[4] array
Brian Paul [Wed, 16 Jan 2002 20:15:00 +0000 (20:15 +0000)]
changed PB (pixel buffer) to use texcoord[4] array

22 years agoset PB->haveSpec in line functions that emit specular color
Brian Paul [Wed, 16 Jan 2002 18:22:19 +0000 (18:22 +0000)]
set PB->haveSpec in line functions that emit specular color

22 years agoadded another test in regions_overlap() (Klaus)
Brian Paul [Wed, 16 Jan 2002 16:04:50 +0000 (16:04 +0000)]
added another test in regions_overlap() (Klaus)

22 years agolatest changes from Klaus
Brian Paul [Wed, 16 Jan 2002 16:00:03 +0000 (16:00 +0000)]
latest changes from Klaus

22 years agoadded latest bug fixes
Brian Paul [Wed, 16 Jan 2002 15:45:54 +0000 (15:45 +0000)]
added latest bug fixes

22 years agoFixes for 24-bit Windows devices. The old code was trying to do 3-byte
Karl Schultz [Wed, 16 Jan 2002 15:42:17 +0000 (15:42 +0000)]
Fixes for 24-bit Windows devices.  The old code was trying to do 3-byte
stores with a full DWORD store (yuk).  (Jeff Lewis)

22 years ago Committing in .
Jouk Jansen [Wed, 16 Jan 2002 14:32:46 +0000 (14:32 +0000)]
 Committing in .

 -Compile support for tests on OpenVMS
 -Fixed missing header file
 -Fixed missing return value on function return

 Modified Files:
  Mesa/descrip.mms Mesa/tests/sharedtex.c
 Added Files:
  Mesa/tests/descrip.mms
 ----------------------------------------------------------------------

22 years agoget tests working on windows (Robert Bergkvist)
Karl Schultz [Wed, 16 Jan 2002 01:03:25 +0000 (01:03 +0000)]
get tests working on windows (Robert Bergkvist)

22 years agoSamples working for Windows (Robert Bergkvist)
Karl Schultz [Wed, 16 Jan 2002 00:57:54 +0000 (00:57 +0000)]
Samples working for Windows (Robert Bergkvist)

22 years agoDemo updates for Windows (Robert Bergkvist)
Karl Schultz [Wed, 16 Jan 2002 00:48:43 +0000 (00:48 +0000)]
Demo updates for Windows (Robert Bergkvist)

22 years agoRemoved missing files and added new ones (Robert Bergkvist)
Karl Schultz [Wed, 16 Jan 2002 00:41:16 +0000 (00:41 +0000)]
Removed missing files and added new ones (Robert Bergkvist)

22 years agoadded some missing error checks
Brian Paul [Tue, 15 Jan 2002 21:49:57 +0000 (21:49 +0000)]
added some missing error checks

22 years agoFixed Windows compile problem with gl__unused413() function.
Brian Paul [Tue, 15 Jan 2002 19:04:52 +0000 (19:04 +0000)]
Fixed Windows compile problem with gl__unused413() function.

22 years agoCorrect typo (vpstate.c) so that makefile works.
Karl Schultz [Tue, 15 Jan 2002 18:41:53 +0000 (18:41 +0000)]
Correct typo (vpstate.c) so that makefile works.

22 years agoRemove phantom tab on a blank line to allow compile on IRIX.
Karl Schultz [Tue, 15 Jan 2002 18:30:58 +0000 (18:30 +0000)]
Remove phantom tab on a blank line to allow compile on IRIX.

22 years agoremoved api_compat stuff
Brian Paul [Tue, 15 Jan 2002 18:27:33 +0000 (18:27 +0000)]
removed api_compat stuff

22 years agoFixed pixel color component problem and clear code for 24-bit Windows
Karl Schultz [Tue, 15 Jan 2002 18:14:34 +0000 (18:14 +0000)]
Fixed pixel color component problem and clear code for 24-bit Windows
  devices.  (Jeff Lewis)

22 years agoRemove trailing CR's. No logical changes.
Karl Schultz [Tue, 15 Jan 2002 18:11:36 +0000 (18:11 +0000)]
Remove trailing CR's.   No logical changes.

22 years agoremove api_compat.c
Brian Paul [Mon, 14 Jan 2002 16:07:33 +0000 (16:07 +0000)]
remove api_compat.c

22 years agoRemoved api_compat stuff, there's a better way.
Brian Paul [Mon, 14 Jan 2002 16:06:35 +0000 (16:06 +0000)]
Removed api_compat stuff, there's a better way.
Fixed FogCoord / SecondaryColor mix-ups in api_arrayelt.c

22 years agooops, missed vpstate.c
Brian Paul [Mon, 14 Jan 2002 15:47:10 +0000 (15:47 +0000)]
oops, missed vpstate.c

22 years agoadded vertex program sources
Brian Paul [Mon, 14 Jan 2002 15:46:19 +0000 (15:46 +0000)]
added vertex program sources

22 years agoadded glReadPixels / scissor bug fix
Brian Paul [Sat, 12 Jan 2002 16:19:04 +0000 (16:19 +0000)]
added glReadPixels / scissor bug fix

22 years agodon't apply scissor box in read_fast_rgba_pixels()
Brian Paul [Sat, 12 Jan 2002 16:12:52 +0000 (16:12 +0000)]
don't apply scissor box in read_fast_rgba_pixels()

22 years agoadded some comments
Brian Paul [Sat, 12 Jan 2002 03:01:23 +0000 (03:01 +0000)]
added some comments

22 years agoupdated some comments
Brian Paul [Sat, 12 Jan 2002 02:57:14 +0000 (02:57 +0000)]
updated some comments

22 years agoset _NeedEyeCoords to zero if vertex program is enabled
Brian Paul [Sat, 12 Jan 2002 02:55:30 +0000 (02:55 +0000)]
set _NeedEyeCoords to zero if vertex program is enabled

22 years agoChanged gl_client_array's Enabled field to GLuint so it can actually
Brian Paul [Fri, 11 Jan 2002 17:26:54 +0000 (17:26 +0000)]
Changed gl_client_array's Enabled field to GLuint so it can actually
hold the flags we're storing in it!

22 years agoMoved _mesa_VertexAttribPointerNV into varray.c.
Brian Paul [Fri, 11 Jan 2002 17:25:35 +0000 (17:25 +0000)]
Moved _mesa_VertexAttribPointerNV into varray.c.
Removed dead placeholder functions from vpstate.[ch].
Changed gl_client_array's Enabled field to GLuint so it can actually
hold the flags we're storing in it!
Always do the switch (type) code in the vertex array functions to that
<type> gets error checked!

22 years agoKlaus's latest patches: change texcoord[3] to texcoord[4] everywhere
Brian Paul [Thu, 10 Jan 2002 16:54:28 +0000 (16:54 +0000)]
Klaus's latest patches: change texcoord[3] to texcoord[4] everywhere

22 years agoinit whole immediate struct to zero
Brian Paul [Thu, 10 Jan 2002 15:50:12 +0000 (15:50 +0000)]
init whole immediate struct to zero

22 years agoadded glTexEnviv bug fix
Brian Paul [Wed, 9 Jan 2002 02:16:58 +0000 (02:16 +0000)]
added glTexEnviv bug fix

22 years agofixed int->float conversion bug in _mesa_TexEnviv()
Brian Paul [Wed, 9 Jan 2002 02:14:29 +0000 (02:14 +0000)]
fixed int->float conversion bug in _mesa_TexEnviv()

22 years agoadded GL_REPLACE / GL_RGB texture bug fix
Brian Paul [Wed, 9 Jan 2002 00:30:01 +0000 (00:30 +0000)]
added GL_REPLACE / GL_RGB texture bug fix

22 years agofixed GL_REPLACE / GL_RGB bug
Brian Paul [Wed, 9 Jan 2002 00:27:49 +0000 (00:27 +0000)]
fixed GL_REPLACE / GL_RGB bug

22 years agoadded GL_BLEND/texenv color bug fix
Brian Paul [Wed, 9 Jan 2002 00:14:13 +0000 (00:14 +0000)]
added GL_BLEND/texenv color bug fix

22 years agotexture env color wasn't used correctly in GL_BLEND mode
Brian Paul [Wed, 9 Jan 2002 00:09:33 +0000 (00:09 +0000)]
texture env color wasn't used correctly in GL_BLEND mode

22 years agocompile with -DNDEBUG
Brian Paul [Tue, 8 Jan 2002 15:58:32 +0000 (15:58 +0000)]
compile with -DNDEBUG

22 years agowork-around for QNX compiler problem
Brian Paul [Tue, 8 Jan 2002 14:56:51 +0000 (14:56 +0000)]
work-around for QNX compiler problem

22 years agoimplemented vertex program point size control
Brian Paul [Sun, 6 Jan 2002 20:39:03 +0000 (20:39 +0000)]
implemented vertex program point size control

22 years agoAnother vertex program checkpoint: clean-up of vertex attribute storage
Brian Paul [Sun, 6 Jan 2002 03:54:12 +0000 (03:54 +0000)]
Another vertex program checkpoint: clean-up of vertex attribute storage
in vertex_buffer.   Improved vertex program pipeline stage such that
output registers can be processed in a loop.  Getting closer to where
we need to be in order to implement performance optimizations...

22 years agominor clean-ups
Brian Paul [Sat, 5 Jan 2002 21:58:42 +0000 (21:58 +0000)]
minor clean-ups

22 years agoinfrastructure for vertex program attribute evaluators
Brian Paul [Sat, 5 Jan 2002 21:53:20 +0000 (21:53 +0000)]
infrastructure for vertex program attribute evaluators

22 years agoVertex program checkpoint commit: converted all vertex attributes (color,
Brian Paul [Sat, 5 Jan 2002 20:51:12 +0000 (20:51 +0000)]
Vertex program checkpoint commit: converted all vertex attributes (color,
normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype.
Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib
now complete.

22 years agocomments, clean-ups, added lots of const qualifiers
Brian Paul [Sat, 5 Jan 2002 14:12:24 +0000 (14:12 +0000)]
comments, clean-ups, added lots of const qualifiers

22 years agocomments, clean-ups, added lots of const qualifiers
Brian Paul [Sat, 5 Jan 2002 14:03:33 +0000 (14:03 +0000)]
comments, clean-ups, added lots of const qualifiers

22 years agotest multitexture and vertex arrays
Brian Paul [Fri, 4 Jan 2002 23:00:19 +0000 (23:00 +0000)]
test multitexture and vertex arrays

22 years agoadded some assertions to exercise glIsTexture()
Brian Paul [Fri, 4 Jan 2002 21:05:57 +0000 (21:05 +0000)]
added some assertions to exercise glIsTexture()

22 years agoadded info about which drivers work and don't work
Brian Paul [Fri, 4 Jan 2002 14:42:35 +0000 (14:42 +0000)]
added info about which drivers work and don't work

22 years agofix bug 498555 - test for __GNUC__
Brian Paul [Fri, 4 Jan 2002 14:35:46 +0000 (14:35 +0000)]
fix bug 498555 - test for __GNUC__

22 years ago- Clean up state bitmask.
Gareth Hughes [Fri, 4 Jan 2002 09:47:17 +0000 (09:47 +0000)]
- Clean up state bitmask.
- Add (somewhat broken) PolygonMode bit, toggles between GL_FILL and
  GL_LINE.  Somewhat useful in mimicking certain Viewperf tests.

22 years agoregenerated from updated glsparcasm.py script
Brian Paul [Thu, 3 Jan 2002 16:35:08 +0000 (16:35 +0000)]
regenerated from updated glsparcasm.py script

22 years agodon't use macros, just expand them in-line
Brian Paul [Thu, 3 Jan 2002 16:33:59 +0000 (16:33 +0000)]
don't use macros, just expand them in-line

22 years agoAdd missing items from .cvsignore files, tests/Makefile
Gareth Hughes [Fri, 28 Dec 2001 06:37:40 +0000 (06:37 +0000)]
Add missing items from .cvsignore files, tests/Makefile

22 years agoRemove warnings about the difference between function pointers and
Gareth Hughes [Fri, 28 Dec 2001 06:28:10 +0000 (06:28 +0000)]
Remove warnings about the difference between function pointers and
(void *) pointers.

22 years agoadd _compat_VertexAttrib4fNV
Keith Whitwell [Fri, 21 Dec 2001 15:48:23 +0000 (15:48 +0000)]
add _compat_VertexAttrib4fNV

22 years agoDefine finite as _finite for Windows.
Karl Schultz [Thu, 20 Dec 2001 18:59:39 +0000 (18:59 +0000)]
Define finite as _finite for Windows.

22 years agoFurther help with dri libGL version skew
Keith Whitwell [Thu, 20 Dec 2001 15:30:45 +0000 (15:30 +0000)]
Further help with dri libGL version skew

22 years agoFix clipping problem on mga
Keith Whitwell [Thu, 20 Dec 2001 09:54:20 +0000 (09:54 +0000)]
Fix clipping problem on mga

22 years agosome display list support for vertex program extension
Brian Paul [Wed, 19 Dec 2001 02:36:05 +0000 (02:36 +0000)]
some display list support for vertex program extension

22 years agoadded separate specular bug fix to 4.0.1 list
Brian Paul [Wed, 19 Dec 2001 01:29:58 +0000 (01:29 +0000)]
added separate specular bug fix to 4.0.1 list

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/