freedreno: add generic blitter

Graphics / Mesa 3D Graphics Library / Mesa - Rob Clark [gmail.com] - 17 December 2017 17:41 EST

Basically a clone of util_blitter_blit() but with special handling to blit PIPE_BUFFER as a PIPE_TEXTURE_1D.

37464efa3f freedreno: add generic blitter
src/gallium/drivers/freedreno/Makefile.sources | 2 +
src/gallium/drivers/freedreno/freedreno_blitter.c | 112 +++++++++++++++++++++
src/gallium/drivers/freedreno/freedreno_blitter.h | 36 +++++++
src/gallium/drivers/freedreno/freedreno_context.c | 4 +
src/gallium/drivers/freedreno/freedreno_context.h | 3 +
src/gallium/drivers/freedreno/freedreno_resource.c | 4 +-
src/gallium/drivers/freedreno/meson.build | 2 +
7 files changed, 161 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share