Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-03 | OPENGL: Take advantage of Surface::getPixels. | Johannes Schickel | |
2013-08-03 | OPENGL: Prefer getBasePtr over direct Surface::pixels access. | Johannes Schickel | |
2012-08-09 | OPENGL: Fix RGBA8888 mode setup. | Johannes Schickel | |
2012-08-08 | OPENGL: GL_BGRA does not exist in every GLES implementation. | David-John Willis | |
* It definately does not exist in the GLES implementations I can test with. * Don't configure if USE_GLES is set. | |||
2012-06-16 | ALL: Let overlay related methods in OSystem take a void * and use a proper ↵ | Johannes Schickel | |
pitch values. This is a first step to get rid of OverlayColor, which is a requirement for proper 4Bpp overlay support. | |||
2012-06-16 | BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer. | Johannes Schickel | |
This is mainly for consistency with OSystem::copyRectToScreen. | |||
2012-06-16 | BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte ↵ | Johannes Schickel | |
*" as buffer. This removes the need to convert the parameter to copyRectToScreen to "const byte *", which is commonly used in games, which use Graphics::Surface to store their graphics data. | |||
2012-06-03 | ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵ | Johannes Schickel | |
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there. | |||
2012-03-28 | OPENGL: Don't leak surfaces. | Alyssa Milburn | |
2012-02-20 | OPENGL: Don't force alpha to 1 | Willem Jan Palenstijn | |
This was likely a hack to work around an alpha blending bug in the gui vector renderer. | |||
2012-02-15 | OPENGL: More formatting fixes. | Johannes Schickel | |
2012-02-15 | OPENGL: Prevent access to a few more members in the SDL OpenGL code. | Johannes Schickel | |
2012-02-15 | OPENGL: Remove redundant check in adjustMousePosition. | Johannes Schickel | |
2012-01-03 | OPENGL: Fix mouse cursor scaling. | Johannes Schickel | |
2011-11-09 | OPENGL: Always set the unpack alignment when refreshing the textures. | Johannes Schickel | |
This should hopefully make sure we are always having the correct alignment set up. This might fix bug #3435655 "OpenGL display corruption with various Sierra games Daily B.". | |||
2011-08-21 | BADA: Fix formatting and non bada host compile error | Chris Warren-Smith | |
2011-08-21 | BADA: Initial BADA port implementation | Chris Warren-Smith | |
2011-08-12 | OPENGL: Fix aspect ratio correction behavior. | Johannes Schickel | |
Now only 320x200 and 640x400 will result in aspect ratio correction to be used if the user requested it. This should fix some strechting in Myst/Riven. | |||
2011-08-09 | SDL: Take advantage of SdlGraphicsManager. | Johannes Schickel | |
This gets rid of the hacks, where SdlEventSource added events with custom type numbers to pass SDL_VIDEOEXPOSE and SDL_VIDEORESIZE to the graphics manager. Furthermore it get rids of the uninituitive and hard to trace way of assigning the proper mouse coordinates to mouse related events. Formerly it passed the real screen coordinates through the even dispatching api to the graphics manager (at least hopefully ;-) and let that handle creating a new event with the proper coordinates. Now instead SdlEventSource handles the proper coordinate setup itself. Since this is a behavior change and I can not test all the SDL based small devices ports this commit might break compilation for them and more serve it might also break mouse position behavior. If any of that occurs I am sorry about it. | |||
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 |