Module: wine Branch: master Commit: 52c412492faba134f5753ee60cce3040a8e37169 URL: http://source.winehq.org/git/wine.git/?a=commit;h=52c412492faba134f5753ee60c...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Jul 30 11:10:55 2015 +0200
d2d1: Bitmap values are always premultiplied in practice.
Since creating bitmaps with D2D1_ALPHA_MODE_UNKNOWN or D2D1_ALPHA_MODE_STRAIGHT is not possible, and D2D1_ALPHA_MODE_IGNORE behaves as if alpha == 1.0f.
---
dlls/d2d1/brush.c | 3 ++ dlls/d2d1/render_target.c | 16 +++--- dlls/d2d1/tests/d2d1.c | 135 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+), 9 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=52c412492faba134f5753e...