Module: wine
Branch: master
Commit: a8044bebe8257ef2487d3e5c747b4265bc5d3d76
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a8044bebe8257ef2487d3e5c7…
Author: Huw Davies <huw(a)codeweavers.com>
Date: Wed Jul 13 10:02:28 2016 +0100
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(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/gdi32/dibdrv/bitblt.c | 51 +++++-
dlls/gdi32/dibdrv/dibdrv.h | 2 +
dlls/gdi32/dibdrv/primitives.c | 348 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 396 insertions(+), 5 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=a8044bebe8257ef2487d3…