19682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/*
29682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    SDL - Simple DirectMedia Layer
39682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Copyright (C) 1997-2012 Sam Lantinga
49682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
59682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    This library is free software; you can redistribute it and/or
69682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    modify it under the terms of the GNU Lesser General Public
79682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    License as published by the Free Software Foundation; either
89682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    version 2.1 of the License, or (at your option) any later version.
99682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
109682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    This library is distributed in the hope that it will be useful,
119682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    but WITHOUT ANY WARRANTY; without even the implied warranty of
129682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
139682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Lesser General Public License for more details.
149682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
159682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    You should have received a copy of the GNU Lesser General Public
169682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    License along with this library; if not, write to the Free Software
179682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
189682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
199682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Sam Lantinga
209682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    slouken@libsdl.org
219682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall*/
229682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include "SDL_config.h"
239682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
249682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#ifndef _SDL_fbvideo_h
259682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define _SDL_fbvideo_h
269682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
279682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include <sys/types.h>
289682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include <termios.h>
299682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include <linux/fb.h>
309682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
319682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include "SDL_mouse.h"
329682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include "SDL_mutex.h"
339682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include "../SDL_sysvideo.h"
349682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#if SDL_INPUT_TSLIB
359682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include "tslib.h"
369682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif
379682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
389682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Hidden "this" pointer for the video functions */
399682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define _THIS	SDL_VideoDevice *this
409682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
419682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef void FB_bitBlit(
429682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall		Uint8 *src_pos,
439682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall		int src_right_delta,	/* pixels, not bytes */
449682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall		int src_down_delta,		/* pixels, not bytes */
459682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall		Uint8 *dst_pos,
469682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall		int dst_linebytes,
479682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall		int width,
489682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall		int height);
499682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
509682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* This is the structure we use to keep track of video memory */
519682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef struct vidmem_bucket {
529682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	struct vidmem_bucket *prev;
539682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int used;
549682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int dirty;
559682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	char *base;
569682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	unsigned int size;
579682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	struct vidmem_bucket *next;
589682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall} vidmem_bucket;
599682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
609682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Private display data */
619682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hallstruct SDL_PrivateVideoData {
629682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int console_fd;
639682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	struct fb_var_screeninfo cache_vinfo;
649682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	struct fb_var_screeninfo saved_vinfo;
659682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int saved_cmaplen;
669682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	__u16 *saved_cmap;
679682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
689682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int current_vt;
699682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int saved_vt;
709682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int keyboard_fd;
719682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int saved_kbd_mode;
729682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	struct termios saved_kbd_termios;
739682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
749682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int mouse_fd;
759682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#if SDL_INPUT_TSLIB
769682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	struct tsdev *ts_dev;
779682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif
789682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
799682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	char *mapped_mem;
809682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	char *shadow_mem;
819682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int mapped_memlen;
829682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int mapped_offset;
839682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	char *mapped_io;
849682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	long mapped_iolen;
859682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int flip_page;
869682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	char *flip_address[2];
879682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int rotate;
889682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int shadow_fb;				/* Tells whether a shadow is being used. */
899682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	FB_bitBlit *blitFunc;
909682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int physlinebytes;			/* Length of a line in bytes in physical fb */
919682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
929682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define NUM_MODELISTS	4		/* 8, 16, 24, and 32 bits-per-pixel */
939682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int SDL_nummodes[NUM_MODELISTS];
949682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	SDL_Rect **SDL_modelist[NUM_MODELISTS];
959682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
969682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	vidmem_bucket surfaces;
979682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int surfaces_memtotal;
989682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int surfaces_memleft;
999682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1009682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	SDL_mutex *hw_lock;
1019682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	int switched_away;
1029682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	struct fb_var_screeninfo screen_vinfo;
1039682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	Uint32 screen_arealen;
1049682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	Uint8 *screen_contents;
1059682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	__u16  screen_palette[3*256];
1069682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1079682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	void (*wait_vbl)(_THIS);
1089682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	void (*wait_idle)(_THIS);
1099682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall};
1109682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Old variable names */
1119682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define console_fd		(this->hidden->console_fd)
1129682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define current_vt		(this->hidden->current_vt)
1139682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define saved_vt		(this->hidden->saved_vt)
1149682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define keyboard_fd		(this->hidden->keyboard_fd)
1159682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define saved_kbd_mode		(this->hidden->saved_kbd_mode)
1169682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define saved_kbd_termios	(this->hidden->saved_kbd_termios)
1179682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define mouse_fd		(this->hidden->mouse_fd)
1189682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#if SDL_INPUT_TSLIB
1199682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define ts_dev			(this->hidden->ts_dev)
1209682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif
1219682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define cache_vinfo		(this->hidden->cache_vinfo)
1229682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define saved_vinfo		(this->hidden->saved_vinfo)
1239682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define saved_cmaplen		(this->hidden->saved_cmaplen)
1249682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define saved_cmap		(this->hidden->saved_cmap)
1259682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define mapped_mem		(this->hidden->mapped_mem)
1269682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define shadow_mem		(this->hidden->shadow_mem)
1279682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define mapped_memlen		(this->hidden->mapped_memlen)
1289682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define mapped_offset		(this->hidden->mapped_offset)
1299682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define mapped_io		(this->hidden->mapped_io)
1309682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define mapped_iolen		(this->hidden->mapped_iolen)
1319682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define flip_page		(this->hidden->flip_page)
1329682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define flip_address		(this->hidden->flip_address)
1339682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define rotate			(this->hidden->rotate)
1349682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define shadow_fb		(this->hidden->shadow_fb)
1359682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define blitFunc		(this->hidden->blitFunc)
1369682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define physlinebytes		(this->hidden->physlinebytes)
1379682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_nummodes		(this->hidden->SDL_nummodes)
1389682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_modelist		(this->hidden->SDL_modelist)
1399682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define surfaces		(this->hidden->surfaces)
1409682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define surfaces_memtotal	(this->hidden->surfaces_memtotal)
1419682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define surfaces_memleft	(this->hidden->surfaces_memleft)
1429682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define hw_lock			(this->hidden->hw_lock)
1439682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define switched_away		(this->hidden->switched_away)
1449682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define screen_vinfo		(this->hidden->screen_vinfo)
1459682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define screen_arealen		(this->hidden->screen_arealen)
1469682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define screen_contents		(this->hidden->screen_contents)
1479682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define screen_palette		(this->hidden->screen_palette)
1489682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define wait_vbl		(this->hidden->wait_vbl)
1499682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define wait_idle		(this->hidden->wait_idle)
1509682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1519682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Accelerator types that are supported by the driver, but are not
1529682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall   necessarily in the kernel headers on the system we compile on.
1539682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall*/
1549682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#ifndef FB_ACCEL_MATROX_MGAG400
1559682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define FB_ACCEL_MATROX_MGAG400	26	/* Matrox G400			*/
1569682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif
1579682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#ifndef FB_ACCEL_3DFX_BANSHEE
1589682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define FB_ACCEL_3DFX_BANSHEE	31	/* 3Dfx Banshee			*/
1599682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif
1609682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1619682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* These functions are defined in SDL_fbvideo.c */
1629682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hallextern void FB_SavePaletteTo(_THIS, int palette_len, __u16 *area);
1639682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hallextern void FB_RestorePaletteFrom(_THIS, int palette_len, __u16 *area);
1649682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1659682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* These are utility functions for working with video surfaces */
1669682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1679682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hallstatic __inline__ void FB_AddBusySurface(SDL_Surface *surface)
1689682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall{
1699682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	((vidmem_bucket *)surface->hwdata)->dirty = 1;
1709682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall}
1719682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1729682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hallstatic __inline__ int FB_IsSurfaceBusy(SDL_Surface *surface)
1739682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall{
1749682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	return ((vidmem_bucket *)surface->hwdata)->dirty;
1759682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall}
1769682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1779682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hallstatic __inline__ void FB_WaitBusySurfaces(_THIS)
1789682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall{
1799682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	vidmem_bucket *bucket;
1809682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1819682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	/* Wait for graphic operations to complete */
1829682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	wait_idle(this);
1839682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1849682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	/* Clear all surface dirty bits */
1859682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	for ( bucket=&surfaces; bucket; bucket=bucket->next ) {
1869682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall		bucket->dirty = 0;
1879682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	}
1889682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall}
1899682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1909682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hallstatic __inline__ void FB_dst_to_xy(_THIS, SDL_Surface *dst, int *x, int *y)
1919682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall{
1929682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	*x = (long)((char *)dst->pixels - mapped_mem)%this->screen->pitch;
1939682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	*y = (long)((char *)dst->pixels - mapped_mem)/this->screen->pitch;
1949682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	if ( dst == this->screen ) {
1959682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall		*x += this->offset_x;
1969682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall		*y += this->offset_y;
1979682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall	}
1989682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall}
1999682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
2009682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif /* _SDL_fbvideo_h */
201