Skip to content

Commit

Permalink
pixman_image_composite => pixman_image_composite32
Browse files Browse the repository at this point in the history
Fix up the remaining callers
  • Loading branch information
Benjamin Otte committed Apr 28, 2010
1 parent 393da36 commit bc49df3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions src/cairo-gl-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1230,12 +1230,12 @@ _render_gradient (const cairo_gl_context_t *ctx,
return _cairo_error (CAIRO_STATUS_NO_MEMORY);
}

pixman_image_composite (PIXMAN_OP_SRC,
gradient, NULL, image,
0, 0,
0, 0,
0, 0,
width, 1);
pixman_image_composite32 (PIXMAN_OP_SRC,
gradient, NULL, image,
0, 0,
0, 0,
0, 0,
width, 1);

pixman_image_unref (gradient);
pixman_image_unref (image);
Expand Down
12 changes: 6 additions & 6 deletions src/cairo-image-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1649,12 +1649,12 @@ _cairo_image_surface_fixup_unbounded (cairo_image_surface_t *dst,
int height = rects->unbounded.height;

if (mask != NULL) {
pixman_image_composite (PIXMAN_OP_OUT_REVERSE,
mask, NULL, dst->pixman_image,
x + mask_x, y + mask_y,
0, 0,
x, y,
width, height);
pixman_image_composite32 (PIXMAN_OP_OUT_REVERSE,
mask, NULL, dst->pixman_image,
x + mask_x, y + mask_y,
0, 0,
x, y,
width, height);
} else {
pixman_color_t color = { 0, };
pixman_box32_t box = { x, y, width, height };
Expand Down

0 comments on commit bc49df3

Please sign in to comment.