gdi32: Improve performance of common case of AlphaBlend

Jeff Muizelaar jmuizelaar at mozilla.com
Sat Apr 28 10:29:40 CDT 2012


This special cases the relatively common case of SourceConstantAlpha == 255
allowing us to eliminate 4 multiplications and 4 divisions.
---
 dlls/gdi32/dibdrv/primitives.c |   36 +++++++++++++++++++++++++++---------
 1 files changed, 27 insertions(+), 9 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-gdi32-Improve-performance-of-common-case-of-AlphaBle.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120428/14fc9c63/attachment.txt>


More information about the wine-patches mailing list