aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl.cpp
AgeCommit message (Collapse)Author
2004-12-04getFeatureState should only be allowed when we are *not* in a GFX ↵Max Horn
transaction (and not vice versa) svn-id: r15982
2004-12-01renamed a few things to match our coding guidelinesGregory Montoir
simplified OSystem_SDL destructor and move all the SDL uninitialization stuff to the quit() method made saveScreenshot() returning false on fail svn-id: r15967
2004-11-23Next step in transaction implementation. Now it postpones all calls.Eugene Sandulenko
NOTE: This breaks most ports, and they will not pass assertions. If you will fix it (by moving violating OSystem calls to go() method), I'll be grateful. If you don't bother to fix it, there is a workaround. Just comment out beginGFXTransaction() and endGFXTransaction() in backends/sdl/graphics.cpp. This will tunr it off and will use default transaction-less implementation. svn-id: r15870
2004-10-15Renamed _scaler_proc -> _scalerProc; cleaned up _scalerType handlingMax Horn
svn-id: r15563
2004-09-28Rename remaining OSystem methods to match our coding guidelinesMax Horn
svn-id: r15332
2004-07-16Applied patch #957544 to make output sample rate configurable at runtime.Torbjörn Andersson
svn-id: r14225
2004-07-16Only show gfx mode change messages in the OSD if the change was initiated by ↵Max Horn
the user; not if it was done automatically (e.g. because a 640x480 game was started and we auto-switch to 1x scaling) svn-id: r14223
2004-05-09Tweak SDL init for WinCE backendNicolas Bacca
svn-id: r13816
2004-03-28Remove explicit OSystem parameter from StackLock constructor; added ↵Max Horn
OSystem::displayMessageOnOSD (not yet used; default implementation provided) svn-id: r13413
2004-03-15Allow multi-line OSD messages; display virtual/real screen resolutions when ↵Max Horn
chaning the scaler or the aspect ratio correction svn-id: r13309
2004-03-15Renamed OSystem::set_timer() to setTimerCallback(); more OSystem Doxygen changesMax Horn
svn-id: r13289
2004-03-13Added an OSD (On Screen Display) to the SDL backendMax Horn
svn-id: r13248
2004-03-01got rid of _mouseOldState; some minor cleanupMax Horn
svn-id: r13103
2004-02-29merged OSystem_SDL and OSystem_SDL_Common; split SDL backend into multiple ↵Max Horn
source files svn-id: r13092
2004-02-28fix mouse redraw issue when toggling fullscreen mode (visible if one mode is ↵Max Horn
555 and the other 565) svn-id: r13088
2004-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
2004-02-27fix a recursive lock bug related to update_screen() (shouldn't have caused ↵Max Horn
problems on most systems, but still was a bug); rewrite the code which switches the scaler mode to be slightly more efficient svn-id: r13070
2004-02-25Revert fixme out.. as it's all fixed. :o)James Brown
svn-id: r13054
2004-02-25fix fullscreen switch code 'properly' (sorry for missing this one, folks). ↵Max Horn
Since we don't have the OpenGL variant anymore, we could now merge back the two parts of the SDL backend - and maybe split them into multiple files in a different way (events, graphics, audio, misc ?) svn-id: r13045
2004-02-24the OSystem changes we discussed on the ML (note: renaming of the existing ↵Max Horn
OSystem API is not yet finished); porters will have to fix their ports to get them to compile again svn-id: r13036
2004-02-23Allow the cursor to reach the bottom of the screen when using the keyboardTorbjörn Andersson
to control it, and aspect-ratio correction is activated. svn-id: r13009
2004-01-16Forgot this :)James Brown
svn-id: r12439
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-10-05cleanupMax Horn
svn-id: r10596
2003-10-05fixed some broken scaler related checksMax Horn
svn-id: r10595
2003-10-04use namespace Common a bit more; don't zero the RNG in scumm (else the seed ↵Max Horn
gets reset); remove obsolete 256 color blending code svn-id: r10592
2003-10-04small remarkMax Horn
svn-id: r10579
2003-09-27Fixed program crash when trying to switch to aJamieson Christian
video mode that isn't supported (such as going to fullscreen under COMI with a 3x scaler and a video card that doesn't like 1920x1440 LOL). The program still terminates when this happens, due to the suboptimal way we make the switch to another video mode. (By the time we find out that we can't make the switch, it's too late to revert back). But at least it doesn't crash. svn-id: r10449
2003-09-27added hq2x scalerMax Horn
svn-id: r10439
2003-09-21Made Ctrl-Alt 9 the hotkey for the new hq3x scaler, and moved the scanlinesTorbjörn Andersson
and dotmatrix ones to Ctrl-Alt C and Ctrl-Alt-D. (Does anyone else feel that scanlines and dotmatrix should either be rewritten so that they can be combined with any scaler and aspect ratio correction, or removed? That's why I moved them off the Ctrl-Alt <digit> hotkeys.) svn-id: r10353
2003-09-21added HQ3x filterMax Horn
svn-id: r10346
2003-09-10moved declaration of error/warning/debug from engine.h to util.hMax Horn
svn-id: r10149
2003-09-06added EVENT_SCREEN_CHANGED; small tweak to the way quit is handled in NewGuiMax Horn
svn-id: r10047
2003-08-22Add screenshot option for sdl backends, patch #590233Travis Howell
svn-id: r9821
2003-07-21part of patch #774556: fix for aspect mode + shakingMax Horn
svn-id: r9102
2003-07-20Fixed mishandling of _mode_flags that prevented the Simon games from usingTorbjörn Andersson
the DF_WANT_RECT_OPTIM flag. svn-id: r9095
2003-07-05fixed stack lock at startupMax Horn
svn-id: r8779
2003-07-03fix for bug #765402: no shaking with 1x scalerMax Horn
svn-id: r8724
2003-07-02cleanup; made mutex protection of graphics code a little bit tighter by ↵Max Horn
protecting all of method property(); moved set_palette to OSystem_SDL_Common (it was identical in both normal and GL backend) svn-id: r8717
2003-06-30Allow the 3x scaler in fullscreen mode. Since we have aspect ratioTorbjörn Andersson
correction now it can look quite different from 1x and 2x. svn-id: r8674
2003-06-22Add opengl filter optionTravis Howell
for opengl backend Enable poll_event in opengl backend svn-id: r8612
2003-06-22Patch #757827: Aspect-ratio correctionMax Horn
svn-id: r8605
2003-06-19some fixes for the GL backend - but there are still many things broken, e.g. ↵Max Horn
Ctrl-B only acts on the second (of two) GL textures (which makes the black vertical line stand out even more) svn-id: r8560
2003-06-17Make OpenGL specific scaler use other keys so all normal scaler canbe made ↵Travis Howell
available. svn-id: r8521
2003-05-28fix for the crash in Sky when switching scalersMax Horn
svn-id: r8067
2003-05-28there used to be a black border at the top/left side with the 1x scaler: fixed!Max Horn
svn-id: r8065
2003-05-14ouchMax Horn
svn-id: r7511
2003-05-14fixed bug where SDL_CreateMutex was being called before SDL_Init; ↵Max Horn
restructured code a little svn-id: r7510
2003-05-09Patch #735294: AdvMame3x scalerMax Horn
svn-id: r7409
2003-04-30moved screen mutex from smush into SDL backend (other backends have to make ↵Max Horn
sure they are thread safe by themselves) svn-id: r7230