Commit Graph

8269 Commits

Author SHA1 Message Date
Cameron Cawley
b1ccd91ba6 OPENGL: Fix compilation on Android 2021-06-17 00:52:46 +01:00
Cameron Cawley
66c0c57d10 BACKENDS: Add support for OpenGL 1.1 contexts 2021-06-16 23:16:01 +01:00
Lothar Serra Mari
f4eb3a63b8 BACKENDS: OPENGLSDL: Improve auto-handling of window sizes 2021-06-13 07:50:43 +02:00
sluicebox
674ed112aa JANITORIAL: Update more old bug tracker numbers
I missed the six digit ones and a few others in:
93eeffc84d
2021-06-09 14:28:52 -06:00
Thierry Crozat
31a6b39fb3 SDL: Add new pixel perfect stretch mode for OpenGL
This mode ensure that an integral scaling is used both for the width
and for the height. Compared to the old pixel perfect stretch mode
it thus differs in the way it handles the aspect ratio correction.
It may stretch or squeeze the vertical direction to snap it to a
multiple of the original game height.
2021-06-05 14:17:40 +01:00
Thierry Crozat
1e51093102 Revert "OPENGL: Fix aspect ratio bug when switching render"
This reverts commit 8af0b8baa5.

That commit introduced a regression causing toggling the
aspect ratio correction using the hotkey to be ignored. And
I checked that reverting the commit did not reintroduced the
bug that it was supposed to fix. However since commit ceca0b5ae
the window size in OpenGL mode no longer depends on whether
the Aspect Ratio correction is enabled or not.
2021-06-02 21:50:18 +01:00
SupSuper
e3d082df65 MSVC: Add compiler printf validation 2021-06-02 08:35:31 +03:00
Lothar Serra Mari
e2d417e785 BACKENDS: OPENGLSDL: Fix division by zero when no previous resizing events occured 2021-05-29 19:47:37 +02:00
athrxx
ff3d0e83c2 GRAPHICS: fix Edge scaler glitch (bug no. 12553)
Force the creation of a new screen buffer for the scaler after leaving the overlay. The whole "old source" code looks a bit unfinished. Anyway, this fix should only kick in for one particular scaler and one particular situation and one particular backend. So I guess it is safe enough...
2021-05-28 20:26:28 +02:00
Ori Avtalion
50e8dc815a DOCS,TRAVIS: Change IRC links to libera.chat 2021-05-27 22:47:32 +03:00
Hubert Maier
21e709af1d
AMIGAOS: Support the new reduced README.md for AmigaGuide conversion (#3025)
AMIGAOS: Support the new reduced README.md for AmigaGuide conversion

Co-authored-by: Le Philousophe <lephilousophe@users.noreply.github.com>
2021-05-25 23:10:21 +02:00
Thierry Crozat
dce06f179c IOS7: Render the GUI in HiDPI 2021-05-24 23:46:51 +01:00
Thierry Crozat
37aa9f9081 IOS7: Support using 4bpp cursors
This fixes an assert with the new GUI (bug #12578).

This also required changing the logic to handle the cursor key color
as the new GUI does not use that key color but use the alpha channel.
The logic in the iOS backend was overwriting the alpha channel
by checking the key color, removing all the transparency. Now the
two are combined (hopefully there is no case were it uses the key
color while also using a pixel format with alpha, but not setting
this alpha, because if there is, this will now result in a fully
transparent cursor).
2021-05-24 23:46:51 +01:00
Thierry Crozat
bf406f66c0 BACKENDS: SDL: Do not allocate memory in SurfaceSdlGraphicsManager::getSupportedGraphicsModes 2021-05-08 21:58:30 +01:00
Mathias Parnaudeau
800c673b62 BACKENDS: SDL: Fix memory leak in supported graphics modes
Supported graphics modes are grouped in an merged array in which
the first part contains modes from the non-OpenGL SDL manager,
obtained by a copy dynamically allocated.

When the array was rebuilt or aimed to be destroyed, it was only
cleared (removing elements) but not freeing duplicated fields
name and description.

An additional leak came from the temporary array (srcModes)
not freed.
2021-05-08 21:58:30 +01:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Filippos Karapetis
99e5de932e AUDIO: Remove the broken ARM audio rate converter
This code has been broken and unmaintained for at least 7 years now,
and had been disabled. This also removes the associated define
USE_ARM_SOUND_ASM
2021-05-04 01:16:14 +03:00
Martin Gerhardy
9d82fa51df COMMON: removed USE_TTS check from engines
OSystem now just returns a nullptr if there is no text to speech manager instance
(because none is compiled into the binary, or the system doesn't provide support
for it). This removed the need for the engine authors to add scummvm osystem compile
time options checks into their engine code
2021-05-03 14:13:41 +03:00
Eugene Sandulenko
e2d65a4ba8
BACKENDS: OPENGL: Comment out noisy warning 2021-05-02 17:47:41 +02:00
BeWorld
3e7eb8485e MorphOS: cleanup code
- remove utf8toLocal and use internal encode
- save only path (drawer) on browser_lastpath
2021-05-01 20:00:01 +03:00
Le Philousophe
993779259f AMIGAOS: Strip trailing / to ensure .info file is placed beside folder 2021-05-01 18:03:13 +02:00
Hubert Maier
37ef6b4204 AMIGAOS: Typo in comment 2021-05-01 18:03:13 +02:00
Hubert Maier
ae9ad5b187 AMIGAOS: Revert MorphOS change (taken care in another PR) 2021-05-01 18:03:13 +02:00
Hubert Maier
e776921a7e AMIGAOS: Revert some chnages to use new install path 2021-05-01 18:03:13 +02:00
Hubert Maier
630a58d262 AMIGAOS: Revert most of the superfluous spaces 2021-05-01 18:03:13 +02:00
Hubert Maier
abd09fd5b0 MORPHOS: Fix oversight in debug message 2021-05-01 18:03:13 +02:00
Hubert Maier
d0185f5172 AMIGAOS: Quite some clean up
- Cleaned up comments
- Debug messages enhanced
- Fix some leftover spaces instead of TABs
- Removed the newlib workaround: A new version has been released which fixed the cause
- Removed an old workaround dealing with a buffer set too low due to an ill combination of newlib build and disk filesystem.
Even forcing the described behaviour i was not able to see slowdowns in videos.
Also, since "slow video playback" is rather vague and no specific case were given in the comment, i wasn´t able to do specific tesing.

Works for me...
2021-05-01 18:03:13 +02:00
SupSuper
60f1fd98aa SDL: Use the window display index when querying display modes 2021-05-01 11:22:22 +03:00
rsn8887
8ab7d43079 BACKENDS: PSP: Fix pixelformat, fixes crash on startup 2021-04-30 22:29:24 -05:00
SupSuper
5219b1ea57 SDL: Get the window decoration size from the backend
It's been 5 years since SDL 2.0.5, I think it's safe to use
2021-04-29 04:44:55 +01:00
Lothar Serra Mari
db52dde75d BACKENDS: OPENGLSDL: Fix typo while initializing _windowIsMaximized state 2021-04-28 14:36:46 +02:00
Lothar Serra Mari
1b68301540 BACKENDS: OPENGLSDL: Properly handle maximized windows 2021-04-27 07:25:22 +02:00
Cameron Cawley
d67b16a55d COMMON: Improve debugging of forbidden symbol issues 2021-04-27 04:05:11 +01:00
Orgad Shaneh
59752c2835 MAKEFILE: Auto-generate dependencies for scummvm.rc 2021-04-23 02:01:09 +02:00
rsn8887
39d396cf83 SWITCH: Fix wrong zoom in 3D games 2021-04-21 14:14:51 -05:00
Eugene Sandulenko
50e6460fe2
BACKENDS: OPENGL: Add workaround for macOS window size memorizing 2021-04-19 13:10:25 +02:00
Cameron Cawley
da960cd939 GUI: Add EE to the GUI keymap 2021-04-18 15:28:51 +02:00
Lothar Serra Mari
f288ab7e20 BACKENDS: OPENGLSDL: Flush config file after resize events 2021-04-18 15:16:52 +02:00
Eugene Sandulenko
0cba225a96
BACKENDS: OPENGL: Hiding noisy window size debug output deeper 2021-04-18 14:56:06 +02:00
Lothar Serra Mari
ceca0b5ae8 GUI: Add support for GUI window sizing based on screen resolution 2021-04-18 14:41:29 +02:00
Cameron Cawley
d33487f641 SDL: Refactor OpenGLSdlGraphics3dManager to inherit from SdlGraphicsManager 2021-04-17 20:32:27 +02:00
Eugene Sandulenko
91832bf9d8
SYMBIAN: Remove old Keys Dialog, now the global KeyMapper is used. PR#2712 2021-04-17 19:41:09 +02:00
Eugene Sandulenko
6778a80816
SYMBIAN: Do not compile unneeded stubs. Part of PR#2712 2021-04-17 19:41:09 +02:00
Orgad Shaneh
b49e6eb96f JANITORIAL: Fix some excess tabs 2021-04-15 23:18:08 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
lamebanana
8af0b8baa5 OPENGL: Fix aspect ratio bug when switching render 2021-04-14 20:33:59 +02:00
rsn8887
d3423ae991 VITA: Remove shaders, not supported with latest SDL2 2021-04-13 20:57:28 -05:00
rsn8887
fca3abd9ef SWITCH: Fix wrong zoom on SDL to GL transition again 2021-04-13 16:17:22 -05:00
Cameron Cawley
56e2107dc3 RASPBERRYPI: Remove outdated packaging rules 2021-04-13 19:56:55 +01:00
SupSuper
3eba076fa0 SDL: Fix null check in getDisplayDpiFromSdl 2021-04-13 19:27:31 +01:00