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
Brian Paul [Mon, 14 Jan 2002 15:47:10 +0000 (15:47 +0000)]
oops, missed vpstate.c
Brian Paul [Mon, 14 Jan 2002 15:46:19 +0000 (15:46 +0000)]
added vertex program sources
Brian Paul [Sat, 12 Jan 2002 16:19:04 +0000 (16:19 +0000)]
added glReadPixels / scissor bug fix
Brian Paul [Sat, 12 Jan 2002 16:12:52 +0000 (16:12 +0000)]
don't apply scissor box in read_fast_rgba_pixels()
Brian Paul [Sat, 12 Jan 2002 03:01:23 +0000 (03:01 +0000)]
added some comments
Brian Paul [Sat, 12 Jan 2002 02:57:14 +0000 (02:57 +0000)]
updated some comments
Brian Paul [Sat, 12 Jan 2002 02:55:30 +0000 (02:55 +0000)]
set _NeedEyeCoords to zero if vertex program is enabled
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!
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!
Brian Paul [Thu, 10 Jan 2002 16:54:28 +0000 (16:54 +0000)]
Klaus's latest patches: change texcoord[3] to texcoord[4] everywhere
Brian Paul [Thu, 10 Jan 2002 15:50:12 +0000 (15:50 +0000)]
init whole immediate struct to zero
Brian Paul [Wed, 9 Jan 2002 02:16:58 +0000 (02:16 +0000)]
added glTexEnviv bug fix
Brian Paul [Wed, 9 Jan 2002 02:14:29 +0000 (02:14 +0000)]
fixed int->float conversion bug in _mesa_TexEnviv()
Brian Paul [Wed, 9 Jan 2002 00:30:01 +0000 (00:30 +0000)]
added GL_REPLACE / GL_RGB texture bug fix
Brian Paul [Wed, 9 Jan 2002 00:27:49 +0000 (00:27 +0000)]
fixed GL_REPLACE / GL_RGB bug
Brian Paul [Wed, 9 Jan 2002 00:14:13 +0000 (00:14 +0000)]
added GL_BLEND/texenv color bug fix
Brian Paul [Wed, 9 Jan 2002 00:09:33 +0000 (00:09 +0000)]
texture env color wasn't used correctly in GL_BLEND mode
Brian Paul [Tue, 8 Jan 2002 15:58:32 +0000 (15:58 +0000)]
compile with -DNDEBUG
Brian Paul [Tue, 8 Jan 2002 14:56:51 +0000 (14:56 +0000)]
work-around for QNX compiler problem
Brian Paul [Sun, 6 Jan 2002 20:39:03 +0000 (20:39 +0000)]
implemented vertex program point size control
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...
Brian Paul [Sat, 5 Jan 2002 21:58:42 +0000 (21:58 +0000)]
minor clean-ups
Brian Paul [Sat, 5 Jan 2002 21:53:20 +0000 (21:53 +0000)]
infrastructure for vertex program attribute evaluators
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.
Brian Paul [Sat, 5 Jan 2002 14:12:24 +0000 (14:12 +0000)]
comments, 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
Brian Paul [Fri, 4 Jan 2002 23:00:19 +0000 (23:00 +0000)]
test multitexture and vertex arrays
Brian Paul [Fri, 4 Jan 2002 21:05:57 +0000 (21:05 +0000)]
added some assertions to exercise glIsTexture()
Brian Paul [Fri, 4 Jan 2002 14:42:35 +0000 (14:42 +0000)]
added info about which drivers work and don't work
Brian Paul [Fri, 4 Jan 2002 14:35:46 +0000 (14:35 +0000)]
fix bug 498555 - test for __GNUC__
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.
Brian Paul [Thu, 3 Jan 2002 16:35:08 +0000 (16:35 +0000)]
regenerated from updated glsparcasm.py script
Brian Paul [Thu, 3 Jan 2002 16:33:59 +0000 (16:33 +0000)]
don't use macros, just expand them in-line
Gareth Hughes [Fri, 28 Dec 2001 06:37:40 +0000 (06:37 +0000)]
Add missing items from .cvsignore files, tests/Makefile
Gareth Hughes [Fri, 28 Dec 2001 06:28:10 +0000 (06:28 +0000)]
Remove warnings about the difference between function pointers and
(void *) pointers.
Keith Whitwell [Fri, 21 Dec 2001 15:48:23 +0000 (15:48 +0000)]
add _compat_VertexAttrib4fNV
Karl Schultz [Thu, 20 Dec 2001 18:59:39 +0000 (18:59 +0000)]
Define finite as _finite for Windows.
Keith Whitwell [Thu, 20 Dec 2001 15:30:45 +0000 (15:30 +0000)]
Further help with dri libGL version skew
Keith Whitwell [Thu, 20 Dec 2001 09:54:20 +0000 (09:54 +0000)]
Fix clipping problem on mga
Brian Paul [Wed, 19 Dec 2001 02:36:05 +0000 (02:36 +0000)]
some display list support for vertex program extension
Brian Paul [Wed, 19 Dec 2001 01:29:58 +0000 (01:29 +0000)]
added separate specular bug fix to 4.0.1 list
Brian Paul [Wed, 19 Dec 2001 01:09:46 +0000 (01:09 +0000)]
fix a comment typo
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)
Brian Paul [Wed, 19 Dec 2001 01:07:50 +0000 (01:07 +0000)]
remove some cruft
Brian Paul [Tue, 18 Dec 2001 14:08:23 +0000 (14:08 +0000)]
bring 4.0.1 info into trunk
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).
Brian Paul [Mon, 17 Dec 2001 22:41:45 +0000 (22:41 +0000)]
disable prototype matrix stack code
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
----------------------------------------------------------------------
Brian Paul [Mon, 17 Dec 2001 04:58:50 +0000 (04:58 +0000)]
added some debug printfs (disabled)
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)
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)
Brian Paul [Mon, 17 Dec 2001 01:46:58 +0000 (01:46 +0000)]
remove conditional in RESET_STIPPLE to fix conformance failure
Brian Paul [Sun, 16 Dec 2001 11:28:20 +0000 (11:28 +0000)]
updated vertex buffer identifiers
Brian Paul [Sat, 15 Dec 2001 23:28:15 +0000 (23:28 +0000)]
warp a quadmesh with a gravitational source via vertex program
Brian Paul [Sat, 15 Dec 2001 22:33:59 +0000 (22:33 +0000)]
rotating, lit torus via vertex program
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
Brian Paul [Sat, 15 Dec 2001 21:31:28 +0000 (21:31 +0000)]
temporary hack for divide by W
Brian Paul [Sat, 15 Dec 2001 16:42:59 +0000 (16:42 +0000)]
better api trace/log messages
Brian Paul [Sat, 15 Dec 2001 02:14:43 +0000 (02:14 +0000)]
vertex program fixes
Brian Paul [Sat, 15 Dec 2001 02:13:32 +0000 (02:13 +0000)]
disable debug printf's, fix a crash
Brian Paul [Sat, 15 Dec 2001 00:49:00 +0000 (00:49 +0000)]
free the NormalLengthPtr if non-null in _tnl_free_immediate()
Brian Paul [Fri, 14 Dec 2001 21:56:50 +0000 (21:56 +0000)]
added newline characters to trace strings
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.
Karl Schultz [Fri, 14 Dec 2001 17:19:32 +0000 (17:19 +0000)]
Add .cc as a valid suffix.
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.
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
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).
Brian Paul [Fri, 14 Dec 2001 11:40:14 +0000 (11:40 +0000)]
s/glxGetProcAddress/glXGetProcAddressARB/
Brian Paul [Fri, 14 Dec 2001 03:19:06 +0000 (03:19 +0000)]
oops, wrong value for GLX_SAMPLES
Brian Paul [Fri, 14 Dec 2001 03:18:08 +0000 (03:18 +0000)]
added GLX_SAMPLE_BUFFERS, GLX_SAMPLES
Brian Paul [Fri, 14 Dec 2001 03:17:00 +0000 (03:17 +0000)]
minor tweaks
Brian Paul [Fri, 14 Dec 2001 03:16:06 +0000 (03:16 +0000)]
4.1 extensions
Brian Paul [Fri, 14 Dec 2001 03:14:49 +0000 (03:14 +0000)]
planned extensions for 4.1
Brian Paul [Fri, 14 Dec 2001 03:13:04 +0000 (03:13 +0000)]
minor dispatach table changes
Brian Paul [Fri, 14 Dec 2001 03:03:38 +0000 (03:03 +0000)]
vertex program test program
Brian Paul [Fri, 14 Dec 2001 02:50:01 +0000 (02:50 +0000)]
vertex program check-in
Brian Paul [Fri, 14 Dec 2001 02:48:10 +0000 (02:48 +0000)]
add dispatch offsets for vertex program functions
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.
Karl Schultz [Thu, 13 Dec 2001 19:15:58 +0000 (19:15 +0000)]
Added missing entry points
Brian Paul [Thu, 13 Dec 2001 19:12:42 +0000 (19:12 +0000)]
fixed errors in feedback for glDraw/CopyPixels and glBitmap
Brian Paul [Thu, 13 Dec 2001 16:14:26 +0000 (16:14 +0000)]
special case blend optmizations (Jeremy Fitzhardinge)
Brian Paul [Thu, 13 Dec 2001 16:02:11 +0000 (16:02 +0000)]
call FLUSH_VERTICES() in _mesaTexParameterfv() (bug 491832)
Keith Whitwell [Thu, 13 Dec 2001 10:51:41 +0000 (10:51 +0000)]
fix for ubyte colors
Keith Whitwell [Thu, 13 Dec 2001 10:49:04 +0000 (10:49 +0000)]
fix primitive calculation in 1-line dlist immediates (molecules)
Keith Whitwell [Tue, 11 Dec 2001 15:13:57 +0000 (15:13 +0000)]
fix glut tess lockup
Brian Paul [Wed, 5 Dec 2001 22:01:13 +0000 (22:01 +0000)]
added enums for GL_ARB_depth_texture/shadow/shadow_ambient (temporary)
Keith Whitwell [Wed, 5 Dec 2001 10:24:31 +0000 (10:24 +0000)]
add inf and nan tests to swrast functions
Brian Paul [Tue, 4 Dec 2001 23:45:31 +0000 (23:45 +0000)]
fixed potential array overwrite problem
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
Brian Paul [Tue, 4 Dec 2001 23:43:31 +0000 (23:43 +0000)]
dispatch changes to minimize hassle with XFree86 libGL
Keith Whitwell [Tue, 4 Dec 2001 13:04:29 +0000 (13:04 +0000)]
further tweak to dlist change
Keith Whitwell [Mon, 3 Dec 2001 17:48:58 +0000 (17:48 +0000)]
guard ResetStipple calls
Keith Whitwell [Mon, 3 Dec 2001 17:47:04 +0000 (17:47 +0000)]
fx another place where PRIM_PARITY is calculated
Keith Whitwell [Mon, 3 Dec 2001 17:41:58 +0000 (17:41 +0000)]
simplify drawarrays paths
Keith Whitwell [Mon, 3 Dec 2001 17:39:12 +0000 (17:39 +0000)]
avoid side-effects in macro param
Keith Whitwell [Mon, 3 Dec 2001 17:19:14 +0000 (17:19 +0000)]
correctly reset input after dlist execution
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.
Karl Schultz [Fri, 30 Nov 2001 19:41:19 +0000 (19:41 +0000)]
Add darwin target
Karl Schultz [Fri, 30 Nov 2001 19:35:22 +0000 (19:35 +0000)]
malloc() prototype is in stdlib.h for darwin