summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_draw.c
AgeCommit message (Collapse)Author
2007-12-10XXX comments about some hard-coded values that need to be fixedBrian
2007-12-10Correct user VBO size.Ben Skeggs
2007-12-09gallium: support the full range of possible vertex typesKeith Whitwell
2007-12-09add fence interfaces and buffer create flags to pipe_winsyskeithw
2007-12-07New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl ↵Brian
module.
2007-12-05silence warningBrian
2007-11-21Replace draw_set_vertex_attributes() with simpler draw_set_vertex_info().Brian
Just pass in the vertex_info object and make a copy of it.
2007-11-16adjustments so st_feedback_draw_vbo() can be used for glRasterPosBrian
2007-11-06Supply buffer usage hints to winsys.José Fonseca
Winsys driver needs some hints in order to allocate the appropriate kind of memory for the buffer.
2007-10-31Use ffvertex_prog.c code instead of t_vp_build.c code.Brian
2007-10-29Remove typedefs from enums.Zack Rusin
typedefs are rather evil, remove them and use the enum keyword explicitely.
2007-10-24Fix glDrawElements + VBO rendering when ptr/offset is not zero.Brian
When an index VBO is bound, glDrawElement's indices pointer is really an offset into the element buffer. Add that offset to the prims[i].start value before calling pipe->draw_elements(). Fixes vbo.c conform test.
2007-10-24Revert "Undo indexOffset change (I think, git???)"Brian
This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
2007-10-24Undo indexOffset change (I think, git???)Brian
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