Huw Davies : gdi32: Add a mask_rect primitive for use when the src is 1bpp.

Alexandre Julliard julliard at winehq.org
Thu Jul 14 08:58:05 CDT 2016


Module: wine
Branch: master
Commit: a8044bebe8257ef2487d3e5c747b4265bc5d3d76
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a8044bebe8257ef2487d3e5c747b4265bc5d3d76

Author: Huw Davies <huw at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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=a8044bebe8257ef2487d3e5c747b4265bc5d3d76



More information about the wine-cvs mailing list