diff options
author | 2019-09-16 15:59:50 -0400 | |
---|---|---|
committer | 2019-09-16 22:21:29 -0400 | |
commit | 0abac3ba453383edf381e310cacd472bf37ea50f (patch) | |
tree | fbe4655d2d84299af18229e87a4156664bab3dcd /src/emu/drawgfx.cpp | |
parent | 406655a9fcd512a4ffd1514b2ea777b1fb5a3d52 (diff) |
Eliminate extract_scanline8/16/32, replacing the scant existing usage with std::copy_n (nw)
Diffstat (limited to 'src/emu/drawgfx.cpp')
-rw-r--r-- | src/emu/drawgfx.cpp | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/src/emu/drawgfx.cpp b/src/emu/drawgfx.cpp index 841ae7c670f..d6d9019fb8a 100644 --- a/src/emu/drawgfx.cpp +++ b/src/emu/drawgfx.cpp @@ -1975,59 +1975,6 @@ void primask_draw_scanline32(bitmap_rgb32 &bitmap, s32 destx, s32 desty, s32 len /*************************************************************************** - EXTRACT_SCANLINE IMPLEMENTATIONS -***************************************************************************/ - -/*------------------------------------------------- - extract_scanline8 - copy pixels from a single - scanline of a bitmap to an 8bpp buffer --------------------------------------------------*/ - -void extract_scanline8(const bitmap_ind16 &bitmap, s32 srcx, s32 srcy, s32 length, u8 *destptr) -{ - EXTRACTSCANLINE_CORE(u16); -} - -void extract_scanline8(const bitmap_rgb32 &bitmap, s32 srcx, s32 srcy, s32 length, u8 *destptr) -{ - EXTRACTSCANLINE_CORE(u32); -} - - -/*------------------------------------------------- - extract_scanline16 - copy pixels from a single - scanline of a bitmap to a 16bpp buffer --------------------------------------------------*/ - -void extract_scanline16(const bitmap_ind16 &bitmap, s32 srcx, s32 srcy, s32 length, u16 *destptr) -{ - EXTRACTSCANLINE_CORE(u16); -} - -void extract_scanline16(const bitmap_rgb32 &bitmap, s32 srcx, s32 srcy, s32 length, u16 *destptr) -{ - EXTRACTSCANLINE_CORE(u32); -} - - -/*------------------------------------------------- - extract_scanline32 - copy pixels from a single - scanline of a bitmap to a 32bpp buffer --------------------------------------------------*/ - -void extract_scanline32(const bitmap_ind16 &bitmap, s32 srcx, s32 srcy, s32 length, u32 *destptr) -{ - EXTRACTSCANLINE_CORE(u16); -} - -void extract_scanline32(const bitmap_rgb32 &bitmap, s32 srcx, s32 srcy, s32 length, u32 *destptr) -{ - EXTRACTSCANLINE_CORE(u32); -} - - - -/*************************************************************************** COPYBITMAP IMPLEMENTATIONS ***************************************************************************/ |