gallium/util: adapt util code to interface changes
authorRoland Scheidegger <sroland@vmware.com>
Mon, 17 May 2010 19:15:20 +0000 (21:15 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Mon, 17 May 2010 19:15:20 +0000 (21:15 +0200)
commit815b75705f5e3f0f7db025368da37bb14395de9a
treea8898e0e0883e55603ac44f8f60fb0372ac01f0c
parent379db6a36b32912be8fd8808ceb95ca5cffa7850
gallium/util: adapt util code to interface changes

The util blit functions change their interface (apart from some rename) too
(in particular util_blit_pixels now also takes a pipe_resource as the src blit
argument instead of a surface, as it might just call resource_copy_region).
Maybe the blit util code might need a bit more cleanup, it still doesn't feel
very clean. In particular it seems that util_blit_pixels_tex should probably
disappear, and I think it would be great if the code called by drivers for
blitting (u_blitter.c, which isn't really touched by this change) could somehow
be merged with the u_blit code.
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_blit.h
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_caps.c
src/gallium/auxiliary/util/u_clear.h
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/auxiliary/util/u_surface.c
src/gallium/auxiliary/util/u_surface.h