summaryrefslogtreecommitdiff
path: root/src/mesa/vbo/vbo_split_copy.c
AgeCommit message (Collapse)Author
2010-01-11vbo: Remove unnecessary header from vbo_split_copy.c.Vinson Lee
2009-09-08mesa: Add support for ARB_draw_elements_base_vertex.Eric Anholt
2009-08-12vbo: use _mesa_is_bufferobj()Brian Paul
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-07-03Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
2009-06-30mesa/vbo: use _lookup_prim_by_nr for debuggingKeith Whitwell
Switch over to specialized enum lookup for primitives
2009-06-15mesa: revert some recent VBO buffer object refcounting changesBrian Paul
Reverts part of commit d7ea9ddf5824556e47decac7ba200f37cf1e552f. We were calling _mesa_reference_buffer_object() on some heap-allocated memory that was uninitialized and could trigger an assertion. We can actually go back to "looser" ref counting of the Null/default buffer object in these cases.
2009-06-12mesa: use _mesa_reference_buffer_object() in a few placesBrian Paul
2009-06-03vbo: new debug/dump code (disabled)Brian Paul
2009-05-07mesa: move the NullBufferObj from GLcontext to gl_shared_stateBrian Paul
Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state.
2009-05-07mesa: use _mesa_sizeof_type() in vbo split codeBrian Paul
2009-05-07mesa: vbo code reformatting, clean-up, commentsBrian Paul
2009-05-07mesa: in vbo split code, map buffers read-only, not write-onlyBrian Paul
And use GL_ELEMENT_ARRAY_BUFFER where appropriate.
2009-01-23mesa: set the new array->Format field in VBO codeBrian Paul
Should help to solve failed assertion in i965 driver (see bug 19708)
2007-08-07fix vbo_split_copy related bug 9962Xiang, Haihao
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
2007-02-01fix missing ADD_POINTERS, fixes crashes if the index elements are in a vbo.Roland Scheidegger
2007-01-30Use new rebase helper. Remove other rebase code.Keith Whitwell
2007-01-25allocate larger minimum dstelt bufferRoland Scheidegger
increase the minimum dstelt buffer size to avoid triggering an assertion later because the split is triggered before the buffer is full. This fixes cases where the vbo_split_copy path is hit because of maximum index limit, where the dstelt buffer size needed could be very small (doom3 hit that assertion with a vertex count of just 3)
2007-01-25fix dstelt memory allocation to avoid hash corruptionRoland Scheidegger
2007-01-18Fix invalid enums passed to MapBufferAapo Tahkola
2007-01-16Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa ↵Keith Whitwell
into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
2007-01-15New files to manage splitting drawing commandskeithw