Re: [PATCH v2 0/2] MR3006: gdiplus: Improve performance of drawing, by reducing not needed calculations
7 Jun
2023
7 Jun
'23
8:12 p.m.
Alex Henrie (@alexhenrie) commented about dlls/gdiplus/graphics.c:
} }
+/* Creates rotated and translated identity matrix. + * Equvalent (but much faster) of the: + * GdipSetMatrixElements(&matrix, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0); + * GdipRotateMatrix(&matrix, angle, MatrixOrderAppend); + * GdipTranslateMatrix(&matrix, dx, dy, MatrixOrderAppend); */ +inline void create_rotated_translated_identity_matrix(GpMatrix *matrix, REAL angle, REAL dx, REAL dy)
This function should be `static` and not `inline`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3006#note_34990
923
Age (days ago)
923
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alex Henrie (@alexhenrie)