aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
AgeCommit message (Collapse)Author
2010-07-15Fixed doing OpenGL calls before a graphical context was created.Alejandro Marzini
svn-id: r50905
2010-07-13Check if USE_OPENGL is defined for compiling OpenGL code.Alejandro Marzini
svn-id: r50842
2010-07-12Get rid of yet another global object with constructorMax Horn
svn-id: r50835
2010-07-12SDL: Tweak OSystem_SDL::detectSupportedFormats a bitMax Horn
Previously, the code in OSystem_SDL::detectSupportedFormats assumed that the arrays RGBList and BGRList had the exact same length, and that the entries in each mirrored those in the other 100%. Instead of relying on that, the code now simply iterates over both lists separately. This changes the resulting order a bit, but since we never gave any guarantees on that, this should not matter. svn-id: r50833
2010-07-12SDL: Overhaul OSystem_SDL::getSupportedFormatsMax Horn
* Do not use global constructor for the RGBList and BGRList tables anymore, by moving them inside a function. * Update the list of supported formats if the hardware screen surface changes. Previously, the list of supported pixel formats (and its order) was computed only once and then never changed. svn-id: r50832
2010-07-11Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public ↵Alejandro Marzini
SDL graphics manager functions to graphics manager (Allowing OpenGLSdlGraphicsMaanger to be used with other SDL managers easily). Removed BaseSdlGraphicsManager. Implemented in the opengl manager basic screen functions. svn-id: r50796
2010-07-10Added BaseSdlGraphicsManager. Added GLTexture. Alejandro Marzini
svn-id: r50795
2010-07-03Cleanup and documentation.Alejandro Marzini
svn-id: r50610
2010-07-02Cleanup and documentation.Alejandro Marzini
svn-id: r50589
2010-06-30Modularized GP2XWIZ backend.Alejandro Marzini
svn-id: r50514
2010-06-29Override setupIcon() for both Mac OS X and SymbianOS, they have their own icons.Matthew Hoops
svn-id: r50476
2010-06-29Updated makefile. Fixed compile errors.Alejandro Marzini
svn-id: r50475
2010-06-29Modularized Linuxmoto port.Alejandro Marzini
svn-id: r50474
2010-06-28Renamed BufferingSDLMixerManager to DoubleBufferSDLMixerManager.Alejandro Marzini
svn-id: r50458
2010-06-27Fixed String conversion error.Alejandro Marzini
svn-id: r50370
2010-06-27Improved getDefaultConfigFileName(). Code cleanup.Alejandro Marzini
svn-id: r50364
2010-06-26Define WIN32_LEAN_AND_MEAN before including windows.h.Johannes Schickel
This will cause our code to include less functionality, but might on the other hand fasten up the compilation. svn-id: r50346
2010-06-26Removed unused function, fixing a linker error.Alejandro Marzini
svn-id: r50343
2010-06-26GUI: Add and improve some messages to translateJordi Vilalta Prat
svn-id: r50324
2010-06-26Removed DEFAULT_CONFIG_FILE define in favor of new getConfigFileNameString ↵Alejandro Marzini
function. svn-id: r50301
2010-06-25Modularized Samsung TV port.Alejandro Marzini
svn-id: r50258
2010-06-25Fix linking on Mac OS X.Matthew Hoops
svn-id: r50256
2010-06-25Fix link error with duplicated name files.Alejandro Marzini
svn-id: r50255
2010-06-24Fix compile on Mac OS X (and probably *nix systems).Matthew Hoops
svn-id: r50254
2010-06-24Added missing header.Alejandro Marzini
svn-id: r50253
2010-06-24Created macosx port from sdl backend.Alejandro Marzini
svn-id: r50228
2010-06-24Added a init function to OSystem_SDL for early backend setup, and so ↵Alejandro Marzini
allowing better sub classing. svn-id: r50224
2010-06-24Refactored SDL mixer manager. Created a SdlMixerManager subclass for Mac OSX.Alejandro Marzini
svn-id: r50198
2010-06-23Fixed Posix port problem with destructor and configure.Alejandro Marzini
svn-id: r50194
2010-06-23Relocated Win32 and Posix ports. (Part 2)Alejandro Marzini
svn-id: r50193
2010-06-23Relocated Win32 and Posix ports. (Part 1)Alejandro Marzini
svn-id: r50191
2010-06-23Fixed AudioCDManager not having a public inheritance. Backend code cleanup.Alejandro Marzini
svn-id: r50189
2010-06-22Created posix port subclassed from sdl backend. Removed unnecessary #include ↵Alejandro Marzini
in win32.cpp svn-id: r50173
2010-06-20Created win32 port from sdl backend.Alejandro Marzini
svn-id: r50103
2010-06-20Removed getMillis, delayMillis and getTimeAndDate functions from TimerManager.Alejandro Marzini
svn-id: r50095
2010-06-16Fix for Valgrind Uninitialised Error from SDL_Event in sdl backend and ↵David Turner
derived backends. svn-id: r49902
2010-06-15SDL: only change mouse cursor, when mouse is currently within our window, ↵Martin Kiewitz
also enable mouse position changing again for SCI svn-id: r49866
2010-06-15SYSTEM: Unify OSystem::getSupportedFormats() signatureMax Horn
svn-id: r49838
2010-06-15Improved ModularBackend and OSystem_SDL destructors.Alejandro Marzini
svn-id: r49679
2010-06-13Added SdlTimerManager. Added getMillis, delayMillis and getTimeAndDate to ↵Alejandro Marzini
Common::TimerManager, DefaultTimerManager and ModularBackend. Removed timer code from OSystem_SDL. svn-id: r49637
2010-06-13Updated makefiles.Alejandro Marzini
svn-id: r49636
2010-06-13Added SdlEventManager.Alejandro Marzini
svn-id: r49635
2010-06-12Created SdlMixerImpl. Added setSampleRate method to Audio::MixerImpl. ↵Alejandro Marzini
Updated and removed mixer code in OSystem_SDL for using SdlMixerImpl. svn-id: r49602
2010-06-11Fixed compilation error on Mac.Alejandro Marzini
svn-id: r49600
2010-06-11Add Common::EventSource inheritance for ModularBackend. OSystem_SDL now ↵Alejandro Marzini
subclass from ModularBackend insteand of BaseBackend. Added forceFullRedraw() to SdlGraphicsManager and removed _modeChanged. svn-id: r49590
2010-06-10Made creation of SdlMutexManager earlier than other modules.Alejandro Marzini
svn-id: r49555
2010-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem. - Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL. svn-id: r49548
2010-06-07Moved toggleMouseGrab from SdlGraphicsManager. Disabled some code, will fix ↵Alejandro Marzini
later. Added code for access for moved variables and functions in SdlGraphicsManager. svn-id: r49475
2010-06-07Removed old subsystems design files. Removed graphics.cppAlejandro Marzini
svn-id: r49474
2010-06-07Removed code that is now in managers. Added mutex and graphics manager ↵Alejandro Marzini
initialization and functions redirections. svn-id: r49473