gdi32: Add a mask_rect primitive for use when the src is 1bpp.
commita8044bebe8257ef2487d3e5c747b4265bc5d3d76
authorHuw Davies <huw@codeweavers.com>
Wed, 13 Jul 2016 09:02:28 +0000 (13 10:02 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 14 Jul 2016 08:52:35 +0000 (14 17:52 +0900)
treeb0bffc1a3a26591e584033e55cc4ef133de49be5
parentf5bffe0ef7afbeb2528f8025283d0fd887f4271e
gdi32: Add a mask_rect primitive for use when the src is 1bpp.

This essentially combines the format conversion with a copy_rect.

It cannot be used when stretching, since stretching of 1bpp is
slightly special.  Similarly, it cannot be used if the dst is also
1bpp (hence there is no mask_rect_1) or if the rop involves the brush.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/gdi32/dibdrv/bitblt.c
dlls/gdi32/dibdrv/dibdrv.h
dlls/gdi32/dibdrv/primitives.c