Gabriel Ivăncescu : gdi32: Move the loop through each clipped rectangle to the primitive blend funcs.

Alexandre Julliard julliard at winehq.org
Fri Apr 16 15:56:22 CDT 2021


Module: wine
Branch: master
Commit: d4dc8fd2c29ef7276dbcf14580351cf385fec28d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d4dc8fd2c29ef7276dbcf14580351cf385fec28d

Author: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Date:   Fri Apr 16 11:11:19 2021 +0100

gdi32: Move the loop through each clipped rectangle to the primitive blend funcs.

This is to prepare so we don't recalculate the lookup cache map for color
tables on every clipped rect (which is expensive).

Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/gdi32/dibdrv/bitblt.c     |  14 +-
 dlls/gdi32/dibdrv/dibdrv.h     |   4 +-
 dlls/gdi32/dibdrv/primitives.c | 294 +++++++++++++++++++++++------------------
 3 files changed, 171 insertions(+), 141 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=d4dc8fd2c29ef7276dbcf14580351cf385fec28d



More information about the wine-cvs mailing list