aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_split_copy.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Add support for ARB_draw_elements_base_vertex.Eric Anholt2009-09-081-20/+32
|
* vbo: use _mesa_is_bufferobj()Brian Paul2009-08-121-4/+7
|
* vbo: Avoid extra validation of DrawElements.Eric Anholt2009-08-121-0/+1
| | | | | | | | | | | | | 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.
* Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-031-1/+1
|\ | | | | | | | | | | Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
| * mesa/vbo: use _lookup_prim_by_nr for debuggingKeith Whitwell2009-06-301-1/+1
| | | | | | | | Switch over to specialized enum lookup for primitives
* | mesa: revert some recent VBO buffer object refcounting changesBrian Paul2009-06-151-5/+2
| | | | | | | | | | | | | | | | 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.
* | mesa: use _mesa_reference_buffer_object() in a few placesBrian Paul2009-06-121-2/+5
| |
* | vbo: new debug/dump code (disabled)Brian Paul2009-06-031-0/+58
| |
* | mesa: move the NullBufferObj from GLcontext to gl_shared_stateBrian Paul2009-05-071-2/+2
| | | | | | | | | | Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state.
* | mesa: use _mesa_sizeof_type() in vbo split codeBrian Paul2009-05-071-16/+2
| |
* | mesa: vbo code reformatting, clean-up, commentsBrian Paul2009-05-071-43/+52
| |
* | mesa: in vbo split code, map buffers read-only, not write-onlyBrian Paul2009-05-071-6/+6
|/ | | | And use GL_ELEMENT_ARRAY_BUFFER where appropriate.
* mesa: set the new array->Format field in VBO codeBrian Paul2009-01-231-0/+1
| | | | Should help to solve failed assertion in i965 driver (see bug 19708)
* fix vbo_split_copy related bug 9962Xiang, Haihao2007-08-071-1/+8
|
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-041-5/+5
| | | | of -I flags.
* fix missing ADD_POINTERS, fixes crashes if the index elements are in a vbo.Roland Scheidegger2007-02-011-5/+7
|
* Use new rebase helper. Remove other rebase code.Keith Whitwell2007-01-301-1/+0
|
* allocate larger minimum dstelt bufferRoland Scheidegger2007-01-251-1/+1
| | | | | | | | 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)
* fix dstelt memory allocation to avoid hash corruptionRoland Scheidegger2007-01-251-1/+1
|
* Fix invalid enums passed to MapBufferAapo Tahkola2007-01-181-2/+2
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Keith Whitwell2007-01-161-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* New files to manage splitting drawing commandskeithw2007-01-151-0/+549