summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw
AgeCommit message (Collapse)Author
2007-08-20remove dead code related to vf moduleBrian
2007-08-20Checkpoint: remove more of the old draw_vb() code.Brian
2007-08-20Start to remove the temporary draw_vb() and draw_vertices() code.Brian
new st_draw_vertices() utility used by glClear and glDrawPixels
2007-08-20Move guts of vertex array drawing into the 'draw' module.Brian
2007-08-20fix cache overflow bug in get_vertex()Brian
2007-08-20Merge branch 'softpipe_0_1_branch' of ↵Brian
git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-08-19Fix some draw_arrays issues.Brian
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.
2007-08-17replace memcpy() with assignment, better type safetyBrian
2007-08-17added CLIP_x_SHIFT valsBrian
2007-08-17added pipe ptr to draw_contextBrian
2007-08-17define CLIP_LEFT/RIGHT etcBrian
2007-08-17fix edgeflag bugBrian
2007-08-16Silence compiler warnings.michal
2007-08-16Remove many dependencies on mesa headers.Brian
To build with mesa, need -DMESA in makefile/config file.
2007-08-16move the draw_alloc/free_tmps() functions to draw_prim.cBrian
2007-08-16Remove GL/mesa types, rearrange things into more logical groupsBrian
2007-08-16Drawing code refactoring.Brian
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.
2007-08-16point/line/polygon drawing (factored out of draw_vb.c)Brian
2007-08-15Remove mesa include directories, be stricter about include paths.Keith Whitwell
2007-08-15added vertex array info fieldsBrian
2007-08-15added draw_set_vertex_array_info()Brian
2007-08-15commentBrian
2007-08-15comments, minor clean-upsBrian
2007-08-14use regular malloc/free instead of macrosBrian
2007-08-14Beginnings of a demand-filled post-tnl vertex cache.Keith Whitwell
Probably breaks a bit of stuff, eg unfilled clipping, edgeflags, etc.
2007-08-13with Y=0=top, front/back determination is negatedBrian
2007-08-02Implement new draw_vertices() path for simple vertex array drawing, use it ↵Brian
for glClear.
2007-07-25Implement line stippling.Brian
Also added draw_stage::reset_line_stipple(). There may be a better way of doing that though.
2007-07-13Fix more polygon winding, culling confusion.Brian
If the determinant of the triangle is positive, its winding is CCW (right-handed coord system).
2007-07-13Fix for-loop in interp() so we don't go out of bounds.Brian
Improved comments for that loop. Added some sanity check assertions regarding vertex layout.
2007-07-12Rename prim_stage -> draw_stageBrian
2007-07-12front/back-face determination was wrongBrian
2007-07-12culling was invertedBrian
2007-07-12handle edge flags for GL_POLYGONsBrian
2007-07-12fix MIN/MAX mix-upBrian
2007-07-11remove unused hw_data_offsetBrian
2007-07-11Fix broken depth offset.Brian
The edge vectors were totally wrong. Need to multiply bias units by the min resolvable depth delta.
2007-07-10Fix line clipping bug. New comments.Brian
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.
2007-07-10clamp after offsetting, new commentsBrian
2007-07-10remove unneeded casts, added commentsBrian
2007-07-10comments, clean-upBrian
2007-07-10added commentsBrian
2007-07-10Fix front/back mix-up. added comments.Brian
2007-07-10Fix EMIT_ATTR() to populate the draw->vf_attr_to_slot[] array.Brian
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.
2007-07-09Remove softpipe includesBrian
2007-07-09New 'draw' module for primitive drawing (clipping, culling, etc).Brian
2007-07-09New 'draw' module for handling the various stages of primitive drawing ↵Brian
(clipping, culling, etc).
2007-07-09Rename/move some files to modularize the primitive/draw code.Brian