summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_prim.c
AgeCommit message (Collapse)Author
2007-10-15Change 'drawing' field to boolean.Brian
2007-09-27disable debugKeith Whitwell
2007-09-27Make flushing more lazy in the draw module.Keith Whitwell
2007-09-25First attempt at building vertex buffers post-clip.Keith Whitwell
Build a buffer of contigous vertices and indices at the backend of our software transformation/clipping path. This will become the mechanism for emitting buffers of vertices to rasterization hardware. This is similar to but not the same as the post-transform vertex cache. In particular, these vertices are subject to clipping, culling, poly offset, etc. The vertices emitted will all be used by hardware. TODOs include the actual transformation to hardware vertex formats, moving this out of softpipe to somewhere more useful and allowing >1 primitive to share the generated VB.
2007-09-21invert draw_vertex_cache_check_space()Brian
2007-09-06Initial work for post-transformed vertex feedback buffers.Brian
This will be used for: GL_NV_transform_feedback, or similar GL3 functionality glRasterPos GL selection/feedback modes
2007-08-27Split out vertex shader/cache/fetch functionality from draw_prim.cKeith Whitwell
2007-08-24Hook-up SSE2 to VS.michal
2007-08-24Fix user-defined clip planes. They seem to work properly now.Brian
The bits for the N user-defined planes are now set in the vertex_header->clipmask. See some detailed comments about this in the clip_line() function. CLIP_USER_BIT no longer exists.
2007-08-24re-enable compute_clipmask() callBrian
2007-08-24Fixup include paths after renameKeith Whitwell
2007-08-23remove dead codeBrian
2007-08-23Vertex shader outputs are now tightly packed into the output slots.Brian
Fix softpipe vertex attribute setup. Also, update vs constants when the projection matrix changes (fixes samples/prim.c)
2007-08-23minor improvement to get_vertex() in-use flag settingBrian
2007-08-23fix an edgeflag logic error, see commentsBrian
2007-08-23fix incorrect vertex index for POLYGON drawingBrian
2007-08-23get rid of VERT_RESULT_ usageBrian
2007-08-23Checkpoint commit: i915 texture works, use new vertex_info structBrian
Basic i915 2D texturing seems to work now. The vertex format is determined from the current fragment shader.
2007-08-22more debug outputBrian
2007-08-22Rework of shader constant buffers.Brian
They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
2007-08-21Headers.michal
Fix alignment issues. Silence compiler warnings. More debugging code.
2007-08-20Move vertex transformation/shader code into draw_prim.c to avoid need for ↵Brian
vs_flush() function pointer.
2007-08-20remove some of the #ifndef MESA stuffBrian
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-17fix edgeflag bugBrian
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-16point/line/polygon drawing (factored out of draw_vb.c)Brian