Sweden-Number/dlls/win32u
Florian Will 6dfad4c2fb win32u: Only retrieve the dc size if needed.
SetMapMode(.., MM_TEXT) is called a lot in common gdiplus use cases via
gdi_transform_acquire(). Querying the size and resolution can be
expensive, so skip it when its not needed.

When running the "ZusiDisplay" ET423 diagnostic display, which uses
gdiplus heavily, this change increases the "indicator blinking speed"
from 0.6 per second to 1 per second and probably hits the FPS limit now.
Also, CPU usage of the ZusiDisplay.exe process goes down from ~75% to
~42% of one core according to "top", and wineserver CPU usage goes down
from ~48% to ~3%.

Signed-off-by: Florian Will <florian.will@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 11:59:08 +01:00
..
dibdrv
tests
Makefile.in win32u: Move NtUserAttachThreadInput implementation from user32. 2021-11-16 17:44:42 +01:00
bitblt.c
bitmap.c
brush.c
clipboard.c win32u: Move NtUserGetOpenClipboardWindow implementation from user32. 2021-11-16 17:44:42 +01:00
clipping.c
dc.c
dib.c win32u: Do not free user memory when deleting dibs created with NtGdiDdDDICreateDCFromMemory(). 2021-11-22 22:20:51 +01:00
driver.c win32u: Move NtUserScrollDC implementation from user32. 2021-11-17 15:27:03 +01:00
emfdrv.c
font.c win32u: Guard font unused_entry against race condition. 2021-11-19 18:31:38 +01:00
freetype.c
gdiobj.c win32u: Move NtUserScrollDC implementation from user32. 2021-11-17 15:27:03 +01:00
input.c win32u: Move NtUserGetMouseMovePointsEx implementation from user32. 2021-11-17 15:26:57 +01:00
main.c
mapping.c win32u: Only retrieve the dc size if needed. 2021-11-26 11:59:08 +01:00
ntgdi_private.h
opentype.c
painting.c win32u: Move NtUserScrollDC implementation from user32. 2021-11-17 15:27:03 +01:00
palette.c
path.c
pen.c
printdrv.c
region.c
syscall.c win32u: Move NtUserGetMouseMovePointsEx implementation from user32. 2021-11-17 15:26:57 +01:00
vertical.c
vulkan.c
win32u.spec win32u: Move NtUserScrollDC implementation from user32. 2021-11-17 15:27:03 +01:00
win32u_private.h win32u: Move NtUserScrollDC implementation from user32. 2021-11-17 15:27:03 +01:00
window.c
winstation.c
wrappers.c win32u: Move NtUserScrollDC implementation from user32. 2021-11-17 15:27:03 +01:00