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
Cameron Cawley
125fe7162d
SDL: Fix compilation with SDL 2.0.3
2021-04-13 17:18:29 +01:00
SupSuper
d6ba073055
BACKENDS: OPENGLSDL: Only scale mouse cursor on high-DPI platforms
...
Some platforms send raw coordinates, others send scaled coordinates.
We try to determine this by comparing the window size and drawable size.
2021-04-12 18:38:45 +02:00
SupSuper
8fba77eefa
BACKENDS: OPENGLSDL: Always use drawable size when resizing window
...
This corrects situations in SDL2 where the window size is not
the same as the drawable size, leading to incorrect rendering.
2021-04-12 18:38:45 +02:00
antoniou79
6afae47470
ANDROID: Add support for feature OSystem::kFeatureHiDPI
...
For testing purposes and feedback mostly
Also set the level for debug to 3, to get messages related to native resolution and scaling from the new hidpi gui scale code
2021-04-12 15:05:34 +03:00
rsn8887
044ea0b60e
VITA: Use regular SDL2 graphics code, fixes crash with latest SDK
2021-04-11 19:56:34 -05:00
Cameron Cawley
24b59ecb4c
Revert "OPENGL: Implement high DPI support on Android ( #1895 )"
...
This reverts commit 177d709909
.
2021-04-12 00:54:12 +01:00
Eugene Sandulenko
708caaa8fa
BACKENDS: SDL: Do not scale mouse position for LoDPI modes
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
fda5847789
BACKENDS: OPENGLSDL: Fix compilation with SDL1
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
f769cd6526
GUI: Fix oversized keymapper controls
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
7a23d859a5
BACKENDS: Lower hidpi scaling to factor of 1.5
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
c06d47e397
COMMON: Added kFeatureHiDPI and return it from the backend
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
bb15133a0a
BACKENDS: OPENGLSDL: Fix switching to full screen with Alt+Enter
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
5e395d166a
BACKENDS: HiDPI support in OpenGL backend
2021-04-11 21:21:44 +02:00