aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics
AgeCommit message (Collapse)Author
2016-10-03SDL: Switch to full screen updates when the OSD is transparentBastien Bouclet
Previous releases also did full screen updates for transparent OSD messages. There should be no performance regression with that regard. Computing smaller update rects is non trivial, but should be looked into if performance is an issue for OSD icons. Fixes #9598
2016-09-18OPENGL: Make sure the cloud icon is cleared immediatly after it is hiddenBastien Bouclet
2016-09-18SDL: Make sure the cloud icon is cleared immediatly after it is hiddenBastien Bouclet
2016-09-18OPENGL: Remove multithread support from displayActivityIconOnOSDBastien Bouclet
It is no longer being called by another thread.
2016-09-18SDL: Ignore outdated SDL resize event in OpenGL modeThierry Crozat
Those outdated resize events are sent from SDL_DestroyWindow when the window is fullscreen and doesn't have the SDL_WINDOW_FULLSCREEN_DESKTOP flag (thus Surface SDL is not affected). Switching resolutions in fullscreen, or switching from fullscreen to windowed will therefore cause a resize event to be received with the former fullscreen resolution after we have already setup the window to use the new resolution. If we don't ignore this event we end up with a texture size and a window size that are not consistent and for example see only a part of the texture (if the old resolution is bigger than the new one.
2016-09-13OPENGL: Fix dereferencing null pointer in OpenGLGraphicsManagerThierry Crozat
This fixes a crash when calling displayActivityIconOnOSD with a NULL icon, which is used to remove the current activity icon.
2016-09-13OSYSTEM: Remove the API allowing to draw to the OSD surface directlyBastien Bouclet
2016-09-13SDL: Switch the OpenGL renderer to use small textures to draw the OSDBastien Bouclet
2016-09-13SDL: Switch the surface renderer to use small surfaces for OSD drawingBastien Bouclet
2016-09-13OSYSTEM: Introduce a method allowing to draw a background activity iconBastien Bouclet
2016-09-05OPENGL: Implement getOSDFormat and copyRectToOSDThierry Crozat
2016-09-05OPENGL: Add missing USE_OSD defined checks around OSD codeThierry Crozat
2016-09-03LINUXMOTO: Fix OSD performance when OSD is not drawnEugene Sandulenko
2016-09-03GPH: Fix OSD performance when OSD is not drawnEugene Sandulenko
2016-09-03DINGUX: Fix OSD performance when OSD is not drawnEugene Sandulenko
2016-09-03JANITORIAL: Remove trailing whitespacesEugene Sandulenko
2016-09-03SDL: Optimize OSD drawingEugene Sandulenko
2016-09-03LINUXMOTO: Adapt to OSD changesEugene Sandulenko
2016-09-03GPH: Fix formattingEugene Sandulenko
2016-09-03DINGUX: Adapt to new OSD changesEugene Sandulenko
2016-09-02GPH: Attempt to fix OSDEugene Sandulenko
2016-08-30SDL: Fix const castWillem Jan Palenstijn
2016-08-24GUI: Fix copyRectOnOSD()Alexander Tkachev
Now it doesn't require full redraw, but asks to redraw the area which is copied to.
2016-08-24GUI: Separate OSD message alpha from OSD surfaceAlexander Tkachev
Now OSD is always drawn.
2016-08-24GUI: Add getOSDFormat() and make OSD 32 bppAlexander Tkachev
2016-08-24GUI: Add clearOSD() methodAlexander Tkachev
So one can erase everything from OSD and then blit something on it.
2016-08-24GUI: Add copyRectToOSD()Alexander Tkachev
I was lazy to implement that in OpenGLGraphicsManager and I'm not sure it's implemented correctly in SurfaceSdlGraphicsManager, but it works for me.
2016-07-23ALL: Don't use 'defined' in macro definitionsOri Avtalion
This is undefined behavior and clang warns about it. See <http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160118/147239.html>.
2016-07-01SDL: Fix mouse trailing part of bug #7141Ben Castricum
Overlays are shown with _currentShakePos offset too, so no need to compensate the mousepointer position for overlays. This compensation was done inconsistently in draw/undraw mouse causing the mouse trails.
2016-05-19ANDROIDSDL: add androidsdl backendlubomyr
2016-05-03OPENGL: Assure color attributes for shader pipeline are always set.Johannes Schickel
2016-05-02OPENGL: Fix potential crashEugene Sandulenko
2016-04-10GCW0: Disable triple buffering.Eugene Sandulenko
Too many artifacts. It is not possible with current ScummVM drawing approaches.
2016-04-10GCW0: Enable triple bufferingEugene Sandulenko
2016-04-10GCW0: Enable building with all scalers disabledEugene Sandulenko
2016-03-23OPENGL: Add assertions to check for valid attribute state.Johannes Schickel
2016-03-23OPENGL: Fix black screen for some GL implementations with shaders.Johannes Schickel
For compatibility location 0 is used to decide whether fixed function style vertex information is used in old GL contexts. In some cases drivers might assign the color information to be passed through attribute 0. This caused the array attribute status for location 0 to be disabled and resulted in wrong vertex data to be used.
2016-03-16OPENGL: Log extensions available on debuglevel 5+.Johannes Schickel
2016-03-16OPENGL: Flag texture dirty on allocation.Johannes Schickel
2016-03-16OPENGL: Do not keep uniform state for nonexistent uniforms.Johannes Schickel
2016-03-16OPENGL: Store logical texture dimensions in GLTexture.Johannes Schickel
2016-03-16OPENGL: Introduce convenience wrappers for get*Location in Shader.Johannes Schickel
2016-03-16OPENGL: Do not hardcode any uniform/attribute handling in Shader.Johannes Schickel
2016-03-16OPENGL: Let Shader store the uniform state.Johannes Schickel
2016-03-16OPENGL: Only set projection matrix once on pipeline activation.Johannes Schickel
2016-03-16OPENGL: Properly deactivate old pipeline.Johannes Schickel
2016-03-16OPENGL: Make shader pipelines use fixed shaders.Johannes Schickel
2016-03-16OPENGL: Implement CLUT8 look up as Pipeline.Johannes Schickel
2016-03-16OPENGL: Move pipeline code to pipelines/.Johannes Schickel
2016-03-16OPENGL: Only allow Pipeline to switch active Framebuffers.Johannes Schickel