/*------------------------------------------------- draw_scanline32_tranpens - take an RGB-encoded UINT32 scanline and copy it into the destination bitmap, testing for the special ARGB transpen -------------------------------------------------*/ void psikyosh_state::draw_scanline32_transpen(bitmap_rgb32 &bitmap, INT32 destx, INT32 desty, INT32 length, const UINT32 *srcptr) { DECLARE_NO_PRIORITY; UINT32 transpen = BG_TRANSPEN; DRAWSCANLINE_CORE(UINT32, PIXEL_OP_COPY_TRANSPEN_RENDER32, NO_PRIORITY); }
/*------------------------------------------------- draw_scanline32_alpha - take an RGB-encoded UINT32 scanline and alpha-blend it into the destination bitmap -------------------------------------------------*/ static void draw_scanline32_alpha(bitmap_t *bitmap, INT32 destx, INT32 desty, INT32 length, const UINT32 *srcptr, int alpha) { bitmap_t *priority = NULL; /* dummy, no priority in this case */ UINT32 transpen = BG_TRANSPEN; assert(bitmap != NULL); assert(bitmap->bpp == 32); DRAWSCANLINE_CORE(UINT32, PIXEL_OP_COPY_TRANSPEN_ALPHARENDER32, NO_PRIORITY); }
/*------------------------------------------------- draw_scanline32_tranpens - take an RGB-encoded UINT32 scanline and copy it into the destination bitmap, testing for the special ARGB transpen -------------------------------------------------*/ static void draw_scanline32_transpen(bitmap_t *bitmap, INT32 destx, INT32 desty, INT32 length, const UINT32 *srcptr) { bitmap_t *priority = NULL; /* dummy, no priority in this case */ UINT32 transpen = BG_TRANSPEN; assert(bitmap != NULL); assert(bitmap->bpp == 32); assert(bitmap->format == BITMAP_FORMAT_ARGB32); DRAWSCANLINE_CORE(UINT32, PIXEL_OP_COPY_TRANSPEN_RENDER32, NO_PRIORITY); }