Lines Matching refs:dst
30 SDL_BlendPoint_RGB555(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, in SDL_BlendPoint_RGB555() argument
56 SDL_BlendPoint_RGB565(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, in SDL_BlendPoint_RGB565() argument
82 SDL_BlendPoint_RGB888(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, in SDL_BlendPoint_RGB888() argument
108 SDL_BlendPoint_ARGB8888(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, in SDL_BlendPoint_ARGB8888() argument
134 SDL_BlendPoint_RGB(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, in SDL_BlendPoint_RGB() argument
137 SDL_PixelFormat *fmt = dst->format; in SDL_BlendPoint_RGB()
185 SDL_BlendPoint_RGBA(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, in SDL_BlendPoint_RGBA() argument
188 SDL_PixelFormat *fmt = dst->format; in SDL_BlendPoint_RGBA()
217 SDL_BlendPoint(SDL_Surface * dst, int x, int y, SDL_BlendMode blendMode, Uint8 r, in SDL_BlendPoint() argument
220 if (!dst) { in SDL_BlendPoint()
225 if (dst->format->BitsPerPixel < 8) { in SDL_BlendPoint()
230 if (x < dst->clip_rect.x || y < dst->clip_rect.y || in SDL_BlendPoint()
231 x >= (dst->clip_rect.x + dst->clip_rect.w) || in SDL_BlendPoint()
232 y >= (dst->clip_rect.y + dst->clip_rect.h)) { in SDL_BlendPoint()
242 switch (dst->format->BitsPerPixel) { in SDL_BlendPoint()
244 switch (dst->format->Rmask) { in SDL_BlendPoint()
246 return SDL_BlendPoint_RGB555(dst, x, y, blendMode, r, g, b, a); in SDL_BlendPoint()
250 switch (dst->format->Rmask) { in SDL_BlendPoint()
252 return SDL_BlendPoint_RGB565(dst, x, y, blendMode, r, g, b, a); in SDL_BlendPoint()
256 switch (dst->format->Rmask) { in SDL_BlendPoint()
258 if (!dst->format->Amask) { in SDL_BlendPoint()
259 return SDL_BlendPoint_RGB888(dst, x, y, blendMode, r, g, b, a); in SDL_BlendPoint()
261 return SDL_BlendPoint_ARGB8888(dst, x, y, blendMode, r, g, b, a); in SDL_BlendPoint()
270 if (!dst->format->Amask) { in SDL_BlendPoint()
271 return SDL_BlendPoint_RGB(dst, x, y, blendMode, r, g, b, a); in SDL_BlendPoint()
273 return SDL_BlendPoint_RGBA(dst, x, y, blendMode, r, g, b, a); in SDL_BlendPoint()
278 SDL_BlendPoints(SDL_Surface * dst, const SDL_Point * points, int count, in SDL_BlendPoints() argument
285 int (*func)(SDL_Surface * dst, int x, int y, in SDL_BlendPoints()
289 if (!dst) { in SDL_BlendPoints()
294 if (dst->format->BitsPerPixel < 8) { in SDL_BlendPoints()
305 switch (dst->format->BitsPerPixel) { in SDL_BlendPoints()
307 switch (dst->format->Rmask) { in SDL_BlendPoints()
314 switch (dst->format->Rmask) { in SDL_BlendPoints()
321 switch (dst->format->Rmask) { in SDL_BlendPoints()
323 if (!dst->format->Amask) { in SDL_BlendPoints()
336 if (!dst->format->Amask) { in SDL_BlendPoints()
343 minx = dst->clip_rect.x; in SDL_BlendPoints()
344 maxx = dst->clip_rect.x + dst->clip_rect.w - 1; in SDL_BlendPoints()
345 miny = dst->clip_rect.y; in SDL_BlendPoints()
346 maxy = dst->clip_rect.y + dst->clip_rect.h - 1; in SDL_BlendPoints()
355 status = func(dst, x, y, blendMode, r, g, b, a); in SDL_BlendPoints()