Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix some draw_arrays issues. | Brian | 2007-08-19 | 3 | -19/+0 |
| | | | | | | We weren't mapping all the needed vertex array buffers. Move array state that was temporarily in draw_context to softpipe_context. Remove a bunch of dead code. | ||||
* | fix edgeflag bug | Brian | 2007-08-17 | 1 | -2/+4 |
| | |||||
* | added pipe ptr to draw_context | Brian | 2007-08-17 | 1 | -0/+2 |
| | |||||
* | define CLIP_LEFT/RIGHT etc | Brian | 2007-08-17 | 2 | -3/+13 |
| | |||||
* | Silence compiler warnings. | michal | 2007-08-16 | 1 | -5/+5 |
| | |||||
* | Remove many dependencies on mesa headers. | Brian | 2007-08-16 | 11 | -137/+192 |
| | | | | To build with mesa, need -DMESA in makefile/config file. | ||||
* | move the draw_alloc/free_tmps() functions to draw_prim.c | Brian | 2007-08-16 | 2 | -24/+27 |
| | |||||
* | Remove GL/mesa types, rearrange things into more logical groups | Brian | 2007-08-16 | 1 | -40/+41 |
| | |||||
* | Drawing code refactoring. | Brian | 2007-08-16 | 2 | -444/+14 |
| | | | | | Move code duplicated between draw_vb.c and sp_draw_arrays.c into draw_prim.c draw_vb.c will eventually go away, but this seems like a good step anyway. | ||||
* | point/line/polygon drawing (factored out of draw_vb.c) | Brian | 2007-08-16 | 2 | -0/+542 |
| | |||||
* | Remove mesa include directories, be stricter about include paths. | Keith Whitwell | 2007-08-15 | 1 | -1/+1 |
| | |||||
* | added vertex array info fields | Brian | 2007-08-15 | 1 | -0/+7 |
| | |||||
* | added draw_set_vertex_array_info() | Brian | 2007-08-15 | 2 | -0/+20 |
| | |||||
* | comment | Brian | 2007-08-15 | 1 | -1/+4 |
| | |||||
* | comments, minor clean-ups | Brian | 2007-08-15 | 1 | -8/+22 |
| | |||||
* | use regular malloc/free instead of macros | Brian | 2007-08-14 | 2 | -5/+5 |
| | |||||
* | Beginnings of a demand-filled post-tnl vertex cache. | Keith Whitwell | 2007-08-14 | 4 | -302/+392 |
| | | | | Probably breaks a bit of stuff, eg unfilled clipping, edgeflags, etc. | ||||
* | with Y=0=top, front/back determination is negated | Brian | 2007-08-13 | 3 | -5/+5 |
| | |||||
* | Implement new draw_vertices() path for simple vertex array drawing, use it ↵ | Brian | 2007-08-02 | 2 | -2/+64 |
| | | | | for glClear. | ||||
* | Implement line stippling. | Brian | 2007-07-25 | 8 | -1/+50 |
| | | | | | Also added draw_stage::reset_line_stipple(). There may be a better way of doing that though. | ||||
* | Fix more polygon winding, culling confusion. | Brian | 2007-07-13 | 2 | -9/+15 |
| | | | | If the determinant of the triangle is positive, its winding is CCW (right-handed coord system). | ||||
* | Fix for-loop in interp() so we don't go out of bounds. | Brian | 2007-07-13 | 1 | -5/+12 |
| | | | | | Improved comments for that loop. Added some sanity check assertions regarding vertex layout. | ||||
* | Rename prim_stage -> draw_stage | Brian | 2007-07-12 | 10 | -105/+116 |
| | |||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | clamp after offsetting, new comments | Brian | 2007-07-10 | 1 | -16/+18 |
| | |||||
* | remove unneeded casts, added comments | Brian | 2007-07-10 | 1 | -5/+5 |
| | |||||
* | 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 |
| | |||||
* | 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 softpipe includes | Brian | 2007-07-09 | 1 | -2/+0 |
| | |||||
* | New 'draw' module for primitive drawing (clipping, culling, etc). | Brian | 2007-07-09 | 9 | -153/+261 |
| | |||||
* | New 'draw' module for handling the various stages of primitive drawing ↵ | Brian | 2007-07-09 | 1 | -0/+182 |
| | | | | (clipping, culling, etc). | ||||
* | Rename/move some files to modularize the primitive/draw code. | Brian | 2007-07-09 | 9 | -0/+2017 |