aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_prim.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix compatibility issues between gcc and msvc.Michal2007-11-221-1/+1
|
* Reorganize user-space vertex fields in draw_context into 'user' group.Brian2007-11-081-1/+1
| | | | | This sub-struct collects the incoming user-provided data/pointers in one place. Ex: draw->mapped_vbuffer becomes draw->user.vbuffer, etc.
* Fix minor logic error in get_queued_prim() which caused flushing when there ↵Brian2007-11-081-1/+7
| | | | was still room in the prim queue.
* comments, remove unneeded #includesBrian2007-11-081-4/+12
|
* Change 'drawing' field to boolean.Brian2007-10-151-2/+2
|
* disable debugKeith Whitwell2007-09-271-1/+0
|
* Make flushing more lazy in the draw module.Keith Whitwell2007-09-271-100/+72
|
* First attempt at building vertex buffers post-clip.Keith Whitwell2007-09-251-3/+6
| | | | | | | | | | | | | | 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.
* invert draw_vertex_cache_check_space()Brian2007-09-211-1/+1
|
* Initial work for post-transformed vertex feedback buffers.Brian2007-09-061-17/+0
| | | | | | | This will be used for: GL_NV_transform_feedback, or similar GL3 functionality glRasterPos GL selection/feedback modes
* Split out vertex shader/cache/fetch functionality from draw_prim.cKeith Whitwell2007-08-271-409/+7
|
* Hook-up SSE2 to VS.michal2007-08-241-1/+30
|
* Fix user-defined clip planes. They seem to work properly now.Brian2007-08-241-1/+1
| | | | | | 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.
* re-enable compute_clipmask() callBrian2007-08-241-1/+1
|
* Fixup include paths after renameKeith Whitwell2007-08-241-1/+1
|
* remove dead codeBrian2007-08-231-38/+10
|
* Vertex shader outputs are now tightly packed into the output slots.Brian2007-08-231-20/+37
| | | | | Fix softpipe vertex attribute setup. Also, update vs constants when the projection matrix changes (fixes samples/prim.c)
* minor improvement to get_vertex() in-use flag settingBrian2007-08-231-4/+2
|
* fix an edgeflag logic error, see commentsBrian2007-08-231-0/+5
|
* fix incorrect vertex index for POLYGON drawingBrian2007-08-231-1/+1
|
* get rid of VERT_RESULT_ usageBrian2007-08-231-8/+2
|
* Checkpoint commit: i915 texture works, use new vertex_info structBrian2007-08-231-1/+1
| | | | | Basic i915 2D texturing seems to work now. The vertex format is determined from the current fragment shader.
* more debug outputBrian2007-08-221-10/+18
|
* Rework of shader constant buffers.Brian2007-08-221-1/+8
| | | | | They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
* Headers.michal2007-08-211-23/+39
| | | | | | Fix alignment issues. Silence compiler warnings. More debugging code.
* Move vertex transformation/shader code into draw_prim.c to avoid need for ↵Brian2007-08-201-3/+270
| | | | vs_flush() function pointer.
* remove some of the #ifndef MESA stuffBrian2007-08-201-4/+4
|
* Move guts of vertex array drawing into the 'draw' module.Brian2007-08-201-4/+3
|
* fix cache overflow bug in get_vertex()Brian2007-08-201-3/+4
|
* fix edgeflag bugBrian2007-08-171-2/+4
|
* Remove many dependencies on mesa headers.Brian2007-08-161-5/+6
| | | | To build with mesa, need -DMESA in makefile/config file.
* move the draw_alloc/free_tmps() functions to draw_prim.cBrian2007-08-161-0/+27
|
* point/line/polygon drawing (factored out of draw_vb.c)Brian2007-08-161-0/+519