summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_context.c
AgeCommit message (Collapse)Author
2008-02-05gallium: Use align_free to free aligned memory.Michal Krol
2008-01-30Provide mechanism to hook in custom vertex shader cache flush functionIan Romanick
2008-01-30Implement vertex fetch / vertex shader output write-backIan Romanick
2008-01-25gallium: better flush logic in draw moduleBrian
This is the other half of Keith's draw/flush patch. There are now 5 flush flags to control what's flushed (post-xform vertex cache, prim cache, vbuf, etc). The gears slow-down in this part of the patch was due to the cull stage not getting invoked. It was unconditional before, but is now gated by 'need_det'. But it also needs to be gated by draw->rasterizer->cull_mode. Gears uses back-face culling.
2008-01-23gallium: overhaul usage of vertex_info in draw module.Brian
Remove all dependencies on vertex_info, except for draw_vbuf. Drawing stages now strictly operate on post-transformed vertices and don't know anything about hw vertices. Use vertex program output info for two-side/flat/etc stages. Temporarily disable vbuf module in softpipe driver.
2008-01-22gallium: Added FORMAT_1F_PSIZE to insert constant point size into verticesBrian
Also, added draw_convert_wide_points/lines() so a driver can tell the draw module whether to convert wide points/lines into triangles, or just pass them through.
2008-01-21gallium: new 'draw' stage for line stippleBrian
Stippled lines are converted into a series of shorter line segments
2008-01-17gallium: hardwire reset_temps functionalityKeith Whitwell
2008-01-16init front/back color attrib indexes to 0, not -1Brian
2008-01-11s/int/uint/ to silence warningBrian
2008-01-01free tgsi machine stateBrian
2007-12-11gallium: Remove feedback interfaces from pipe driver.Keith Whitwell
Something similar will return when geometry shaders are added, but for now this interface is not required.
2007-12-09added null ptr check in draw_destroy() for rasterizer stageBrian
2007-12-09gallium: use SSE by defaultJosé Fonseca
2007-12-09gallium: initialized draw element buffer to NULLKeith Whitwell
2007-12-09gallium: add draw_stage::destroy().Michal
2007-11-09comments, assertionsBrian
2007-11-08Reorganize user-space vertex fields in draw_context into 'user' group.Brian
This sub-struct collects the incoming user-provided data/pointers in one place. Ex: draw->mapped_vbuffer becomes draw->user.vbuffer, etc.
2007-11-07Reset temporary vertices ids.José Fonseca
2007-10-29Make gallium compile in win32.Michal Krol
Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights.
2007-10-27Silence compiler warnings.michal
2007-10-22plug the wide prims code into the pipelineBrian
2007-10-18pipe/draw/draw_context.c:47: error: 'false' undeclared (first use in this ↵Oliver McFadden
function)
2007-10-11Init draw->prim = ~0Brian
We weren't rendering correctly if the first thing drawn was a point (PRIM_MODE_POINT=0).
2007-10-03Unify handling of userplanes and regular planes to simplifyZack Rusin
the clipping code. (really done by Keith)
2007-09-28Use sse only if GALLIUM_SSE is definedZack Rusin
2007-09-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin
2007-09-28Revert "Redoing the way we handle vertex shaders for the draw module."Zack Rusin
This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e.
2007-09-28Revert "Use sse only if GALLIUM_SSE is defined"Zack Rusin
This reverts commit 57b5d3605745c96ddc2b6de7d50c93db65ba1257.
2007-09-28Use sse only if GALLIUM_SSE is definedZack Rusin
2007-09-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin
2007-09-27Make flushing more lazy in the draw module.Keith Whitwell
2007-09-18Finishing up rename of the setup state to the rasterizer state.Zack Rusin
2007-09-18converting the setup state to immutable object and renaming it to rasterizer ↵Zack Rusin
state
2007-09-10More work on vertex feedback / glRasterPos. Basic rasterpos works now.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-30Consolidate vertex-related code in new draw_vertex.cBrian
A few functions which were basically duplicated between softpipe and the i915 driver are now re-used: draw_emit_vertex_attr() draw_compute_vertex_size()
2007-08-30Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.cBrian
Added a new draw_set_twoside_attributes() function for specifying which vertex attributes are to be copied/replaced when a polygon is back-facing.
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-20remove dead code related to vf moduleBrian
2007-08-20Checkpoint: remove more of the old draw_vb() code.Brian
2007-08-20Move guts of vertex array drawing into the 'draw' module.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-16Remove many dependencies on mesa headers.Brian
To build with mesa, need -DMESA in makefile/config file.
2007-08-15added draw_set_vertex_array_info()Brian
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-07-12Rename prim_stage -> draw_stageBrian