diff options
author | Roland Scheidegger <[email protected]> | 2010-05-17 21:02:24 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-05-17 21:02:24 +0200 |
commit | 379db6a36b32912be8fd8808ceb95ca5cffa7850 (patch) | |
tree | 8003d4f99ba73813c33607abec997d1a0a8c8577 /src/gallium/auxiliary/util/u_surface.c | |
parent | 6272d7632a8d2948e45698d1c75eae8c441c3916 (diff) |
gallium: clean up resource_copy_region function
Previously, surface_copy was said to allow overlapping blits, and it was
"optional". However, some state trackers actually assumed it is always present,
and quite some code (like in u_blit) assumed overlapping isn't allowed.
Hence, resource_copy_region (and in the same spirit, resource_fill_region) is
now mandatory, but overlapping blits are no longer allowed. A driver can plug
in the cpu fallback util_resource_copy_region if it does not want to provide its
own implementation, though this is not optimal.
Diffstat (limited to 'src/gallium/auxiliary/util/u_surface.c')
0 files changed, 0 insertions, 0 deletions