685a28fd8a046e8dac02c2c26ab8b169de7a2a29 |
|
30-Mar-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium/util: remove unused parameter nr_vertex_buffers in util_draw_max_index
/external/mesa3d/src/gallium/auxiliary/util/u_draw.c
|
4552fd50d959ab99546cfa994f8ba5bdf5d66bc7 |
|
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: add void *user_buffer in pipe_vertex_buffer This reduces CPU overhead in st_draw_vbo and removes a lot of unnecessary code in that function which was required only to comply with the gallium interface, but wasn't any useful really. Adapted drivers: i915, llvmpipe, r300, softpipe. No changes required in: r600, radeonsi. User vertex buffers have been disabled in nv30, nv50, nvc0 and svga to keep things working.
/external/mesa3d/src/gallium/auxiliary/util/u_draw.c
|
438d7ac146dc89d1c2943610c662c57e11a47382 |
|
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
util/draw: replace assertions with conditionals in util_draw_max_index() Don't assert/die if a VBO is too small. Return zero instead. For debug builds, emit a warning message since this is an unusual situation that might indicate that there's a bug in the app. Note that util_draw_max_index() now returns max_index+1 instead of max_index. This lets us return zero to indicate that one of the VBOs is too small to draw anything. Fixes a failure with the new piglit vbo-too-small test. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_draw.c
|
3733da31e8b4405b65e1b6ca3b6599ecc5af5fe7 |
|
31-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
draw: Prevent out-of-bounds vertex buffer access. Based on some code and ideas from Keith Whitwell.
/external/mesa3d/src/gallium/auxiliary/util/u_draw.c
|