wined3d: Keep surfaces in sysmem if they're both already there in wined3d_surface_blt().
commitca43c49968553b3db7d7ef63966b76fcbf9c8a1b
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 17 Oct 2011 19:06:20 +0000 (17 21:06 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 18 Oct 2011 13:10:06 +0000 (18 15:10 +0200)
treec712d579ea2ebfccfffb1f774d80682eca9c0081
parent42db0c0593ed5236668cbc58c62f6d109d9f9294
wined3d: Keep surfaces in sysmem if they're both already there in wined3d_surface_blt().

The idea is to avoid bouncing surfaces between the CPU and GPU when doing both
locks and blits on a surface. This is mostly an issue for ddraw applications.
dlls/wined3d/surface.c