diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2021-04-28 11:38:39 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2021-04-28 16:16:35 +0100 |
commit | 2934891fb4cc16b37c3a5fabf34aa3bf9976c9a6 (patch) | |
tree | a71c363a81d2a18fc9c1d33c6f0186fb05e65769 /base/gdevmrun.c | |
parent | f119cf9be003a9e05942233407b8604ce2535ae9 (diff) | |
download | ghostpdl-2934891fb4cc16b37c3a5fabf34aa3bf9976c9a6.tar.gz |
Remove strip_copy_rop in favour of strip_copy_rop2.
Diffstat (limited to 'base/gdevmrun.c')
-rw-r--r-- | base/gdevmrun.c | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/base/gdevmrun.c b/base/gdevmrun.c index fa16ffbc8..f077f8a96 100644 --- a/base/gdevmrun.c +++ b/base/gdevmrun.c @@ -165,7 +165,7 @@ static dev_proc_copy_color(run_copy_color); static dev_proc_fill_rectangle(run_fill_rectangle); static dev_proc_copy_alpha(run_copy_alpha); static dev_proc_strip_tile_rectangle(run_strip_tile_rectangle); -static dev_proc_strip_copy_rop(run_strip_copy_rop); +static dev_proc_strip_copy_rop2(run_strip_copy_rop2); static dev_proc_get_bits_rectangle(run_get_bits_rectangle); /* @@ -211,7 +211,7 @@ gdev_run_from_mem(gx_device_run *rdev, gx_device_memory *mdev) REPLACE(fill_rectangle, run_fill_rectangle); REPLACE(copy_alpha, run_copy_alpha); REPLACE(strip_tile_rectangle, run_strip_tile_rectangle); - REPLACE(strip_copy_rop, run_strip_copy_rop); + REPLACE(strip_copy_rop2, run_strip_copy_rop2); REPLACE(get_bits_rectangle, run_get_bits_rectangle); #undef REPLACE return 0; @@ -334,21 +334,23 @@ run_strip_tile_rectangle(gx_device * dev, const gx_strip_bitmap * tiles, color0, color1, px, py); } static int -run_strip_copy_rop(gx_device * dev, const byte * sdata, int sourcex, - uint sraster, gx_bitmap_id id, - const gx_color_index * scolors, - const gx_strip_bitmap * textures, - const gx_color_index * tcolors, - int x, int y, int w, int h, int px, int py, - gs_logical_operation_t lop) +run_strip_copy_rop2(gx_device * dev, const byte * sdata, int sourcex, + uint sraster, gx_bitmap_id id, + const gx_color_index * scolors, + const gx_strip_bitmap * textures, + const gx_color_index * tcolors, + int x, int y, int w, int h, int px, int py, + gs_logical_operation_t lop, + uint planar_height) { gx_device_run *const rdev = (gx_device_run *)dev; run_standardize(rdev, y, h); - return rdev->save_procs.strip_copy_rop((gx_device *)&rdev->md, - sdata, sourcex, sraster, - id, scolors, textures, tcolors, - x, y, w, h, px, py, lop); + return rdev->save_procs.strip_copy_rop2((gx_device *)&rdev->md, + sdata, sourcex, sraster, + id, scolors, textures, tcolors, + x, y, w, h, px, py, lop, + planar_height); } static int run_get_bits_rectangle(gx_device * dev, const gs_int_rect * prect, |