17 May
2023
17 May
'23
5:42 p.m.
Bartosz Kosiorek (@gang65) commented about dlls/gdiplus/graphics.c:
switch ((int)src_space) { case CoordinateSpaceWorld: - GdipMultiplyMatrix(matrix, &graphics->worldtrans, MatrixOrderAppend); + memcpy(matrix->matrix, &graphics->worldtrans, 6 * sizeof(REAL));
Instead of expensive Matrix Multiplication by [Identity Matrix](https://en.wikipedia.org/wiki/Identity_matrix), just copy matrix, and boost performance. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2847#note_33026