Hopefully glSDL has been superceded by the OpenGL render driver.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401988
This commit is contained in:
parent
7a4007d93d
commit
bd9931afdd
9 changed files with 0 additions and 2534 deletions
20
configure.in
20
configure.in
|
@ -1486,20 +1486,6 @@ CheckMacGL()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
dnl Find glSDL
|
|
||||||
CheckglSDL()
|
|
||||||
{
|
|
||||||
AC_ARG_ENABLE(video-glsdl,
|
|
||||||
[ --enable-video-glsdl use glSDL video driver [default=yes]],
|
|
||||||
, enable_video_glsdl=yes)
|
|
||||||
AC_MSG_CHECKING(for glSDL support)
|
|
||||||
AC_MSG_RESULT($video_opengl)
|
|
||||||
if test x$video_opengl = xyes -a x$enable_video_glsdl = xyes; then
|
|
||||||
AC_DEFINE(SDL_VIDEO_DRIVER_GLSDL)
|
|
||||||
SOURCES="$SOURCES $srcdir/src/video/glsdl/*.c"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
dnl Check for Mesa offscreen rendering
|
dnl Check for Mesa offscreen rendering
|
||||||
CheckAtariOSMesa()
|
CheckAtariOSMesa()
|
||||||
{
|
{
|
||||||
|
@ -2106,7 +2092,6 @@ case "$host" in
|
||||||
CheckQtopia
|
CheckQtopia
|
||||||
CheckPicoGUI
|
CheckPicoGUI
|
||||||
CheckOpenGLX11
|
CheckOpenGLX11
|
||||||
CheckglSDL
|
|
||||||
CheckInputEvents
|
CheckInputEvents
|
||||||
CheckTslib
|
CheckTslib
|
||||||
CheckUSBHID
|
CheckUSBHID
|
||||||
|
@ -2205,7 +2190,6 @@ case "$host" in
|
||||||
CheckPHOTON
|
CheckPHOTON
|
||||||
CheckX11
|
CheckX11
|
||||||
CheckOpenGLX11
|
CheckOpenGLX11
|
||||||
CheckglSDL
|
|
||||||
CheckPTHREAD
|
CheckPTHREAD
|
||||||
# Set up files for the audio library
|
# Set up files for the audio library
|
||||||
if test x$enable_audio = xyes; then
|
if test x$enable_audio = xyes; then
|
||||||
|
@ -2243,7 +2227,6 @@ case "$host" in
|
||||||
CheckDummyAudio
|
CheckDummyAudio
|
||||||
CheckWIN32
|
CheckWIN32
|
||||||
CheckWIN32GL
|
CheckWIN32GL
|
||||||
CheckglSDL
|
|
||||||
CheckDIRECTX
|
CheckDIRECTX
|
||||||
CheckNASM
|
CheckNASM
|
||||||
# Set up files for the video library
|
# Set up files for the video library
|
||||||
|
@ -2328,7 +2311,6 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
||||||
CheckNASM
|
CheckNASM
|
||||||
CheckBWINDOW
|
CheckBWINDOW
|
||||||
CheckBeGL
|
CheckBeGL
|
||||||
CheckglSDL
|
|
||||||
# Set up files for the audio library
|
# Set up files for the audio library
|
||||||
if test x$enable_audio = xyes; then
|
if test x$enable_audio = xyes; then
|
||||||
AC_DEFINE(SDL_AUDIO_DRIVER_BAUDIO)
|
AC_DEFINE(SDL_AUDIO_DRIVER_BAUDIO)
|
||||||
|
@ -2409,7 +2391,6 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
||||||
CheckX11
|
CheckX11
|
||||||
CheckMacGL
|
CheckMacGL
|
||||||
CheckOpenGLX11
|
CheckOpenGLX11
|
||||||
CheckglSDL
|
|
||||||
CheckPTHREAD
|
CheckPTHREAD
|
||||||
CheckAltivec
|
CheckAltivec
|
||||||
|
|
||||||
|
@ -2463,7 +2444,6 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
||||||
CheckAtariAudio
|
CheckAtariAudio
|
||||||
CheckAtariLdg
|
CheckAtariLdg
|
||||||
CheckAtariOSMesa
|
CheckAtariOSMesa
|
||||||
CheckglSDL
|
|
||||||
CheckPTH
|
CheckPTH
|
||||||
# Set up files for the audio library
|
# Set up files for the audio library
|
||||||
if test x$enable_threads = xyes -a x$enable_pth = xyes; then
|
if test x$enable_threads = xyes -a x$enable_pth = xyes; then
|
||||||
|
|
|
@ -262,7 +262,6 @@
|
||||||
#undef SDL_VIDEO_DRIVER_GAPI
|
#undef SDL_VIDEO_DRIVER_GAPI
|
||||||
#undef SDL_VIDEO_DRIVER_GEM
|
#undef SDL_VIDEO_DRIVER_GEM
|
||||||
#undef SDL_VIDEO_DRIVER_GGI
|
#undef SDL_VIDEO_DRIVER_GGI
|
||||||
#undef SDL_VIDEO_DRIVER_GLSDL
|
|
||||||
#undef SDL_VIDEO_DRIVER_IPOD
|
#undef SDL_VIDEO_DRIVER_IPOD
|
||||||
#undef SDL_VIDEO_DRIVER_NANOX
|
#undef SDL_VIDEO_DRIVER_NANOX
|
||||||
#undef SDL_VIDEO_DRIVER_OS2FS
|
#undef SDL_VIDEO_DRIVER_OS2FS
|
||||||
|
|
|
@ -73,7 +73,6 @@
|
||||||
/* Enable various video drivers */
|
/* Enable various video drivers */
|
||||||
#define SDL_VIDEO_DRIVER_CYBERGRAPHICS 1
|
#define SDL_VIDEO_DRIVER_CYBERGRAPHICS 1
|
||||||
#define SDL_VIDEO_DRIVER_DUMMY 1
|
#define SDL_VIDEO_DRIVER_DUMMY 1
|
||||||
#define SDL_VIDEO_DRIVER_GLSDL 1
|
|
||||||
|
|
||||||
/* Enable OpenGL support */
|
/* Enable OpenGL support */
|
||||||
#define SDL_VIDEO_OPENGL 1
|
#define SDL_VIDEO_OPENGL 1
|
||||||
|
|
|
@ -102,6 +102,5 @@ typedef unsigned long uintptr_t;
|
||||||
/* Enable various video drivers */
|
/* Enable various video drivers */
|
||||||
#define SDL_VIDEO_DRIVER_DC 1
|
#define SDL_VIDEO_DRIVER_DC 1
|
||||||
#define SDL_VIDEO_DRIVER_DUMMY 1
|
#define SDL_VIDEO_DRIVER_DUMMY 1
|
||||||
#define SDL_VIDEO_DRIVER_GLSDL 1
|
|
||||||
|
|
||||||
#endif /* _SDL_config_dreamcast_h */
|
#endif /* _SDL_config_dreamcast_h */
|
||||||
|
|
|
@ -104,7 +104,6 @@ typedef unsigned long uintptr_t;
|
||||||
/* Enable various video drivers */
|
/* Enable various video drivers */
|
||||||
#define SDL_VIDEO_DRIVER_DUMMY 1
|
#define SDL_VIDEO_DRIVER_DUMMY 1
|
||||||
#define SDL_VIDEO_DRIVER_DRAWSPROCKET 1
|
#define SDL_VIDEO_DRIVER_DRAWSPROCKET 1
|
||||||
#define SDL_VIDEO_DRIVER_GLSDL 1
|
|
||||||
#define SDL_VIDEO_DRIVER_TOOLBOX 1
|
#define SDL_VIDEO_DRIVER_TOOLBOX 1
|
||||||
|
|
||||||
/* Enable OpenGL support */
|
/* Enable OpenGL support */
|
||||||
|
|
|
@ -378,9 +378,6 @@ extern VideoBootStrap AALIB_bootstrap;
|
||||||
#if SDL_VIDEO_DRIVER_DUMMY
|
#if SDL_VIDEO_DRIVER_DUMMY
|
||||||
extern VideoBootStrap DUMMY_bootstrap;
|
extern VideoBootStrap DUMMY_bootstrap;
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_GLSDL
|
|
||||||
extern VideoBootStrap glSDL_bootstrap;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define SDL_CurrentDisplay (_this->displays[_this->current_display])
|
#define SDL_CurrentDisplay (_this->displays[_this->current_display])
|
||||||
|
|
||||||
|
|
|
@ -126,9 +126,6 @@ static VideoBootStrap *bootstrap[] = {
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_DUMMY
|
#if SDL_VIDEO_DRIVER_DUMMY
|
||||||
&DUMMY_bootstrap,
|
&DUMMY_bootstrap,
|
||||||
#endif
|
|
||||||
#if SDL_VIDEO_DRIVER_GLSDL
|
|
||||||
&glSDL_bootstrap,
|
|
||||||
#endif
|
#endif
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,39 +0,0 @@
|
||||||
/*
|
|
||||||
SDL - Simple DirectMedia Layer
|
|
||||||
Copyright (C) 1997-2006 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"
|
|
||||||
|
|
||||||
/*
|
|
||||||
* glSDL "SDL-over-OpenGL" video driver implemented by
|
|
||||||
* David Olofson <david@olofson.net> and
|
|
||||||
* Stephane Marchesin <stephane.marchesin@wanadoo.fr>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SDL_gl_h
|
|
||||||
#define _SDL_gl_h
|
|
||||||
|
|
||||||
#include "../SDL_sysvideo.h"
|
|
||||||
|
|
||||||
/* Hidden "this" pointer for the video functions */
|
|
||||||
#define _THIS SDL_VideoDevice *this
|
|
||||||
|
|
||||||
#endif /* _SDL_gl_h */
|
|
||||||
/* vi: set ts=4 sw=4 expandtab: */
|
|
Loading…
Add table
Add a link
Reference in a new issue