util/u_blit: Implement util_blit_pixels via pipe_context::blit.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 12 Sep 2013 13:20:02 +0000 (14:20 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 18 Sep 2013 10:25:02 +0000 (11:25 +0100)
commite150c0da7178e5aacd54e73af09b1de5fe1bf903
treee76721fb6c057e673095512e2be2c74a18a1a840
parentd8c7e13886be6056e777a26a59f6c010cf880ed0
util/u_blit: Implement util_blit_pixels via pipe_context::blit.

This removes a lot of code, but not everything, as util_blit_pixels_tex
is still useful when one needs to override pipe_sampler_view::swizzle_?.

Reviewed-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/util/u_blit.c