diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2021-04-06 00:28:59 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2021-04-20 15:03:03 +0100 |
commit | 4ceac209c34d4f840b2fb4715ab8ca778cda67ea (patch) | |
tree | 169dbd3c6b545646ea6d81e84e34990be72235a4 /base/gdevdrop.c | |
parent | ecac058cc868704f262e57bd9ed993f71e28f891 (diff) | |
download | ghostpdl-4ceac209c34d4f840b2fb4715ab8ca778cda67ea.tar.gz |
Remove obsolete copy_rop dev_proc.
Diffstat (limited to 'base/gdevdrop.c')
-rw-r--r-- | base/gdevdrop.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/base/gdevdrop.c b/base/gdevdrop.c index 9186eea1f..3e0b822c2 100644 --- a/base/gdevdrop.c +++ b/base/gdevdrop.c @@ -866,54 +866,6 @@ out: /* ------ Implementation of related functions ------ */ int -gx_default_copy_rop(gx_device * dev, - const byte * sdata, int sourcex, uint sraster, gx_bitmap_id id, - const gx_color_index * scolors, - const gx_tile_bitmap * texture, const gx_color_index * tcolors, - int x, int y, int width, int height, - int phase_x, int phase_y, gs_logical_operation_t lop) -{ - const gx_strip_bitmap *textures; - gx_strip_bitmap tiles; - - if (texture == 0) - textures = 0; - else { - *(gx_tile_bitmap *) & tiles = *texture; - tiles.rep_shift = tiles.shift = 0; - tiles.num_planes = 1; - textures = &tiles; - } - return (*dev_proc(dev, strip_copy_rop)) - (dev, sdata, sourcex, sraster, id, scolors, textures, tcolors, - x, y, width, height, phase_x, phase_y, lop); -} - -int -gx_copy_rop_unaligned(gx_device * dev, - const byte * sdata, int sourcex, uint sraster, gx_bitmap_id id, - const gx_color_index * scolors, - const gx_tile_bitmap * texture, const gx_color_index * tcolors, - int x, int y, int width, int height, - int phase_x, int phase_y, gs_logical_operation_t lop) -{ - const gx_strip_bitmap *textures; - gx_strip_bitmap tiles; - - if (texture == 0) - textures = 0; - else { - *(gx_tile_bitmap *) & tiles = *texture; - tiles.rep_shift = tiles.shift = 0; - tiles.num_planes = 1; - textures = &tiles; - } - return gx_strip_copy_rop_unaligned - (dev, sdata, sourcex, sraster, id, scolors, textures, tcolors, - x, y, width, height, phase_x, phase_y, lop); -} - -int gx_strip_copy_rop_unaligned(gx_device * dev, const byte * sdata, int sourcex, uint sraster, gx_bitmap_id id, const gx_color_index * scolors, |