summaryrefslogtreecommitdiff
path: root/test/configure
AgeCommit message (Collapse)AuthorFilesLines
2012-01-22Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2Sam Lantinga1-55/+281
--HG-- rename : sdl-config.in => sdl2-config.in rename : sdl.m4 => sdl2.m4 rename : sdl.pc.in => sdl2.pc.in
2012-01-08Fixed bug 1242 - PATCH: Improve support for OpenGL ES under X11Sam Lantinga1-8/+7
Scott Percival 2011-07-03 06:41:51 PDT This submission is aimed at making life easier for OpenGL ES capable devices running a X11 stack (e.g. Maemo, Meego, TrimSlice, other ARM SoC boards not running Android). SDL's Pandora support already has the neccesary GLES-to-X11 glue code, however it's all ghetto'd off in Makefile.pandora and not very flexible. The patch: - adds an awesome --enable-video-opengles option to configure - re-modifies the opengles and opengles2 SDL_renderers to use function pointers - no idea why this was removed? - for SDL_Renderers, links in libGLESv1_CM, libGLES_CM (for PowerVR fans) or libGLESv2 at runtime - links in libEGL.so at runtime - the old code made an assumption that eglFunctions could be pulled from the active GLES library, PowerVR for one doesn't let you do that with their libGLESv2 - allows you to pick which of GLES v1 or v2 to load via SDL_GL_CONTEXT_MAJOR_VERSION So far I've tested this on a Nokia N900 (OMAP 3430/SGX 530 running Maemo 5) and a Toshiba AC100 (Tegra 2 running Ubuntu 10.10). I haven't tested it on... well, everything that isn't those two, such as a Pandora, iOS or Android device. The Pandora specific code should be kept intact (fingers crossed), and nothing painfully drastic has been added to the SDL_renderers. The library loading sequence in SDL_x11opengles has been updated to accomodate both NVIDIA's propensity to let developers get away with murder and PowerVR's alternative of punishing every missed step. The test apps work okay with GLES or GLES2 as the renderer. For some reason alpha blending doesn't seem to work on the Tegra 2; last week NVIDIA pushed out a new set of X11 GLES drivers, so I'll try and investigate once I upgrade those. Also, this patch adds things to configure.in, include/SDL_config.h.in and test/configure.in. I didn't know what the policy was re. committing generated spaghetti from autotools, so ./autogen.sh has to be run again. Sorry. I think that's about everything, let me know if there's anything I've overlooked.
2011-12-05Backed out most of changeset 4b88086910d3, at Andreas's request.Ryan C. Gordon1-1762/+1851
2011-12-05Fix buildbot sdl-macosx-unix-x86 and sdl-macosx-amd64 compiler warningsAndreas Schiffler1-1851/+1762
2011-10-19Updated from configure.inSam Lantinga1-1727/+1839
2011-09-09Removed legacy Mac OS X dlcompat code.Ryan C. Gordon1-130/+152
It was only needed for Mac OS X 10.0 through 10.2, so it seems silly to keep it around for SDL 1.3. I'll leave it in the 1.2 branch for now, though.
2011-05-26Fixed global suite declaration segfault via external linkage declarationAndreas Schiffler1-1812/+1678
2011-02-16Made it possible to build SDL from a fresh checkout without any additional ↵Sam Lantinga1-0/+4908
steps. The trick is that if you're using configure and you don't want to have SDL_config.h and SDL_revision.h to show up as modified, you need to configure and build from a separate directory. You also need to include SDL_revision.h directly if you want to use the SDL_REVISION constant, as a side effect of these changes. --HG-- rename : include/SDL_config.h.default => include/SDL_config.h