wined3d: in surface Blt when source and destination are not the same only lock the part of the destination surface that is requested to copy to.

Aric Stewart aric at
Mon Jul 28 10:15:27 CDT 2008

Thanks for the comments. I hope this corrects the worries. My benchmark 
runs flawlessly with it.
Results in over an 7 time speedup in some 2d benchmarks.
  dlls/wined3d/surface_base.c |   21 ++++++++++++++++-----
  1 files changed, 16 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 40529c351f4fac7117634b31d834b86fd945caa0.diff
Type: text/x-patch
Size: 1212 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list