Mercurial > sdl-ios-xcode
comparison src/render/software/SDL_blendline.c @ 5169:4d39eeaad00b
Added a way to get a framebuffer interface for a window, and also a way to create a software renderer for an arbitrary surface.
The software renderer has been re-routed to use the framebuffer interface, which makes it possible to have software rendering available even on simple ports.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 03 Feb 2011 15:49:37 -0800 |
parents | d72793305335 |
children | d976b67150c5 |
comparison
equal
deleted
inserted
replaced
5168:2b1989f59674 | 5169:4d39eeaad00b |
---|---|
21 */ | 21 */ |
22 #include "SDL_config.h" | 22 #include "SDL_config.h" |
23 | 23 |
24 #include "SDL_draw.h" | 24 #include "SDL_draw.h" |
25 #include "SDL_blendline.h" | 25 #include "SDL_blendline.h" |
26 #include "SDL_blendpoint.h" | |
26 | 27 |
27 | 28 |
28 static void | 29 static void |
29 SDL_BlendLine_RGB2(SDL_Surface * dst, int x1, int y1, int x2, int y2, | 30 SDL_BlendLine_RGB2(SDL_Surface * dst, int x1, int y1, int x2, int y2, |
30 SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a, | 31 SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a, |