Go to the documentation of this file.
21 #include "../SDL_internal.h"
34 const Uint32 modulateR = info->
r;
35 const Uint32 modulateG = info->
g;
36 const Uint32 modulateB = info->
b;
37 const Uint32 modulateA = info->
a;
57 while (info->
dst_h--) {
63 while (posy >= 0x10000L) {
68 if (posx >= 0x10000L) {
69 while (posx >= 0x10000L) {
74 (info->
src + (srcy * info->
src_pitch) + (srcx * srcbpp));
90 if ((srcpixel & rgbmask) == ckey) {
111 srcA = (srcA * modulateA) / 255;
132 dstA = srcA + ((255 - srcA) * dstA) / 255;
151 if (dst_fmt->
Amask) {
#define ASSEMBLE_RGBA(buf, bpp, fmt, r, g, b, a)
#define SDL_COPY_COLORKEY
void SDL_Blit_Slow(SDL_BlitInfo *info)
#define DISEMBLE_RGBA(buf, bpp, fmt, Pixel, r, g, b, a)
SDL_PixelFormat * src_fmt
#define SDL_COPY_MODULATE_ALPHA
SDL_PixelFormat * dst_fmt
#define DISEMBLE_RGB(buf, bpp, fmt, Pixel, r, g, b)
#define ASSEMBLE_RGB(buf, bpp, fmt, r, g, b)
#define SDL_COPY_MODULATE_COLOR