[PATCH 1/2] gdi32: Move the loop through each clipped rectangle to the primitive blend funcs.
Huw Davies
huw at codeweavers.com
Thu Apr 1 02:38:09 CDT 2021
On Wed, Mar 31, 2021 at 03:35:57PM +0300, Gabriel Ivăncescu wrote:
> @@ -189,8 +196,8 @@ typedef struct primitive_funcs
> const dib_info *brush, const rop_mask_bits *bits);
> void (* copy_rect)(const dib_info *dst, const RECT *rc, const dib_info *src,
> const POINT *origin, int rop2, int overlap);
> - void (* blend_rect)(const dib_info *dst, const RECT *rc, const dib_info *src,
> - const POINT *origin, BLENDFUNCTION blend);
> + void (* blend_rect)(const dib_info *dst, const dib_info *src, LONG diff_x, LONG diff_y,
> + const struct clipped_rects *clipped_rects, BLENDFUNCTION blend);
Using a POINT *offset instead of diff_[xy] would be cleaner.
Huw.
More information about the wine-devel
mailing list