Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-20 | ALL: Remove trailing whitespaces | Max Horn | |
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//' | |||
2011-06-19 | OPENGL: Clarify OSD rect color in a comment. | Johannes Schickel | |
2011-06-19 | OPENGL: Formatting fixes. | Johannes Schickel | |
2011-06-06 | OSYSTEM: displayMessageOnOSD() now accepts non-ASCII strings | Thierry Crozat | |
It should now accept strings encoded using the current TranslationManaged charset (e.g. translated text). | |||
2011-06-06 | GRAPHICS: Get rid of kSODFont (ScummFont) | Thierry Crozat | |
OSD is now using the kGUIFont instead. The main advantage is that the kGUIFont can be used for translated text while only ASCII characters were present in ScummFont. | |||
2011-06-04 | BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls | Max Horn | |
2011-06-04 | COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette | Max Horn | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-01 | Merge pull request #16 "Add a PixelFormat to Graphics::Surface.". | Johannes Schickel | |
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp | |||
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-17 | OPENGL: Do not access Surface::bytesPerPixel anymore. | Johannes Schickel | |
2011-04-17 | BACKEND: Prefer Surface::create taking a PixelFormat over the one taking a ↵ | Johannes Schickel | |
byte depth. | |||
2011-03-21 | OPENGL: Fix mouse cursor position in Normal mode when AR is enabled. | Johannes Schickel | |
2011-03-20 | OPENGL: Get rid of unused switchDisplayMode. | Johannes Schickel | |
2011-03-20 | OPENGL: Handle aspect ratio correction as flag instead of having a special ↵ | Johannes Schickel | |
mode for it. This partly fixes the OpenGL mode mess, but now OpenGL Normal and OpenGL Conserve will feature the same semantics when aspect ratio correction is enabled... That is still something to solve. | |||
2011-03-17 | OPENGL: Fix screenshots when the display width is not divisible by 4. | Johannes Schickel | |
2011-03-17 | OPENGL: Setup the correct header size for BMP screenshots. | Johannes Schickel | |
This fixes an color bug in the resulting screenshots. | |||
2011-03-17 | OPENGL: Cleanup switchDisplayMode. | Johannes Schickel | |
2011-03-17 | OPENGL: Move setFullscreenMode to OpenGLGraphicsManager. | Johannes Schickel | |
2011-03-17 | OPENGL: Make setScale non-virtual. | Johannes Schickel | |
2011-03-17 | OPENGL: Get rid of _aspectRatioCorrection. | Johannes Schickel | |
2011-03-17 | OPENGL: Slight refactoring. | Johannes Schickel | |
First step into making all state variables of the OpenGL backend private, to help making the backend more maintainable, by disallowing subclasses to just mess with everything... | |||
2011-03-17 | OPENGL: Fix compilation when USE_OSD is not defined. | Johannes Schickel | |
2011-03-17 | OPENGL: Update the OSD texture when visible while the output mode changes. | Johannes Schickel | |
This fixes annoying graphics glitches, which occured sometimes when resizing the Window. | |||
2011-03-17 | OPENGL: Fix "Original" mode by setting up the corret screen dimensions. | Johannes Schickel | |
2011-03-17 | OPENGL: Refactor warpMouse. | Johannes Schickel | |
Now subclasses will not need to worry about the scaling logic themselves, but just need to implement setInternalMousePosition, which should handles setting the system's mouse coordinates. | |||
2011-03-06 | OPENGL: Fix compilation for --disable-16bit | dhewg | |
2011-03-01 | OPENGL: Limit maximum cursor scale. | Johannes Schickel | |
This avoids too big cursors when the screen resolution is really high. | |||
2011-03-01 | OPENGL(SDL): Use the whole window/screen size for the overlay. | Johannes Schickel | |
This makes the overlay looking nicer in fullscreen mode. | |||
2011-02-26 | OPENGL: Fix 16bit cursors | dhewg | |
2011-02-25 | OPENGL: Reset the scale on mode changes | dhewg | |
Resets defaultTo1XScaler when going back to the launcher | |||
2011-02-25 | OPENGL: Cleanup cursor refresh code a bit. | Johannes Schickel | |
2011-02-25 | OPENGL: Implement support for non CLUT8 cursor. | Johannes Schickel | |
Currently all the cursor data is converted to RGBA8888 to allow for easy colorkeying. | |||
2011-02-25 | OPENGL: Add support for RGB555 output format. | Johannes Schickel | |
2011-02-24 | OPENGL: Set _gameTexture to 0 after deleting it. | Johannes Schickel | |
This fixes a segfault when trying to use the OpenGL backend with 16bpp games, however this does not make Last Express nor Loom PC-Engine Japanese work for me. They now fail with a "Pixel format not supported" error. | |||
2011-02-24 | OPENGL: Properly setup pixel data alignment. | Johannes Schickel | |
If we do not do this, we might end up with a default alignment of 4, which will fail (as in the graphics will be messed up) in case the screen resolution is not divisible by 4. Thanks to digitall for noticing this problem and finding out about GL_UNPACK_ALIGNMENT. | |||
2011-02-19 | Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into ↵ | Johannes Schickel | |
master Conflicts: backends/platform/android/android.cpp engines/sci/graphics/screen.cpp engines/sci/graphics/transitions.cpp | |||
2011-02-19 | OPENGL: Get rid of adjustMouseEvent. | Johannes Schickel | |
Rather than that I introduced a function which converts hardware screen coordinates to overlay / game screen coordinates. The logic which converts mouse movement events with hardware screen coordinates to overlay / game screen coordinates is now inside notifyEvent. This is still broken design, since one should not abuse an observer for that. | |||
2011-02-14 | OPENGL: Adapt the OpenGL module to the setPalette/grabPalette RGBA->RGB change. | Johannes Schickel | |
2010-12-08 | OPENGL: Fix OSD support by only updating the OSD texture in internUpdateScreen. | Johannes Schickel | |
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 | |||
2010-12-08 | OPENGL: Disable OSD support for now. | Johannes Schickel | |
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 | |||
2010-12-03 | OPENGLES: Fix the projection matrix and the includes. | Jordi Vilalta Prat | |
svn-id: r54756 | |||
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: 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 |