From 6039eb05ba6d82ef56f2868c96654c552d117bf9 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Wed, 7 Feb 2018 20:04:46 -0500 Subject: sdl: remove non-rockbox drivers We never use any of these other drivers, so having them around just takes up space. Change-Id: Iced812162df1fef3fd55522b7e700acb6c3bcd41 --- apps/plugins/sdl/src/video/caca/SDL_cacavideo.h | 76 ------------------------- 1 file changed, 76 deletions(-) delete mode 100644 apps/plugins/sdl/src/video/caca/SDL_cacavideo.h (limited to 'apps/plugins/sdl/src/video/caca/SDL_cacavideo.h') diff --git a/apps/plugins/sdl/src/video/caca/SDL_cacavideo.h b/apps/plugins/sdl/src/video/caca/SDL_cacavideo.h deleted file mode 100644 index 91fcc817af..0000000000 --- a/apps/plugins/sdl/src/video/caca/SDL_cacavideo.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - SDL - Simple DirectMedia Layer - Copyright (C) 2003 Sam Hocevar - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this library; if not, write to the Free - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Sam Hocevar - sam@zoy.org -*/ - -#ifdef SAVE_RCSID -static char rcsid = - "@(#) $Id: libsdl-1.2.11-libcaca.patch,v 1.1 2006/09/18 16:06:06 mr_bones_ Exp $"; -#endif - -#ifndef _SDL_cacavideo_h -#define _SDL_cacavideo_h - -#include "SDL_mouse.h" -#include "../SDL_sysvideo.h" -#include "SDL_mutex.h" - -#include -#include - -#include -#ifdef CACA_API_VERSION_1 -#include -#endif - -/* Hidden "this" pointer for the video functions */ -#define _THIS SDL_VideoDevice *this - -#define SDL_NUMMODES 6 - -/* Private display data */ -struct SDL_PrivateVideoData { - SDL_Rect *SDL_modelist[SDL_NUMMODES+1]; - SDL_mutex *mutex; - - struct caca_bitmap *bitmap; - void *buffer; - int w, h; - - int lastkey; - struct timeval lasttime; -}; - -/* Old variable names */ -#define SDL_modelist (this->hidden->SDL_modelist) -#define Caca_palette (this->hidden->palette) -#define Caca_bitmap (this->hidden->bitmap) -#define Caca_buffer (this->hidden->buffer) - -#define Caca_w (this->hidden->w) -#define Caca_h (this->hidden->h) - -#define Caca_lastkey (this->hidden->lastkey) -#define Caca_lasttime (this->hidden->lasttime) - -#define Caca_mutex (this->hidden->mutex) - -#endif /* _SDL_cacavideo_h */ - -- cgit v1.2.3