Brian
e8ceb5a2eb
XXX comment about skipping stipple for points/lines
hace 18 años
Brian
c78f372b17
s/prim_setup/sp_draw_render_stage/, new comments
hace 18 años
Brian
4f218958cc
Remove dead code
hace 18 años
Brian
ea470eec86
Rename prim_stage -> draw_stage
hace 18 años
Brian
86352ff70d
Added colormask, dither, multisample state. Implement colormasking stage.
hace 18 años
Brian
bd5533bb7c
front/back-face determination was wrong
hace 18 años
Brian
9e94e9b798
culling was inverted
hace 18 años
Brian
62f5f18b3e
handle edge flags for GL_POLYGONs
hace 18 años
Brian
5b06424a15
fix MIN/MAX mix-up
hace 18 años
Brian
2371ed36f7
remove unused hw_data_offset
hace 18 años
Brian
46d75518fa
disable debug printfs
hace 18 años
Brian
8db689350d
remove glDepthFunc(GL_LEQUAL) change from prev commit
hace 18 años
Brian
aac2129663
Fix broken depth offset.
The edge vectors were totally wrong.
Need to multiply bias units by the min resolvable depth delta.
hace 18 años
Brian
bc4dd63f12
Obsolete file.
hace 18 años
Brian
e89bd0fbc5
Implement polygon stipple state tracking, application.
hace 18 años
Brian
300e97081e
need to clamp floats to [0,1] in write functions
hace 18 años
Brian
d6aa360edd
fix stencil logic error, use proper front/back face value
hace 18 años
Brian
0ac0fb91bd
Compute quad.facing from prim->det and polygon winding.
Updated comments/questions about area vs. prim->det.
hace 18 años
Brian
73daa68854
Checkpoint: stencil roughly working, some bugs to fix...
hace 18 años
Brian
e6eca5c37e
Begin hooking up stenciling.
hace 18 años
Brian
227c95737b
clean-ups
hace 18 años
Brian
d015d2e0f4
Fill in remaining switch cases. Only call next stage if quad->mask != 0.
hace 18 años
Brian
093d1b42d0
remove debug printf
hace 18 años
Brian
a49a23efc5
Fix line clipping bug. New comments.
Need to use a new prim_header for the post-clipped line. Otherwise,
we were changing the header passed to us from the vb code. That messed
up the vertex pointers for the next line primitive.
hace 18 años
Brian
985e37eedb
clean-up, comments
hace 18 años
Brian
13aa51de41
clamp after offsetting, new comments
hace 18 años
Brian
6aa9c8ebc1
remove unneeded casts, added comments
hace 18 años
Brian
1deafdb1de
Do depth testing with integer values.
Using floats (and float->ushort->float conversion) introduces errors.
Only GLushort depth buffers work for now...
hace 18 años
Brian
f6dffd6ee7
fix problems with polygon offset
hace 18 años
Brian
5e4379b5a4
comments, clean-up
hace 18 años
Brian
720c0eb71d
added comments
hace 18 años
Brian
1fe4cf83cd
Fix front/back mix-up. added comments.
hace 18 años
Brian
24b68f4184
press 'f' to toggle GL_CCW/GL_CW front face
hace 18 años
Brian
9a89cc3b6b
use 'c' to cycle through polygon cull modes
hace 18 años
Brian
8733ee9dc9
use cursor keys to translate triangle
hace 18 años
Brian
17b86cfa4e
Comments, minor clean-up.
hace 18 años
Brian
e7a2085148
comments
hace 18 años
Brian
57a5385652
Added comments, assertions.
hace 18 años
Brian
8c1fa904ed
Fix EMIT_ATTR() to populate the draw->vf_attr_to_slot[] array.
Note that attribute index has to be biased by two, since vertex->data[]
starts after the header and clipcoord fields. See comments for details.
Added a bunch of comments/docs.
hace 18 años
Brian
d68ea4e23f
remove some dead/disabled stuff
hace 18 años
Brian
f4053ce858
Remove softpipe includes
hace 18 años
Brian
ebafc193fa
s/G_/SP_/
hace 18 años
Brian
a380f98b6c
Rename G_NEW_* tokens to SP_NEW_*
hace 18 años
Brian
546eff6ba8
Obsolete file.
hace 18 años
Brian
279ffe3f16
New 'draw' module for primitive drawing (clipping, culling, etc).
hace 18 años
Brian
9fbdf50078
New 'draw' module for handling the various stages of primitive drawing (clipping, culling, etc).
hace 18 años
Brian
10f4b37bd7
Rename/move some files to modularize the primitive/draw code.
hace 18 años
michal
9b32c33e9d
Fix function names.
hace 18 años
michal
6d8fb1a543
Indent.
Fix function prototype.
hace 18 años
michal
3b8bc1f467
Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
hace 18 años