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