SDL 1 with rpi fixes / dispmanx
  • C 83.2%
  • C++ 6%
  • Shell 4.2%
  • Objective-C 3.8%
  • Assembly 1.1%
  • Other 1.6%
Find a file
Jools Wills 94cf920514 Allow overriding of dispmanx layer width / height via env variables
This is useful as graphics_get_display_size always returns 0 for width/height on fkms, and without these
values it won't be able to scale with the correct aspect ratio and support the aspect ratio adjustment var.

Used SDL_DISPMANX_WIDTH and SDL_DISPMANX_HEIGHT which we can set via runcommand for fkms targets
2020-08-09 05:57:46 +01:00
acinclude initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
build-scripts initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
docs initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
include added dispmanx support to sdl - enabled by changing env SDL1_VIDEODRIVER to "dispmanx". By default it still outputs 2015-02-12 09:21:09 +00:00
src Allow overriding of dispmanx layer width / height via env variables 2020-08-09 05:57:46 +01:00
test initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
VisualC initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
VisualCE initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
Xcode initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
autogen.sh initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
Borland.html initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
Borland.zip initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
BUGS initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
configure.in added dispmanx support to sdl - enabled by changing env SDL1_VIDEODRIVER to "dispmanx". By default it still outputs 2015-02-12 09:21:09 +00:00
COPYING initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
CREDITS initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
CWprojects.sea.bin initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
docs.html initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
INSTALL initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
Makefile.dc initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
Makefile.in initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
Makefile.minimal initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
MPWmake.sea.bin initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README-SDL.txt initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.AmigaOS initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.BeOS initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.DC initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.HG initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.MacOS initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.MacOSX initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.MiNT initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.NanoX initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.NDS initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.OS2 initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.PicoGUI initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.Porting initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.PS3 initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.QNX initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.Qtopia initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.RISCOS initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.Symbian initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.Watcom initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.WinCE initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
README.wscons initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
sdl-config.in initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
sdl.m4 initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
sdl.pc.in initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
SDL.qpg.in initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
SDL.spec initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
SDL.spec.in initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
symbian.zip initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
TODO initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
VisualC.html initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
Watcom-OS2.zip initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
Watcom-Win32.zip initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00
WhatsNew initial check-in of SDL 1.2.15 2015-02-12 09:17:48 +00:00

                         Simple DirectMedia Layer

                                  (SDL)

                                Version 1.2

---
http://www.libsdl.org/

This is the Simple DirectMedia Layer, a general API that provides low
level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL,
and 2D framebuffer across multiple platforms.

The current version supports Linux, Windows CE/95/98/ME/XP/Vista, BeOS,
MacOS Classic, Mac OS X, FreeBSD, NetBSD, OpenBSD, BSD/OS, Solaris, IRIX,
and QNX.  The code contains support for Dreamcast, Atari, AIX, OSF/Tru64,
RISC OS, SymbianOS, Nintendo DS, and OS/2, but these are not officially
supported.

SDL is written in C, but works with C++ natively, and has bindings to
several other languages, including Ada, C#, Eiffel, Erlang, Euphoria,
Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP,
Pike, Pliant, Python, Ruby, and Smalltalk.

This library is distributed under GNU LGPL version 2, which can be
found in the file  "COPYING".  This license allows you to use SDL
freely in commercial programs as long as you link with the dynamic
library.

The best way to learn how to use SDL is to check out the header files in
the "include" subdirectory and the programs in the "test" subdirectory.
The header files and test programs are well commented and always up to date.
More documentation is available in HTML format in "docs/index.html", and
a documentation wiki is available online at:
	http://www.libsdl.org/cgi/docwiki.cgi

The test programs in the "test" subdirectory are in the public domain.

Frequently asked questions are answered online:
	http://www.libsdl.org/faq.php

If you need help with the library, or just want to discuss SDL related
issues, you can join the developers mailing list:
	http://www.libsdl.org/mailing-list.php

Enjoy!
	Sam Lantinga				(slouken@libsdl.org)