gdiplus: Limit calculating transformation points to resampling.
commit66ebf9169ed5062e0a0a7585900f64af1b50bd00
authorBartosz Kosiorek <gang65@poczta.onet.pl>
Sun, 21 May 2023 18:35:17 +0000 (21 20:35 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 23 May 2023 20:19:30 +0000 (23 22:19 +0200)
tree257719751876e22b2a834eabc08adf9d7093b690
parent71da110b4689d7fc8ca1439dfb7944146b6d8d9d
gdiplus: Limit calculating transformation points to resampling.

Calculating transformation points and not using it it is a waste
of CPU time. With this patch the code was moved where it is used.
It is improving performance of GdipDrawImagePointsRect when
resampling is not needed.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53947
dlls/gdiplus/graphics.c