Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-12-02 | OPENGL: Fix compilation when OpenGL error checks are enabled. | Jordi Vilalta Prat | |
svn-id: r54734 | |||
2010-12-02 | OPENGL: Fixed flawed include file logic in gltexture.h, when USE_GLES is ↵ | Filippos Karapetis | |
defined (a regression from r54704) svn-id: r54732 | |||
2010-12-01 | BACKENDS: Simplify the inclusion of gl.h. SDL has already simplified it for ↵ | Filippos Karapetis | |
us :) svn-id: r54704 | |||
2010-12-01 | BACKENDS: Use SDL_opengl.h instead of the nonstandard glext.h to ensure ↵ | Filippos Karapetis | |
OpenGL 1.2 compatibility in Windows systems svn-id: r54700 | |||
2010-12-01 | Fix mingw compile. | Travis Howell | |
svn-id: r54696 | |||
2010-12-01 | OpenGL: remove unnecessary glext.h include | Joost Peters | |
svn-id: r54695 | |||
2010-11-29 | BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs | Max Horn | |
svn-id: r54573 | |||
2010-11-28 | OPENGL: Fix OpenGL on Mac OS X | Max Horn | |
svn-id: r54545 | |||
2010-11-28 | OPENGL: Modify source files to force recompilation | Max Horn | |
svn-id: r54542 | |||
2010-11-28 | OPENGL: cleanup | Max Horn | |
svn-id: r54520 | |||
2010-09-03 | SDL/OPENGL: Fix backend initialization when building with ENABLE_VKEYBD. | Alejandro Marzini | |
svn-id: r52503 | |||
2010-09-03 | OPENGL: Fix enable aspect ratio feature. | Alejandro Marzini | |
svn-id: r52502 | |||
2010-09-03 | OPENGL: Improve scaling, aspect ratio correction and display(GFX) modes. | Alejandro Marzini | |
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 | |||
2010-08-13 | OPENGL: Remove unnecessary aspect ratio corrections, and add "Original Size" ↵ | Alejandro Marzini | |
correction. Rename _transactionDetails.needHotswap to _transactionDetails.needRefresh. svn-id: r52054 | |||
2010-08-12 | OPENGL: Fix problem when switching between SDL and OpenGL Graphics Managers. | Alejandro Marzini | |
svn-id: r52025 | |||
2010-08-06 | OPENGL: Add 5/3 and 5/4 aspect ratio corrections. | Alejandro Marzini | |
svn-id: r51806 | |||
2010-08-05 | OPENGL: Improve aspect ratio correction mode selection. | Alejandro Marzini | |
svn-id: r51752 | |||
2010-08-03 | OPENGL: Refresh OpenGL textures on all loadGFX() calls. | Alejandro Marzini | |
OpenGL context may be destroyed after calling SDL_SetVideoMode, so it is better to always recreate the textures. svn-id: r51675 | |||
2010-08-02 | OPENGL: Save last fullscreen mode size to config file. | Alejandro Marzini | |
svn-id: r51604 | |||
2010-08-01 | OPENGL: By default only enable None, Conserve and 4/3 aspect ratio corrections. | Alejandro Marzini | |
svn-id: r51599 | |||
2010-08-01 | Fix warnings. | Alejandro Marzini | |
svn-id: r51592 | |||
2010-08-01 | OPENGL: Remove use of floats for aspect ratio correction. Improved ↵ | Alejandro Marzini | |
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 | |||
2010-07-31 | OPENGL: Add support for BGR and rgb(a) reversed formats (Not available for ↵ | Alejandro Marzini | |
GLES). General cleanup and commenting. svn-id: r51559 | |||
2010-07-31 | OPENGL: For GLES, add glOrthox and do not use GL_BGR. | Alejandro Marzini | |
svn-id: r51552 | |||
2010-07-31 | Add OpenGL dependencies to MinGW configure. | Alejandro Marzini | |
svn-id: r51551 | |||
2010-07-31 | OPENGL: Fix texture updating. | Alejandro Marzini | |
svn-id: r51549 | |||
2010-07-30 | SDL/OPENGL: Add ability to switch between SDL and OpenGL graphics managers. | Alejandro Marzini | |
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 | |||
2010-07-30 | OSYSTEM: Add resetGraphicsScale() method. | Alejandro Marzini | |
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 | |||
2010-07-30 | OPENGL: Fix crash on Broken Sword 2 when refreshing screen. | Alejandro Marzini | |
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 | |||
2010-07-27 | Fix warnings about cast removing constness, and about implict conversion ↵ | Max Horn | |
from float to int svn-id: r51352 | |||
2010-07-27 | OPENGL: Implement aspect ratio support and toggling. Improve fullscreen ↵ | Alejandro Marzini | |
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 | |||
2010-07-27 | OPENGL: Add shake effect. | Alejandro Marzini | |
svn-id: r51344 | |||
2010-07-27 | OPENGL: Fix cursor scaling in overlay. | Alejandro Marzini | |
svn-id: r51339 | |||
2010-07-27 | OPENGL: Commenting. | Alejandro Marzini | |
svn-id: r51338 | |||
2010-07-26 | Formatted spaces. | Alejandro Marzini | |
svn-id: r51300 | |||
2010-07-26 | OPENGL: Implement saveScreenshot(). | Alejandro Marzini | |
svn-id: r51299 | |||
2010-07-26 | OPENGL: Add OSD message. | Alejandro Marzini | |
svn-id: r51295 | |||
2010-07-26 | OPENGL: Do not allow changing to a not supported scale while on fullscreen. | Alejandro Marzini | |
svn-id: r51292 | |||
2010-07-26 | OPENGL: Add cursor scaling. | Alejandro Marzini | |
svn-id: r51291 | |||
2010-07-26 | OPENGL: Fixed alpha problem with overlay RGBA5551 format. | Alejandro Marzini | |
svn-id: r51290 | |||
2010-07-24 | OPENGL: Redesign blitting system. Add basics for aspect correction. | Alejandro Marzini | |
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 | |||
2010-07-23 | OPENGL: Add basic game screen drawing. Changed Overlay PixelFormat to RGBA5551. | Alejandro Marzini | |
svn-id: r51193 | |||
2010-07-22 | OPENGL: Add antialiasing, hotkey: ctrl+alt+f. Fixed minor bugs. | Alejandro Marzini | |
svn-id: r51146 | |||
2010-07-20 | Fix warning about float->int conversion | Max Horn | |
svn-id: r51051 | |||
2010-07-20 | Change CHECK_GL_ERROR to not take a 'call statement' as parameter | Max Horn | |
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 | |||
2010-07-20 | OPENGL: Implement fullscreen mode. | Alejandro Marzini | |
svn-id: r51049 | |||
2010-07-19 | OPENGL: Fix adjustment of mouse coordinates when screen is resized and scaled. | Alejandro Marzini | |
svn-id: r51046 | |||
2010-07-19 | OPENGL: Add basic scaler handle. | Alejandro Marzini | |
svn-id: r51016 | |||
2010-07-19 | OPENGL: Fix issue when GFX changes. | Alejandro Marzini | |
svn-id: r51013 | |||
2010-07-19 | OPENGL: Fix palette issues. | Alejandro Marzini | |
svn-id: r51012 |