Andrew Eikum : gdiplus: Avoid unnecessary pre-multiplied alpha conversions in GdipDrawImagePointsRect.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Apr 6 10:34:17 CDT 2015


Module: wine
Branch: master
Commit: 1d5914b77784de4118f4df3f6de6c6792b104b75
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1d5914b77784de4118f4df3f6de6c6792b104b75

Author: Andrew Eikum <aeikum at codeweavers.com>
Date:   Fri Apr  3 14:26:35 2015 -0500

gdiplus: Avoid unnecessary pre-multiplied alpha conversions in GdipDrawImagePointsRect.

We can avoid doing a pre-multiplied alpha conversion by detecting
whether we need to perform any graphics operations ahead of time.

---

 dlls/gdiplus/gdiplus_private.h | 20 +++++++++++++
 dlls/gdiplus/graphics.c        | 66 ++++++++++++++++++++++++++++--------------
 2 files changed, 65 insertions(+), 21 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=1d5914b77784de4118f4df3f6de6c6792b104b75



More information about the wine-cvs mailing list