44 srcskip += width - (width + 7) / 8;
49 for (c = 0; c <
width; ++
c) {
53 bit = (byte & 0x80) >> 7;
66 for (c = 0; c <
width; ++
c) {
70 bit = (byte & 0x80) >> 7;
100 srcskip += width - (width + 7) / 8;
104 for (c = 0; c <
width; ++
c) {
108 bit = (byte & 0x80) >> 7;
126 int srcskip, dstskip;
130 height = info->
dst_h;
136 srcskip += width - (width + 7) / 8;
140 for (c = 0; c <
width; ++
c) {
144 bit = (byte & 0x80) >> 7;
165 int srcskip, dstskip;
170 height = info->
dst_h;
176 srcskip += width - (width + 7) / 8;
180 for (c = 0; c <
width; ++
c) {
184 bit = (byte & 0x80) >> 7;
210 srcskip += width - (width + 7) / 8;
215 for (c = 0; c <
width; ++
c) {
219 bit = (byte & 0x80) >> 7;
232 for (c = 0; c <
width; ++
c) {
236 bit = (byte & 0x80) >> 7;
263 srcskip += width - (width + 7) / 8;
272 bit = (byte & 0x80) >> 7;
274 *dstp = ((
Uint16 *) palmap)[bit];
298 srcskip += width - (width + 7) / 8;
302 for (c = 0; c <
width; ++
c) {
306 bit = (byte & 0x80) >> 7;
332 srcskip += width - (width + 7) / 8;
341 bit = (byte & 0x80) >> 7;
343 *dstp = ((
Uint32 *) palmap)[bit];
368 unsigned dR, dG, dB, dA;
369 const unsigned A = info->
a;
373 srcskip += width - (width + 7) / 8;
377 for (c = 0; c <
width; ++
c) {
381 bit = (byte & 0x80) >> 7;
414 unsigned dR, dG, dB, dA;
415 const unsigned A = info->
a;
420 srcskip += width - (width + 7) / 8;
424 for (c = 0; c <
width; ++
c) {
428 bit = (byte & 0x80) >> 7;
460 return (SDL_BlitFunc)
NULL;
472 return colorkey_blit[which];
480 return (SDL_BlitFunc)
NULL;
static void BlitBto2(SDL_BlitInfo *info)
static void BlitBto2Key(SDL_BlitInfo *info)
#define SDL_COPY_COLORKEY
static void BlitBto4(SDL_BlitInfo *info)
#define ALPHA_BLEND_RGBA(sR, sG, sB, sA, dR, dG, dB, dA)
static void BlitBto1Key(SDL_BlitInfo *info)
SDL_PixelFormat * src_fmt
#define ASSEMBLE_RGBA(buf, bpp, fmt, r, g, b, a)
A collection of pixels used in software blitting.
static void BlitBto3Key(SDL_BlitInfo *info)
EGLSurface EGLint EGLint EGLint EGLint height
#define SDL_COPY_RLE_MASK
uint32_t Uint32
An unsigned 32-bit integer type.
#define DISEMBLE_RGBA(buf, bpp, fmt, Pixel, r, g, b, a)
static void BlitBto1(SDL_BlitInfo *info)
EGLSurface EGLint EGLint EGLint width
static void BlitBto4Key(SDL_BlitInfo *info)
static void BlitBtoNAlpha(SDL_BlitInfo *info)
static void BlitBtoNAlphaKey(SDL_BlitInfo *info)
SDL_PixelFormat * dst_fmt
SDL_BlitFunc SDL_CalculateBlit0(SDL_Surface *surface)
DECLSPEC void *SDLCALL SDL_memcpy(void *dst, const void *src, size_t len)
static void BlitBto3(SDL_BlitInfo *info)
#define SDL_COPY_MODULATE_ALPHA
static const SDL_BlitFunc bitmap_blit[]
uint8_t Uint8
An unsigned 8-bit integer type.
uint16_t Uint16
An unsigned 16-bit integer type.
static const SDL_BlitFunc colorkey_blit[]
const GLubyte GLuint GLuint GLuint GLuint alpha GLboolean GLboolean GLboolean GLboolean alpha GLint GLint GLsizei GLsizei GLenum type GLenum GLint GLenum GLint GLint GLsizei GLsizei GLint border GLenum GLint GLint GLint GLint GLint GLsizei GLsizei height GLsizei GLsizei GLenum GLenum const GLvoid *pixels GLenum GLint GLint GLint GLint j2 GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar GLenum GLenum GLint *params GLenum GLenum GLint *params GLenum GLenum GLint *params GLenum GLenum GLfloat *params GLenum GLint GLenum GLenum GLvoid *pixels GLenum GLint GLenum GLint *params GLenum GLenum GLint *params GLenum GLsizei const GLvoid *pointer GLenum GLenum const GLint *params GLenum GLfloat GLfloat GLint GLint const GLfloat *points GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat *points GLint GLfloat GLfloat GLint GLfloat GLfloat v2 GLenum GLenum const GLint *params GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar GLenum map