summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_draw.h
AgeCommit message (Collapse)Author
2009-08-12vbo: Avoid extra validation of DrawElements.Eric Anholt
This saves mapping the index buffer to get a bounds on the indices that drivers just drop on the floor in the VBO case (cache win), saves a bonus walk of the indices in the CheckArrayBounds case, and other miscellaneous validation. On intel it's a particularly a large win (50-100% in my app) because even though we let the indices stay in both CPU and GPU caches, we still end up waiting for the GPU to be done with the buffer before reading from it. Drivers that want the min/max_index fields must now check index_bounds_valid and use vbo_get_minmax_index before using them.
2009-05-21st: add support for GL_EXT_vertex_array_bgraBrian Paul
2009-03-09st: use pointer_to_offset() cast wrapper to convert pointers to uintBrian Paul
Silences warnings with 64-bit builds. See comments for details.
2008-12-12st: move feedback draw function to new fileKeith Whitwell
2008-04-25gallium: remove unused st_draw_vertices()Brian Paul
2008-02-08gallium: added inClipCoords param to st_draw_vertices() to indicate coord ↵Brian
system of vertices Also, export st_make_passthrough_vertex_shader() from st_cb_drawpixels.c
2007-09-25st_draw_vertices() no longer needs attribs[] array parameterBrian
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-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-02Remove references to accum buffers in softpipe.Keith Whitwell
Also some minor clear fixes.
2007-06-20actually use new glClear codeBrian
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.