summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_context.c
AgeCommit message (Collapse)Author
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
2007-07-10comments, clean-upBrian
2007-07-09New 'draw' module for handling the various stages of primitive drawing ↵Brian
(clipping, culling, etc).