Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-05-02 | ALL: Mark printf and various other symbols as forbidden | Max Horn | |
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error | |||
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-29 | JANITORIAL: Yet another attempt at fixing compilation | Ori Avtalion | |
2011-04-28 | BACKENDS: Fix compilation for various backends | Ori Avtalion | |
Affects: * PS2 * GPH * ELF * MOTO * IPHONE * N64 * DINGUX * WINCE * PSP | |||
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-22 | OPENPANDORA: Remove unneeded translations.h include. | Thierry Crozat | |
2011-04-17 | ALL/GRAPHICS: Remove Surface::bytesPerPixel. | Johannes Schickel | |
2011-04-17 | SDL: Properly setup internal Surface formats. | Johannes Schickel | |
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-04-11 | GPH: Change backend to mask backend code to GPH_DEVICE. | David-John Willis | |
* This is mainly to make it easy to drop the old GP2X into the same codebase (I really have no desire to manage 2 sets of 99.9% identical code ;)). * Code paths for just one of the supported devices can be runtime worked out or just defined for that device. mount.sh: Fixed some small errors# ../../../../scummvm.gph | |||
2011-04-11 | GP2X: Mask off the graphics and events code behind a GP2X_OLD define. | David-John Willis | |
* This is a temp thing while I finish up merging the GP2X and GPH code. I do not want the GP2X backend code dropped yet until this is complete. | |||
2011-03-29 | JANITORIAL: Remove/comment unused vars | dhewg | |
Found by GCC 4.6's -Wunused-but-set-variable | |||
2011-03-24 | OPENPANDORA: Refactor OpenPandora backend and move events and graphics into ↵ | David-John Willis | |
modular backend style. | |||
2011-03-24 | GPH: Cleanup GPH backend and adapt to newer modular backend model. | David-John Willis | |
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 | OPENGLSDL: More refactoring to avoid direct access of ↵ | Johannes Schickel | |
OpenGlGraphicsManager's members. | |||
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. |