u_blitter: add a copy_texture function which uses views and not resources
authorMarek Olšák <maraeo@gmail.com>
Fri, 21 Oct 2011 00:09:40 +0000 (02:09 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 23 Oct 2011 18:27:06 +0000 (20:27 +0200)
commit37b62cc35435a704d33c1814fbdbd0e807699e21
tree2607f447bd08fd498a47b4684ae5199c596b7fea
parentcf81f2349cd3152efdab06cdfa3ea6aca9801c35
u_blitter: add a copy_texture function which uses views and not resources

The views (sampler views and surfaces) are great tools for changing resource
properties without having to change pipe_resource.
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_blitter.h