gallium: add usage parameter to pipe_buffer_create
authorMarek Olšák <maraeo@gmail.com>
Sun, 13 Feb 2011 08:13:14 +0000 (09:13 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 15 Feb 2011 21:44:21 +0000 (22:44 +0100)
commiteafb7f234d11a290b00dcaf5492b9bdad1cf5148
tree6abe76f35f3dd25c9c3f537b4a4765ec9bb2e46f
parent82a9794a35744d60adc38b5eee53153c73d07331
gallium: add usage parameter to pipe_buffer_create

And set a reasonable buffer usage flag everywhere instead of
just PIPE_USAGE_DEFAULT.
19 files changed:
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/auxiliary/util/u_index_modify.c
src/gallium/auxiliary/util/u_inlines.h
src/gallium/auxiliary/util/u_upload_mgr.c
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/svga/svga_draw_arrays.c
src/gallium/drivers/svga/svga_draw_elements.c
src/gallium/drivers/svga/svga_swtnl_backend.c
src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp
src/gallium/state_trackers/vega/renderer.c
src/gallium/state_trackers/xorg/xorg_renderer.c
src/gallium/tests/trivial/quad-tex.c
src/gallium/tests/trivial/tri.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_bufferobjects.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_drawtex.c