24 #ifndef _SDL_fbvideo_h
25 #define _SDL_fbvideo_h
32 #include "SDL_mutex.h"
33 #include "../SDL_sysvideo.h"
39 #define _THIS SDL_VideoDevice *this
92 #define NUM_MODELISTS 4
111 #define console_fd (this->hidden->console_fd)
112 #define current_vt (this->hidden->current_vt)
113 #define saved_vt (this->hidden->saved_vt)
114 #define keyboard_fd (this->hidden->keyboard_fd)
115 #define saved_kbd_mode (this->hidden->saved_kbd_mode)
116 #define saved_kbd_termios (this->hidden->saved_kbd_termios)
117 #define mouse_fd (this->hidden->mouse_fd)
119 #define ts_dev (this->hidden->ts_dev)
121 #define cache_vinfo (this->hidden->cache_vinfo)
122 #define saved_vinfo (this->hidden->saved_vinfo)
123 #define saved_cmaplen (this->hidden->saved_cmaplen)
124 #define saved_cmap (this->hidden->saved_cmap)
125 #define mapped_mem (this->hidden->mapped_mem)
126 #define shadow_mem (this->hidden->shadow_mem)
127 #define mapped_memlen (this->hidden->mapped_memlen)
128 #define mapped_offset (this->hidden->mapped_offset)
129 #define mapped_io (this->hidden->mapped_io)
130 #define mapped_iolen (this->hidden->mapped_iolen)
131 #define flip_page (this->hidden->flip_page)
132 #define flip_address (this->hidden->flip_address)
133 #define rotate (this->hidden->rotate)
134 #define shadow_fb (this->hidden->shadow_fb)
135 #define blitFunc (this->hidden->blitFunc)
136 #define physlinebytes (this->hidden->physlinebytes)
137 #define SDL_nummodes (this->hidden->SDL_nummodes)
138 #define SDL_modelist (this->hidden->SDL_modelist)
139 #define surfaces (this->hidden->surfaces)
140 #define surfaces_memtotal (this->hidden->surfaces_memtotal)
141 #define surfaces_memleft (this->hidden->surfaces_memleft)
142 #define hw_lock (this->hidden->hw_lock)
143 #define switched_away (this->hidden->switched_away)
144 #define screen_vinfo (this->hidden->screen_vinfo)
145 #define screen_arealen (this->hidden->screen_arealen)
146 #define screen_contents (this->hidden->screen_contents)
147 #define screen_palette (this->hidden->screen_palette)
148 #define wait_vbl (this->hidden->wait_vbl)
149 #define wait_idle (this->hidden->wait_idle)
154 #ifndef FB_ACCEL_MATROX_MGAG400
155 #define FB_ACCEL_MATROX_MGAG400 26
157 #ifndef FB_ACCEL_3DFX_BANSHEE
158 #define FB_ACCEL_3DFX_BANSHEE 31
194 if ( dst == this->
screen ) {
195 *x += this->offset_x;
196 *y += this->offset_y;