Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
008911fd
Commit
008911fd
authored
Jan 20, 2011
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nobody has stepped up to maintain an svgalib driver. Bye bye! :)
parent
75ed99ed
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1 addition
and
1220 deletions
+1
-1220
SDL.spec.in
SDL.spec.in
+1
-1
configure.in
configure.in
+0
-31
SDL_config.h.in
include/SDL_config.h.in
+0
-1
SDL_sysvideo.h
src/video/SDL_sysvideo.h
+0
-3
SDL_video.c
src/video/SDL_video.c
+0
-3
SDL_svgaevents.c
src/video/svga/SDL_svgaevents.c
+0
-420
SDL_svgaevents_c.h
src/video/svga/SDL_svgaevents_c.h
+0
-36
SDL_svgamouse.c
src/video/svga/SDL_svgamouse.c
+0
-35
SDL_svgamouse_c.h
src/video/svga/SDL_svgamouse_c.h
+0
-27
SDL_svgavideo.c
src/video/svga/SDL_svgavideo.c
+0
-604
SDL_svgavideo.h
src/video/svga/SDL_svgavideo.h
+0
-59
No files found.
SDL.spec.in
View file @
008911fd
...
@@ -39,7 +39,7 @@ to develop SDL applications.
...
@@ -39,7 +39,7 @@ to develop SDL applications.
%build
%build
%ifos linux
%ifos linux
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-
aalib --disable-video-directfb --disable-video-ggi --disable-video-svga
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-
directfb
%else
%else
%configure
%configure
%endif
%endif
...
...
configure.in
View file @
008911fd
...
@@ -1586,36 +1586,6 @@ CheckPS3()
...
@@ -1586,36 +1586,6 @@ CheckPS3()
fi
fi
}
}
dnl Find the SVGAlib includes and libraries
CheckSVGA()
{
AC_ARG_ENABLE(video-svga,
AC_HELP_STRING([--enable-video-svga], [use SVGAlib video driver [[default=no]]]),
, enable_video_svga=no)
if test x$enable_video = xyes -a x$enable_video_svga = xyes; then
AC_MSG_CHECKING(for SVGAlib (1.4.0+) support)
video_svga=no
AC_TRY_COMPILE([
#include <vga.h>
#include <vgamouse.h>
#include <vgakeyboard.h>
],[
if ( SCANCODE_RIGHTWIN && SCANCODE_LEFTWIN ) {
exit(0);
}
],[
video_svga=yes
])
AC_MSG_RESULT($video_svga)
if test x$video_svga = xyes; then
AC_DEFINE(SDL_VIDEO_DRIVER_SVGALIB)
SOURCES="$SOURCES $srcdir/src/video/svga/*.c"
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvga"
have_video=yes
fi
fi
}
dnl rcg04172001 Set up the Null video driver.
dnl rcg04172001 Set up the Null video driver.
CheckDummyVideo()
CheckDummyVideo()
{
{
...
@@ -2276,7 +2246,6 @@ case "$host" in
...
@@ -2276,7 +2246,6 @@ case "$host" in
CheckDirectFB
CheckDirectFB
CheckFusionSound
CheckFusionSound
CheckPS3
CheckPS3
CheckSVGA
CheckOpenGLX11
CheckOpenGLX11
CheckInputEvents
CheckInputEvents
CheckTslib
CheckTslib
...
...
include/SDL_config.h.in
View file @
008911fd
...
@@ -266,7 +266,6 @@
...
@@ -266,7 +266,6 @@
#undef SDL_VIDEO_DRIVER_QNXGF
#undef SDL_VIDEO_DRIVER_QNXGF
#undef SDL_VIDEO_DRIVER_PS3
#undef SDL_VIDEO_DRIVER_PS3
#undef SDL_VIDEO_DRIVER_RISCOS
#undef SDL_VIDEO_DRIVER_RISCOS
#undef SDL_VIDEO_DRIVER_SVGALIB
#undef SDL_VIDEO_DRIVER_WIN32
#undef SDL_VIDEO_DRIVER_WIN32
#undef SDL_VIDEO_DRIVER_X11
#undef SDL_VIDEO_DRIVER_X11
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC
...
...
src/video/SDL_sysvideo.h
View file @
008911fd
...
@@ -414,9 +414,6 @@ extern VideoBootStrap DirectFB_bootstrap;
...
@@ -414,9 +414,6 @@ extern VideoBootStrap DirectFB_bootstrap;
#if SDL_VIDEO_DRIVER_PS3
#if SDL_VIDEO_DRIVER_PS3
extern
VideoBootStrap
PS3_bootstrap
;
extern
VideoBootStrap
PS3_bootstrap
;
#endif
#endif
#if SDL_VIDEO_DRIVER_SVGALIB
extern
VideoBootStrap
SVGALIB_bootstrap
;
#endif
#if SDL_VIDEO_DRIVER_WIN32
#if SDL_VIDEO_DRIVER_WIN32
extern
VideoBootStrap
WIN32_bootstrap
;
extern
VideoBootStrap
WIN32_bootstrap
;
#endif
#endif
...
...
src/video/SDL_video.c
View file @
008911fd
...
@@ -68,9 +68,6 @@ static VideoBootStrap *bootstrap[] = {
...
@@ -68,9 +68,6 @@ static VideoBootStrap *bootstrap[] = {
#if SDL_VIDEO_DRIVER_PS3
#if SDL_VIDEO_DRIVER_PS3
&
PS3_bootstrap
,
&
PS3_bootstrap
,
#endif
#endif
#if SDL_VIDEO_DRIVER_SVGALIB
&
SVGALIB_bootstrap
,
#endif
#if SDL_VIDEO_DRIVER_WIN32
#if SDL_VIDEO_DRIVER_WIN32
&
WIN32_bootstrap
,
&
WIN32_bootstrap
,
#endif
#endif
...
...
src/video/svga/SDL_svgaevents.c
deleted
100644 → 0
View file @
75ed99ed
This diff is collapsed.
Click to expand it.
src/video/svga/SDL_svgaevents_c.h
deleted
100644 → 0
View file @
75ed99ed
/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2010 Sam Lantinga
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Sam Lantinga
slouken@libsdl.org
*/
#include "SDL_config.h"
#include "SDL_svgavideo.h"
/* Variables and functions exported by SDL_sysevents.c to other parts
of the native video subsystem (SDL_sysvideo.c)
*/
extern
int
SVGA_initkeymaps
(
int
fd
);
extern
void
SVGA_mousecallback
(
int
button
,
int
dx
,
int
dy
,
int
u1
,
int
u2
,
int
u3
,
int
u4
);
extern
void
SVGA_keyboardcallback
(
int
scancode
,
int
pressed
);
extern
void
SVGA_InitOSKeymap
(
_THIS
);
extern
void
SVGA_PumpEvents
(
_THIS
);
/* vi: set ts=4 sw=4 expandtab: */
src/video/svga/SDL_svgamouse.c
deleted
100644 → 0
View file @
75ed99ed
/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2010 Sam Lantinga
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Sam Lantinga
slouken@libsdl.org
*/
#include "SDL_config.h"
#include "SDL_mouse.h"
#include "../../events/SDL_events_c.h"
#include "SDL_svgavideo.h"
#include "SDL_svgamouse_c.h"
/* The implementation dependent data for the window manager cursor */
struct
WMcursor
{
int
unused
;
};
/* vi: set ts=4 sw=4 expandtab: */
src/video/svga/SDL_svgamouse_c.h
deleted
100644 → 0
View file @
75ed99ed
/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2010 Sam Lantinga
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Sam Lantinga
slouken@libsdl.org
*/
#include "SDL_config.h"
#include "SDL_svgavideo.h"
/* Functions to be exported */
/* vi: set ts=4 sw=4 expandtab: */
src/video/svga/SDL_svgavideo.c
deleted
100644 → 0
View file @
75ed99ed
This diff is collapsed.
Click to expand it.
src/video/svga/SDL_svgavideo.h
deleted
100644 → 0
View file @
75ed99ed
/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2010 Sam Lantinga
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Sam Lantinga
slouken@libsdl.org
*/
#include "SDL_config.h"
#ifndef _SDL_svgavideo_h
#define _SDL_svgavideo_h
#include "SDL_mouse.h"
#include "../SDL_sysvideo.h"
/* Hidden "this" pointer for the video functions */
#define _THIS SDL_VideoDevice *this
/* Private display data */
struct
SDL_PrivateVideoData
{
#define NUM_MODELISTS 4
/* 8, 16, 24, and 32 bits-per-pixel */
int
SDL_nummodes
[
NUM_MODELISTS
];
SDL_Rect
**
SDL_modelist
[
NUM_MODELISTS
];
int
*
SDL_vgamode
[
NUM_MODELISTS
];
/* information for double-buffering */
int
flip_page
;
int
flip_offset
[
2
];
Uint8
*
flip_address
[
2
];
/* Set to 1 if we're in banked video mode */
int
banked
;
};
/* Old variable names */
#define SDL_nummodes (this->hidden->SDL_nummodes)
#define SDL_modelist (this->hidden->SDL_modelist)
#define SDL_vgamode (this->hidden->SDL_vgamode)
#define flip_page (this->hidden->flip_page)
#define flip_offset (this->hidden->flip_offset)
#define flip_address (this->hidden->flip_address)
#define banked (this->hidden->banked)
#endif
/* _SDL_svgavideo_h */
/* vi: set ts=4 sw=4 expandtab: */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment