summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_draw.c
AgeCommit message (Collapse)Author
2007-10-15GL_UNSIGNED_BYTE indexesBrian
2007-10-15Undo prev changes.Brian
2007-10-15GL_SELECT mode works nowBrian
2007-10-15call pipe->set_vertex_buffer() after drawing/unreferencing.Brian
This fixes potential a stale reference to vertex buffers. Fixes cubemap demo on i915.
2007-10-12added assertion to be sure we don't exceed bitfield sizeBrian
2007-10-11rename some vars, updated commentsBrian
2007-10-11remove unused tgsi_attrib_to_mesa_attrib()Brian
2007-10-11update st_feedback_draw_vbo()Brian
2007-10-11streamline st_draw_vbo() a bit more, free user-space buffers at endBrian
2007-10-11clean-up, streamline st_draw_vbo()Brian
2007-10-10Use winsys->user_buffer_create() to wrap user-space vertex arrays and ↵Brian
element buffers. Now client-side vertex arrays and glDrawElements work. More testing/debug/clean-up to come...
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-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin
2007-09-25st_draw_vertices() no longer needs attribs[] array parameterBrian
2007-09-20remove #includes of tgsi_attribs.hBrian
2007-09-20checkpoint: TGSI_ATTRIB_x tokens no longer usedBrian
2007-09-20Switch fragment/vertex shaders to the new caching semantics.Zack Rusin
Allow driver custom allocation within cached objects. The shaders are currently twiced (by cso layer and by the program itself).
2007-09-19Checkpoint: replacement of TGSI_ATTRIB_x tokens with input/output semantics.Brian
TGSI_ATTRIB_x tokens still present and used in a few places. Expanded set of TGSI_SEMANTIC_x tokens for describing the meaning of inputs/outputs. These tokens are in a crude state ATM. Lots of #if 0 / disabled code to be removed yet, etc... Softpipe and i915 drivers should be in working condition but not heavily tested.
2007-09-19Adding proper includes often helps with the warnings,Zack Rusin
or so i hear..
2007-09-19Convert the rasterizer cso to the new semantics.Zack Rusin
Basically make cso hold the driver specific struct, while managing the template.
2007-09-19grab vertex program pointer after state validationBrian
2007-09-18Checkpoint: rework shader input/output register mapping.Brian
This is a step toward removing TGSI_ATTRIB_ tokens. Basically, when translating Mesa programs to TGSI programs, pass in input and output register re-maps, plus interpolation info. There's some known breakage (cubemap.c) so more to be done...
2007-09-18Convert shader to an immutable state object.Zack Rusin
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-17Plug in selection/feedback code.Brian
Not quite finished yet. Selection/feedback are done with a private instance of the 'draw' module in the state tracker. Not quite all the draw context's state is set yet, namely vertex format info. Hold off on that for a bit...
2007-09-10merge buffer_unreference(), buffer_reference()Brian
2007-08-24Fixup include paths after renameKeith Whitwell
2007-08-23map Mesa vertex attribs/arrays to TGSI attribsBrian
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-20implement DrawElements, still some rough spotsBrian
2007-08-18Create a default vertex attribute buffer which mirrors ctx->Current.Attrrib[]Brian
Used when the vertex shader references attributes which aren't present in VBOs.
2007-08-16Remove many dependencies on mesa headers.Brian
To build with mesa, need -DMESA in makefile/config file.
2007-08-16misc changes to support vertex shaders (disabled by default)Brian
2007-08-15convert vbo->draw_prims() to pipe->draw_arrays(): works in very limited ↵Brian
cases, disabled for now
2007-08-15sketch out vbo drawing functionBrian
2007-08-02Reroute some clear functionality.Keith Whitwell
Still require the intelClear() call to flush batchbuffers. That will be removed later...
2007-06-20Rename static variable in temporary tnl codeKeith Whitwell
2007-06-20better commentBrian
2007-06-20actually use new glClear codeBrian
2007-06-20fix commentBrian
2007-06-14Rename directories again?!Keith Whitwell
Some git wierdness going on.
2007-06-14Renamed softpipe directories and files to something less confusing.Keith Whitwell
softpipe/state_tracker --> state_tracker/ softpipe/ --> pipe/ softpipe/generic --> pipe/softpipe/ I don't think pipe is a great name, but I disliked all the others too. Luckily it's fairly easy to rename with git, so this can be revisited later.