Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor rename | Brian | 2007-07-13 | 2 | -2/+2 |
| | |||||
* | Add conditional-free implementation (disabled, not tested) | Keith Whitwell | 2007-07-13 | 1 | -2/+11 |
| | |||||
* | Simplify slightly. | Keith Whitwell | 2007-07-13 | 1 | -9/+5 |
| | | | | Don't bother trying to save a small memcpy. | ||||
* | minor changes, comments about multiple color buffers, MRT. | Brian | 2007-07-12 | 2 | -5/+14 |
| | |||||
* | Add a quad 'bufloop' stage to handle glDrawBuffer(GL_FRONT_AND_BACK). | Brian | 2007-07-12 | 9 | -294/+351 |
| | | | | | This removes the notion of multiple color buffers from all other stages. Will need a bit more work when shaders with multiple render targets arrive. | ||||
* | XXX comment about skipping stipple for points/lines | Brian | 2007-07-12 | 1 | -0/+1 |
| | |||||
* | s/prim_setup/sp_draw_render_stage/, new comments | Brian | 2007-07-12 | 3 | -24/+28 |
| | |||||
* | Remove dead code | Brian | 2007-07-12 | 1 | -62/+0 |
| | |||||
* | Rename prim_stage -> draw_stage | Brian | 2007-07-12 | 15 | -120/+141 |
| | |||||
* | Added colormask, dither, multisample state. Implement colormasking stage. | Brian | 2007-07-12 | 11 | -4/+129 |
| | |||||
* | front/back-face determination was wrong | Brian | 2007-07-12 | 1 | -1/+1 |
| | |||||
* | culling was inverted | Brian | 2007-07-12 | 1 | -1/+1 |
| | |||||
* | handle edge flags for GL_POLYGONs | Brian | 2007-07-12 | 1 | -2/+26 |
| | |||||
* | fix MIN/MAX mix-up | Brian | 2007-07-12 | 1 | -3/+7 |
| | |||||
* | remove unused hw_data_offset | Brian | 2007-07-11 | 1 | -4/+6 |
| | |||||
* | disable debug printfs | Brian | 2007-07-11 | 1 | -0/+6 |
| | |||||
* | remove glDepthFunc(GL_LEQUAL) change from prev commit | Brian | 2007-07-11 | 1 | -8/+0 |
| | |||||
* | Fix broken depth offset. | Brian | 2007-07-11 | 1 | -5/+6 |
| | | | | | The edge vectors were totally wrong. Need to multiply bias units by the min resolvable depth delta. | ||||
* | Obsolete file. | Brian | 2007-07-11 | 1 | -70/+0 |
| | |||||
* | Implement polygon stipple state tracking, application. | Brian | 2007-07-11 | 11 | -1/+138 |
| | |||||
* | need to clamp floats to [0,1] in write functions | Brian | 2007-07-11 | 1 | -2/+2 |
| | |||||
* | fix stencil logic error, use proper front/back face value | Brian | 2007-07-11 | 1 | -20/+21 |
| | |||||
* | Compute quad.facing from prim->det and polygon winding. | Brian | 2007-07-11 | 2 | -9/+15 |
| | | | | Updated comments/questions about area vs. prim->det. | ||||
* | Checkpoint: stencil roughly working, some bugs to fix... | Brian | 2007-07-10 | 7 | -66/+303 |
| | |||||
* | Begin hooking up stenciling. | Brian | 2007-07-10 | 8 | -16/+175 |
| | |||||
* | clean-ups | Brian | 2007-07-10 | 1 | -4/+4 |
| | |||||
* | Fill in remaining switch cases. Only call next stage if quad->mask != 0. | Brian | 2007-07-10 | 2 | -22/+61 |
| | |||||
* | remove debug printf | Brian | 2007-07-10 | 1 | -2/+0 |
| | |||||
* | Fix line clipping bug. New comments. | Brian | 2007-07-10 | 1 | -16/+23 |
| | | | | | | 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. | ||||
* | clean-up, comments | Brian | 2007-07-10 | 2 | -30/+18 |
| | |||||
* | clamp after offsetting, new comments | Brian | 2007-07-10 | 1 | -16/+18 |
| | |||||
* | remove unneeded casts, added comments | Brian | 2007-07-10 | 1 | -5/+5 |
| | |||||
* | Do depth testing with integer values. | Brian | 2007-07-10 | 3 | -14/+41 |
| | | | | | Using floats (and float->ushort->float conversion) introduces errors. Only GLushort depth buffers work for now... | ||||
* | fix problems with polygon offset | Brian | 2007-07-10 | 1 | -11/+10 |
| | |||||
* | comments, clean-up | Brian | 2007-07-10 | 1 | -4/+5 |
| | |||||
* | added comments | Brian | 2007-07-10 | 1 | -3/+6 |
| | |||||
* | Fix front/back mix-up. added comments. | Brian | 2007-07-10 | 1 | -3/+13 |
| | |||||
* | press 'f' to toggle GL_CCW/GL_CW front face | Brian | 2007-07-10 | 1 | -18/+14 |
| | |||||
* | use 'c' to cycle through polygon cull modes | Brian | 2007-07-10 | 1 | -24/+54 |
| | |||||
* | use cursor keys to translate triangle | Brian | 2007-07-10 | 1 | -12/+33 |
| | |||||
* | Comments, minor clean-up. | Brian | 2007-07-10 | 1 | -9/+12 |
| | |||||
* | comments | Brian | 2007-07-10 | 1 | -10/+10 |
| | |||||
* | Added comments, assertions. | Brian | 2007-07-10 | 1 | -0/+13 |
| | |||||
* | Fix EMIT_ATTR() to populate the draw->vf_attr_to_slot[] array. | Brian | 2007-07-10 | 1 | -10/+37 |
| | | | | | | 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. | ||||
* | remove some dead/disabled stuff | Brian | 2007-07-10 | 1 | -19/+19 |
| | |||||
* | Remove softpipe includes | Brian | 2007-07-09 | 1 | -2/+0 |
| | |||||
* | s/G_/SP_/ | Brian | 2007-07-09 | 3 | -15/+15 |
| | |||||
* | Rename G_NEW_* tokens to SP_NEW_* | Brian | 2007-07-09 | 8 | -26/+26 |
| | |||||
* | Obsolete file. | Brian | 2007-07-09 | 1 | -47/+0 |
| | |||||
* | New 'draw' module for primitive drawing (clipping, culling, etc). | Brian | 2007-07-09 | 21 | -334/+368 |
| |