Mercurial > sdl-ios-xcode
comparison src/video/directfb/SDL_DirectFB_video.h @ 1662:782fd950bd46 SDL-1.3
Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid.
The code is now run through a consistent indent format:
indent -i4 -nut -nsc -br -ce
The headers are being converted to automatically generate doxygen documentation.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 13:04:16 +0000 |
parents | d910939febfa |
children | 4da1ee79c9af |
comparison
equal
deleted
inserted
replaced
1661:281d3f4870e5 | 1662:782fd950bd46 |
---|---|
33 | 33 |
34 /* Private display data */ | 34 /* Private display data */ |
35 | 35 |
36 struct SDL_PrivateVideoData | 36 struct SDL_PrivateVideoData |
37 { | 37 { |
38 int initialized; | 38 int initialized; |
39 | 39 |
40 IDirectFB *dfb; | 40 IDirectFB *dfb; |
41 IDirectFBDisplayLayer *layer; | 41 IDirectFBDisplayLayer *layer; |
42 IDirectFBEventBuffer *eventbuffer; | 42 IDirectFBEventBuffer *eventbuffer; |
43 | 43 |
44 int nummodes; | 44 int nummodes; |
45 SDL_Rect **modelist; | 45 SDL_Rect **modelist; |
46 | 46 |
47 /* MGA CRTC2 support */ | 47 /* MGA CRTC2 support */ |
48 int enable_mga_crtc2; | 48 int enable_mga_crtc2; |
49 int mga_crtc2_stretch; | 49 int mga_crtc2_stretch; |
50 float mga_crtc2_stretch_overscan; | 50 float mga_crtc2_stretch_overscan; |
51 IDirectFBDisplayLayer *c2layer; | 51 IDirectFBDisplayLayer *c2layer; |
52 IDirectFBSurface *c2frame; | 52 IDirectFBSurface *c2frame; |
53 DFBRectangle c2ssize; /* Real screen size */ | 53 DFBRectangle c2ssize; /* Real screen size */ |
54 DFBRectangle c2dsize; /* Stretched screen size */ | 54 DFBRectangle c2dsize; /* Stretched screen size */ |
55 DFBRectangle c2framesize; /* CRTC2 screen size */ | 55 DFBRectangle c2framesize; /* CRTC2 screen size */ |
56 }; | 56 }; |
57 | 57 |
58 #define HIDDEN (this->hidden) | 58 #define HIDDEN (this->hidden) |
59 | 59 |
60 void SetDirectFBerror (const char *function, DFBResult code); | 60 void SetDirectFBerror (const char *function, DFBResult code); |
61 | 61 |
62 #endif /* _SDL_DirectFB_video_h */ | 62 #endif /* _SDL_DirectFB_video_h */ |
63 /* vi: set ts=4 sw=4 expandtab: */ |