comparison src/video/directfb/SDL_DirectFB_video.h @ 1895:c121d94672cb

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 21:04:37 +0000
parents d910939febfa
children 0e70b4b8cf84
comparison
equal deleted inserted replaced
1894:c69cee13dd76 1895:c121d94672cb
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: */