Age | Commit message (Collapse) | Author |
|
This fixes some hangs when calling the GMM while running Fascination.
svn-id: r55166
|
|
This actually still has the drawback that if one calls OSystem::updateScreen
from the sound thread that it might crash. Hopefully no code does this though...
svn-id: r54830
|
|
I added an comment explaining why OSD is broken currently. The basic problem is
that OpenGL is not thread safe, thus in case we try to display any message on
the OSD from the sound thread for example it will result in crashes.
svn-id: r54829
|
|
svn-id: r54756
|
|
svn-id: r54755
|
|
svn-id: r54734
|
|
defined (a regression from r54704)
svn-id: r54732
|
|
us :)
svn-id: r54704
|
|
OpenGL 1.2 compatibility in Windows systems
svn-id: r54700
|
|
svn-id: r54696
|
|
svn-id: r54695
|
|
svn-id: r54573
|
|
svn-id: r54545
|
|
svn-id: r54542
|
|
svn-id: r54520
|
|
svn-id: r52503
|
|
svn-id: r52502
|
|
Now the previous aspect ratio modes are handled as GFX modes. The previous
GFX modes were for scaling, but are removed now. A new 4/3 display mode
added. Added Ctrl-Shift-A for backward switching through display modes, and
Ctrl-Alt-<number key> for switching to a specific GFX mode.
Window resizing now is available for all display modes, and will
automatically change the scale factor as well as maintain the aspect ratio
when needed.
svn-id: r52501
|
|
correction. Rename _transactionDetails.needHotswap to _transactionDetails.needRefresh.
svn-id: r52054
|
|
svn-id: r52025
|
|
svn-id: r51806
|
|
svn-id: r51752
|
|
OpenGL context may be destroyed after calling SDL_SetVideoMode, so it is better to always recreate the textures.
svn-id: r51675
|
|
svn-id: r51604
|
|
svn-id: r51599
|
|
svn-id: r51592
|
|
fullscreen toggling default mode selection.
Floats can lead to calculation errors because, now uints are used and aspect ratio values are handled with a x 10000 scale.
When entering fullscreen, it will be looked for the fullscreen mode with the smallest metric that mantains the game screen aspect ratio.
svn-id: r51563
|
|
GLES). General cleanup and commenting.
svn-id: r51559
|
|
svn-id: r51552
|
|
svn-id: r51551
|
|
svn-id: r51549
|
|
OSystem_SDL will create a merged list of all graphics modes from SDL and OpenGL. When the user changes the graphics mode in options and restarts ScummVM should switch to that graphics mode in the corresponding graphics manager.
svn-id: r51493
|
|
This fixes a hack for resetting the graphics scale to x1 when starting games that have a large screen size. The SDL graphics manager should now scale back to x1 without changing the current scaler in use, as well as the OpenGL graphics manager.
svn-id: r51492
|
|
I must admit that I do not know why it does crash, but it seems that updating row by row is safer and does not makes problems.
svn-id: r51491
|
|
from float to int
svn-id: r51352
|
|
switching. Fix cursor scaling bug.
Now the hotkey Ctrl-Alt-Enter will switch between all available fullscreen modes. Alt-Enter will only switch to the best mode available, and exit fullscreen mode if already on it.
The different aspect ratios can be switched with Ctrl-Alt-A. The normal mode will stretch the contents to the screen, while other modes will stretch only one dimension to the screen size, and maintain the aspect ratio for the other dimension.
svn-id: r51346
|
|
svn-id: r51344
|
|
svn-id: r51339
|
|
svn-id: r51338
|
|
svn-id: r51300
|
|
svn-id: r51299
|
|
svn-id: r51295
|
|
svn-id: r51292
|
|
svn-id: r51291
|
|
svn-id: r51290
|
|
Removed the extra surface in GLTexture. Now there are copies of the texture data in their original format (so engine can get the original data when lockScreen or grabOverlay is called). This copies will be updated when the engine calls a function that modifies the game screen/overlay, and the textures will be marked as dirty. When updating screen, the textures will be updated from the copies data if they are dirty.
svn-id: r51234
|
|
svn-id: r51193
|
|
svn-id: r51146
|
|
svn-id: r51051
|
|
Passing a 'call statement' to CHECK_GL_ERROR has various issues.
For once, it confuses code parsers in many editors and other
tools that work with C++ source directly.
Moreover, this can lead to subtle bugs if a mistake is
made with the definition of CHECK_GL_ERROR.
It also causes incorrect warnings if CHECK_GL_ERROR is
used with an "empty" call statement.
svn-id: r51050
|