summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw
AgeCommit message (Collapse)Author
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-23Need to copy header->edgeflags to tmp when creating new prim_header.Brian
Edge flags were random/undefined otherwise.
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: new vertex/fragment attribute namingBrian
Replace VF_ATTRIB_x with TGSI_ATTRIB_x When converting mesa programs to TGSI programs, also convert the InputsRead and OutputsWritten to a mask of TGSI_ATTRIB_ bits. Still need to do conversion for vertex programs...
2007-08-23comment about code duplicationBrian
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-23Define a re-usable vertex_info structure to describe vertex layouts.Brian
This also includes legacy #defines for VF_ATTRIB_*, FRAG_ATTRIB_*, etc tokens. Those will go away eventually, but at least we no longer need vf/vf.h
2007-08-22more debug outputBrian
2007-08-22remove old draw_vertices()Brian
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-21Silence compiler warnings.michal
2007-08-20Move vertex transformation/shader code into draw_prim.c to avoid need for ↵Brian
vs_flush() function pointer.
2007-08-20move ALIGN16-related macros into p_compiler.hBrian
2007-08-20Update glClear and glDrawPixels code.Brian
Since they're implemented by drawing quadrilaterals (and go through vertex transformation and viewport mapping) we don't have to invert Y coords.
2007-08-20remove some of the #ifndef MESA stuffBrian
2007-08-20ObsoleteBrian
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