Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-17 | OPENGL: Move setFullscreenMode to OpenGLGraphicsManager. | Johannes Schickel | |
2011-03-17 | OPENGLSDL: Handle active fullscreen mode OPENGLSDL internal. | Johannes Schickel | |
2011-03-17 | OPENGLSDL: Cleanup. | 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: Always properly set the overlay dimensions in loadGFXMode. | Johannes Schickel | |
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-17 | Merge branch 'sdl-focus-rect' of https://github.com/lordhoto/scummvm | Johannes Schickel | |
Conflicts: backends/graphics/sdl/sdl-graphics.cpp | |||
2011-03-08 | WINCE: Run astyle over WinCE related event and graphics source files. | Johannes Schickel | |
2011-03-08 | WINCE: Make scummvm compile and run again for WinCE platform (patch #3202337) | Max Horn | |
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 | OPENGLSDL: Add RGB555 to the supported format list. | Johannes Schickel | |
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: Prefer single operation texture updates. | Johannes Schickel | |
When doing glTexSubImage2D we do not need to assure that the source data has the same width as the texture when we want to update the data, we just need to assure that the width * Bpp cound matches the pitch. | |||
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-24 | SDL: Use the SDL_Surface's pitch in copyRectToScreen. | Johannes Schickel | |
This fixes messed up graphics, when SDL decides to add padding bytes to the lines of an SDL_Surface. Formerly the code always calculated the pitch via w*bpp, which of course does not work in all cases. | |||
2011-02-24 | SDL: Output a warning in case the focus rect does not fit inside the screen. | Johannes Schickel | |
Sadly it seems the engines do not care whether their focus rect really fits inside the game screen. To ease finding such instances (which might cause odd clipping by the backend) I added a warning for them. | |||
2011-02-24 | SDL: Add config file variable to enable the focus rect debug code. | Johannes Schickel | |
The variable is named "use_sdl_debug_focusrect" for now. The debug code is still only enabled, when a ScummVM debug version is built though. | |||
2011-02-24 | SDL: Add a debug focus rect implementation. | Johannes Schickel | |
This implementation currently draws a rect frame around the focus rect area. | |||
2011-02-24 | SDL: Move focus rectangle dummy implementations to .cpp file. | Johannes Schickel | |
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 | OPENGLSDL: Avoid warping in warpMouse when the logical coordinates did not ↵ | Johannes Schickel | |
change. This fixes a slight move of the mouse cursor when the hardware mouse position is at a subpixel from the logical coordinates. | |||
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-19 | OPENGL: Fix documentation of OpenGLGraphicsManager::MousePos. | Johannes Schickel | |
2011-02-16 | BACKENDS: Adapt DefaultPaletteManager to setPalette/grabPalette RGBA->RGB ↵ | Johannes Schickel | |
change. | |||
2011-02-14 | OPENGL: Adapt the OpenGL module to the setPalette/grabPalette RGBA->RGB change. | Johannes Schickel | |
2011-02-14 | SDL: Adapt SDL graphics module to the setPalette/grabPalette RGBA->RGB change. | Johannes Schickel | |
2011-02-07 | BACKENDs: Fix const correctness in "null" graphics manager | Max Horn | |
svn-id: r55807 | |||
2011-02-07 | COMMON: OSystem now has a PaletteManager | Max Horn | |
svn-id: r55806 | |||
2011-01-08 | OPENGL: Skip empty texture updates. | Jordi Vilalta Prat | |
This fixes some hangs when calling the GMM while running Fascination. svn-id: r55166 | |||
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-12-03 | OPENGL: Some slight formatting fixes. | Jordi Vilalta Prat | |
svn-id: r54755 | |||
2010-12-03 | OPENGL: Fix the fullscreen mode detection when SDL accepts any resolution. | Jordi Vilalta Prat | |
svn-id: r54754 | |||
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 |