Mercurial > sdl-ios-xcode
comparison src/video/directfb/SDL_DirectFB_dyn.h @ 5202:164f20ba08eb
Updated the DirectFB support, from Couriersud
attached is a working directfb driver diff which works with the current
changes. There are a number of changes around it as well, e.g.
configure.in.
The directfb renderdriver right now still depends on a some "includes"
from src/video/directfb. That's why it is not yet moved to the new
render folder.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 05 Feb 2011 16:07:10 -0800 |
parents | f7b03b6838cb |
children | b530ef003506 |
comparison
equal
deleted
inserted
replaced
5201:7c3422025c35 | 5202:164f20ba08eb |
---|---|
16 License along with this library; if not, write to the Free Software | 16 License along with this library; if not, write to the Free Software |
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
18 | 18 |
19 Sam Lantinga | 19 Sam Lantinga |
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 | |
22 SDL1.3 DirectFB driver by couriersud@arcor.de | |
23 | |
21 */ | 24 */ |
22 | 25 |
23 #ifndef _SDL_DirectFB_dyn_h | 26 #ifndef _SDL_DirectFB_dyn_h |
24 #define _SDL_DirectFB_dyn_h | 27 #define _SDL_DirectFB_dyn_h |
25 | 28 |
31 DFB_SYM(DFBResult, DirectFBInit, (int *argc, char *(*argv[]) ), (argc, argv), return) \ | 34 DFB_SYM(DFBResult, DirectFBInit, (int *argc, char *(*argv[]) ), (argc, argv), return) \ |
32 DFB_SYM(DFBResult, DirectFBSetOption, (const char *name, const char *value), (name, value), return) \ | 35 DFB_SYM(DFBResult, DirectFBSetOption, (const char *name, const char *value), (name, value), return) \ |
33 DFB_SYM(DFBResult, DirectFBCreate, (IDirectFB **interface), (interface), return) \ | 36 DFB_SYM(DFBResult, DirectFBCreate, (IDirectFB **interface), (interface), return) \ |
34 DFB_SYM(const char *, DirectFBCheckVersion, (unsigned int required_major, unsigned int required_minor, unsigned int required_micro), \ | 37 DFB_SYM(const char *, DirectFBCheckVersion, (unsigned int required_major, unsigned int required_minor, unsigned int required_micro), \ |
35 (required_major, required_minor, required_micro), return) | 38 (required_major, required_minor, required_micro), return) |
36 // #define SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC "/usr/lib/libdirectfb-1.2.so.0" | |
37 | 39 |
38 int SDL_DirectFB_LoadLibrary(void); | 40 int SDL_DirectFB_LoadLibrary(void); |
39 void SDL_DirectFB_UnLoadLibrary(void); | 41 void SDL_DirectFB_UnLoadLibrary(void); |
40 | 42 |
41 #endif | 43 #endif |