wined3d: Drop the special case for "converted" surfaces in wined3d_surface_blt().
commit56128d18d4dfcd306beda6aacb69836938c1a2bf
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 17 Jul 2017 12:01:42 +0000 (17 14:01 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 17 Jul 2017 20:12:09 +0000 (17 22:12 +0200)
tree01e437f5993371c5e45347e857e0682114b4b44f
parent990be0ba5010def7e9a1f0b5312df6a77c7b6cda
wined3d: Drop the special case for "converted" surfaces in wined3d_surface_blt().

We still want to avoid invalidating the system memory copy for these surfaces,
but we've become a lot better at preserving the current location for
resources, to the point that the special case actually hurts. In particular,
if the resource wasn't already current on the CPU, using the CPU blitter would
cause us to read it back, which is what we're trying to avoid.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/surface.c