gdiplus: Avoid unnecessary pre-multiplied alpha conversions in GdipDrawImagePointsRect.
commit1d5914b77784de4118f4df3f6de6c6792b104b75
authorAndrew Eikum <aeikum@codeweavers.com>
Fri, 3 Apr 2015 19:26:35 +0000 (3 14:26 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 6 Apr 2015 03:04:15 +0000 (6 12:04 +0900)
tree877b2aaa0b8c604facda44a985f807a2c92567a3
parent125b079f6015686d23982ea3e58580758a393cae
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
dlls/gdiplus/graphics.c