[Mesa-dev] [PATCH 0/3] Gallium: CopyBufferSubData basic accel
Marek Olšák
maraeo at gmail.com
Thu Apr 21 04:11:18 PDT 2011
Hi,
This little series implements CopyBufferSubData via resource_copy_region and adds a fallback implementation to all drivers. Now drivers can implement a fast path for CopyBufferSubData instead of always defaulting to the software path.
I have tested this series with glean/bufferObject on r600g, softpipe, and llvmpipe. Please review.
Marek Olšák (3):
util: add a simple memcpy path for copying buffers in util_resource_copy_region
gallium: add fallback for copying buffers to all drivers
st/mesa: implement CopyBufferSubData using resource_copy_region
src/gallium/auxiliary/util/u_surface.c | 22 +++++++++++++---------
src/gallium/drivers/i915/i915_surface.c | 15 +++++++++++++++
src/gallium/drivers/llvmpipe/lp_surface.c | 7 +++++++
src/gallium/drivers/nv50/nv50_surface.c | 8 ++++++++
src/gallium/drivers/nvc0/nvc0_surface.c | 8 ++++++++
src/gallium/drivers/nvfx/nvfx_surface.c | 8 ++++++++
src/gallium/drivers/r300/r300_blit.c | 8 ++++++++
src/gallium/drivers/r600/r600_blit.c | 7 +++++++
src/gallium/drivers/svga/svga_pipe_blit.c | 9 +++++++++
src/mesa/state_tracker/st_cb_bufferobjects.c | 23 ++++-------------------
10 files changed, 87 insertions(+), 28 deletions(-)
Marek
More information about the mesa-dev
mailing list