23 May
2023
23 May
'23
2:51 a.m.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53947 Improve performance of GdipDrawImagePointsRect by: 1. avoiding multiplication and use addition where it is possible. 2. avoid calculating `GdipInvertMatrix` if it is not used It gives noticible speed improvement. I divided MR to several commits, to better undestand what is going on. Application for testing (it needs logo.jpg file): [gdiplusdrawimagepoints.exe](/uploads/545ff7d8ab1d60386366f64999346825/gdiplusdrawimagepoints.exe) -- v6: gdiplus: Improve performance of ZZGdipDrawImagePointsRect by avoid TransformMatrixPoints https://gitlab.winehq.org/wine/wine/-/merge_requests/2864