Brian Paul
79c2f53491
Clean-up and remove dead code related to depth/stecil testing.
2002-02-04 15:59:29 +00:00
Brian Paul
ac8c241e64
removed references to removed source files
2002-02-02 21:41:58 +00:00
Brian Paul
b37a084357
Converted line drawing over to new span code, pb no longer used.
...
Big clean-up of line drawing code.
Removed many obsolete span processing functions.
2002-02-02 21:40:33 +00:00
Brian Paul
733a4b602b
sw_span can now hold x/y arrays of fragment positions - getting ready to
...
ditch the pb (pixel buffer) code.
Converted point drawing, bitmaps and aa lines to use new span functions.
2002-02-02 17:24:11 +00:00
Brian Paul
ceb39f4f8d
Clean-up and optimize alpha test code.
...
Major clean-up of pixel zoom code.
2002-01-31 00:27:43 +00:00
Brian Paul
e0bafefd7a
don't use affine/persp_textured_triangle funcs when CHAN_BITS > 8
2002-01-30 16:54:02 +00:00
Brian Paul
1cefc83a88
return GL_RENDERER = Mesa Offscreen16/32 when CHAN_BITS = 16 or 32
2002-01-30 16:53:03 +00:00
Brian Paul
eae38ca1b2
replace GLushort w/ GLubyte in DEST_4US template (fixes 16-bit GLchan problem
2002-01-30 16:52:02 +00:00
Brian Paul
6e1666437e
Still more texture/span simplification and clean-up.
...
Updated comments, fixed indentation, etc.
2002-01-28 04:25:56 +00:00
Brian Paul
7956292a76
More span improvements. Removed _mesa_write_monocolor_span().
...
Removed last of span.filled* flags and Klaus's macros.
More simplification of triangle functions.
2002-01-28 03:42:28 +00:00
Brian Paul
f1e2369878
More span clean-up, mostly texture-related.
...
_mesa_rasterize_span() is gone, replaced by new _mesa_write_textured_span().
Removed some unneeded triangle functions - more simplification possible.
2002-01-28 00:07:33 +00:00
Brian Paul
2a182a9897
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.
2002-01-27 18:32:03 +00:00
Brian Paul
ad7e727024
more info about building for Motif
2002-01-25 16:05:31 +00:00
Brian Paul
6ee7a02852
added missing IsEnabled() cases for fog coord and secondary color arrays
2002-01-22 18:40:46 +00:00
Brian Paul
4c8fadc6d9
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.
2002-01-22 14:35:16 +00:00
Brian Paul
2bc668d092
minor update
2002-01-21 21:21:22 +00:00
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