d2d1: Bitmap values are always premultiplied in practice.
commit52c412492faba134f5753ee60cce3040a8e37169
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 30 Jul 2015 09:10:55 +0000 (30 11:10 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 30 Jul 2015 09:39:46 +0000 (30 11:39 +0200)
tree5a3912f437a85f1f7ed0df8fd5da86e4ab632022
parent905bf79337e04ed31d2823508e90169298049697
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
dlls/d2d1/render_target.c
dlls/d2d1/tests/d2d1.c