Brian Paul
2ef866d1fc
Klaus's latest patches and some clean-up
2002-01-21 18:12:34 +00:00
Brian Paul
658702df97
changed PB (pixel buffer) to use texcoord[4] array
2002-01-16 20:15:00 +00:00
Brian Paul
028fe46fc5
set PB->haveSpec in line functions that emit specular color
2002-01-16 18:22:19 +00:00
Brian Paul
72574b959c
added another test in regions_overlap() (Klaus)
2002-01-16 16:04:50 +00:00
Brian Paul
78940758e9
latest changes from Klaus
2002-01-16 16:00:03 +00:00
Karl Schultz
4197c0ea9b
Fixes for 24-bit Windows devices. The old code was trying to do 3-byte
...
stores with a full DWORD store (yuk). (Jeff Lewis)
2002-01-16 15:42:17 +00:00
Brian Paul
858b694b64
added some missing error checks
2002-01-15 21:49:57 +00:00
Brian Paul
25c5f1b448
Fixed Windows compile problem with gl__unused413() function.
2002-01-15 19:04:52 +00:00
Karl Schultz
2ff30b21bc
Correct typo (vpstate.c) so that makefile works.
2002-01-15 18:41:53 +00:00
Karl Schultz
e19f5d7cb7
Remove phantom tab on a blank line to allow compile on IRIX.
2002-01-15 18:30:58 +00:00
Brian Paul
47507f4464
removed api_compat stuff
2002-01-15 18:27:33 +00:00
Karl Schultz
f2e5c19a2f
Fixed pixel color component problem and clear code for 24-bit Windows
...
devices. (Jeff Lewis)
2002-01-15 18:14:34 +00:00
Karl Schultz
807aea838b
Remove trailing CR's. No logical changes.
2002-01-15 18:11:36 +00:00
Brian Paul
24f7c0c944
remove api_compat.c
2002-01-14 16:07:33 +00:00
Brian Paul
03c0c2e8aa
Removed api_compat stuff, there's a better way.
...
Fixed FogCoord / SecondaryColor mix-ups in api_arrayelt.c
2002-01-14 16:06:35 +00:00
Brian Paul
fe9f62ff18
oops, missed vpstate.c
2002-01-14 15:47:10 +00:00
Brian Paul
7fc487d38b
added vertex program sources
2002-01-14 15:46:19 +00:00
Brian Paul
21cb88911a
don't apply scissor box in read_fast_rgba_pixels()
2002-01-12 16:12:52 +00:00
Brian Paul
3e276d43a2
added some comments
2002-01-12 03:01:23 +00:00
Brian Paul
166718f749
updated some comments
2002-01-12 02:57:14 +00:00
Brian Paul
c6755aa6d5
set _NeedEyeCoords to zero if vertex program is enabled
2002-01-12 02:55:30 +00:00
Brian Paul
8e6d305c89
Changed gl_client_array's Enabled field to GLuint so it can actually
...
hold the flags we're storing in it!
2002-01-11 17:26:54 +00:00
Brian Paul
2edd1807f8
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!
2002-01-11 17:25:35 +00:00
Brian Paul
9927f1978d
Klaus's latest patches: change texcoord[3] to texcoord[4] everywhere
2002-01-10 16:54:28 +00:00
Brian Paul
2e99cbd953
init whole immediate struct to zero
2002-01-10 15:50:12 +00:00
Brian Paul
0c5c1392ab
fixed int->float conversion bug in _mesa_TexEnviv()
2002-01-09 02:14:29 +00:00
Brian Paul
35e5e89f56
fixed GL_REPLACE / GL_RGB bug
2002-01-09 00:27:49 +00:00
Brian Paul
fd1727bd10
texture env color wasn't used correctly in GL_BLEND mode
2002-01-09 00:09:33 +00:00
Brian Paul
d599190575
compile with -DNDEBUG
2002-01-08 15:58:32 +00:00
Brian Paul
97291208cb
work-around for QNX compiler problem
2002-01-08 14:56:51 +00:00
Brian Paul
571a1ac6ee
implemented vertex program point size control
2002-01-06 20:39:03 +00:00
Brian Paul
363049160d
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...
2002-01-06 03:54:12 +00:00
Brian Paul
e2053d1690
minor clean-ups
2002-01-05 21:58:42 +00:00
Brian Paul
bc42c19f22
infrastructure for vertex program attribute evaluators
2002-01-05 21:53:20 +00:00
Brian Paul
bd1a9dacf6
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.
2002-01-05 20:51:12 +00:00
Brian Paul
ca209ae1f9
comments, clean-ups, added lots of const qualifiers
2002-01-05 14:12:24 +00:00
Brian Paul
cab83b8aa9
comments, clean-ups, added lots of const qualifiers
2002-01-05 14:03:33 +00:00
Brian Paul
8d0499b75e
fix bug 498555 - test for __GNUC__
2002-01-04 14:35:46 +00:00
Brian Paul
78c2aa0b51
regenerated from updated glsparcasm.py script
2002-01-03 16:35:08 +00:00
Brian Paul
efe2baadb8
don't use macros, just expand them in-line
2002-01-03 16:33:59 +00:00
Gareth Hughes
1fb0a43c16
Remove warnings about the difference between function pointers and
...
(void *) pointers.
2001-12-28 06:28:10 +00:00
Keith Whitwell
1a6f488908
add _compat_VertexAttrib4fNV
2001-12-21 15:48:23 +00:00
Karl Schultz
2391f4cec6
Define finite as _finite for Windows.
2001-12-20 18:59:39 +00:00
Keith Whitwell
fc00cbe8d1
Further help with dri libGL version skew
2001-12-20 15:30:45 +00:00
Keith Whitwell
1643203a93
Fix clipping problem on mga
2001-12-20 09:54:20 +00:00
Brian Paul
a359d3488a
some display list support for vertex program extension
2001-12-19 02:36:05 +00:00
Brian Paul
fa6b2fba7a
fix a comment typo
2001-12-19 01:09:46 +00:00
Brian Paul
f47efb5ab3
have to clamp color+specular in _swrast_add_spec_terms_triangle()! (fixes Chimera bug)
2001-12-19 01:08:49 +00:00
Brian Paul
c6a14906c6
remove some cruft
2001-12-19 01:07:50 +00:00
Brian Paul
30f51ae067
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).
2001-12-18 04:06:44 +00:00