Commit Graph

8840 Commits

Author SHA1 Message Date
Le Philousophe
a60e8ff2cb MORPHOS: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe
29f5d51972 DC: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe
9c04d72471 COMMON: Forbid use of unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe
6293c2b3c2 WIN32: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe
387da5b820 WII: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe
a3cc6b5218 TIMIDITY: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe
7c657796f4 POSIX: Don't use unsafe strcat and strcpy
It was commented but still
2022-10-23 22:46:19 +02:00
Le Philousophe
15e7346f1c MORPHOS: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe
6f5ac54828 DC: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe
5a0e4ced67 AMIGAOS: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Hubert Maier
874f894936 AMIGAOS: Fix oversight in debug output 2022-10-23 21:45:10 +02:00
jacobhyman
6931714c2f
ANDROID: Fix touchscreen stylus check 2022-10-23 19:33:21 +02:00
Hubert Maier
3ba1d5c313 AMIGAOS: Initialize pathBuffer 2022-10-23 00:06:33 +03:00
Hubert Maier
24ce65629a AMIGAOS: Coding convention 2022-10-23 00:06:33 +03:00
Hubert Maier
022995f4ad AMIGAOS: Clean up 2022-10-23 00:06:33 +03:00
Le Philousophe
3f08b71d85 BACKENDS: OPENGL: With animated LibRetro shaders, always update screen 2022-10-22 16:51:08 +02:00
Le Philousophe
86ea6f581c BACKENDS: OPENGL: Fix cursor scaling with LibRetro 2022-10-22 16:51:08 +02:00
Eugene Sandulenko
81462fd56f
Revert "GRAPHICS: Add a mechanism to get the game and overlay display rects"
This reverts commit 60b43e4f52.

The commit is incomplete: the relevant methods have to be exposed via the
base OSystem class.
2022-10-19 00:53:17 +02:00
elasota
60b43e4f52 GRAPHICS: Add a mechanism to get the game and overlay display rects 2022-10-19 00:29:01 +02:00
Le Philousophe
c756415388 BACKENDS: OPENGL: Don't fail if parameter is not present in preset
RetroArch doesn't use this parameters value and looks up directly for
entries so it would never fail on this.
2022-10-17 22:19:26 +02:00
Le Philousophe
ef9eb436a0 BACKENDS: OPENGL: Apply parameters globally and load the preset ones 2022-10-17 22:09:35 +02:00
Le Philousophe
396d5fb425 BACKENDS: OPENGL: ALlow the use of software scalers with LibRetro 2022-10-17 22:09:35 +02:00
Le Philousophe
d398034fe5 BACKENDS: OPENGL: Enable filtering when using scaling shaders 2022-10-16 20:42:54 +02:00
Le Philousophe
c257251e8f BACKENDS: OPENGL: Implement FrameCount uniform 2022-10-16 19:43:05 +02:00
Le Philousophe
8047aef666 BACKENDS: OPENGL: Add support for wrap mode in libretro 2022-10-16 19:43:05 +02:00
Le Philousophe
73f48341c0 BACKENDS: OPENGL: Allow to set texture wrapping mode 2022-10-16 19:43:05 +02:00
Le Philousophe
e532e33127 BACKENDS: OPENGL: Add aliases support to libretro 2022-10-16 14:06:44 +02:00
Le Philousophe
353239a158 BACKENDS: OPENGL: Reuse existing samplers if possible
This avoids allocating samplers when one with the same texture already
exists.
2022-10-16 14:04:57 +02:00
Le Philousophe
3a31992403 BACKENDS: OPENGL: Really fix Pass# and PassPrev# uniforms 2022-10-16 14:04:39 +02:00
Le Philousophe
dc3f4b4f6d BACKENDS: OPENGL: Fix Pass# and PassPrev# uniforms 2022-10-16 11:20:54 +02:00
Le Philousophe
c1311ff2b2 BACKENDS: OPENGL: Add support for PassPrev# uniforms
They are not documented but used by some shaders.
They point at previous passes inputs.
2022-10-15 20:48:52 +02:00
Le Philousophe
c5d64589b4 BACKENDS: OPENGL: Fix OutputSize uniforms value
The OutputSize value is the size of the FBO target and not the screen
size
2022-10-15 19:09:53 +02:00
Le Philousophe
a4f8491c55 BACKENDS: OPENGL: Try to recover from shader error at startup time
Let's just retry without the shader.
2022-10-15 16:45:24 +02:00
Le Philousophe
8e88170c0d BACKENDS: OPENGL: Fix output size computation 2022-10-15 16:02:15 +02:00
Le Philousophe
27971587a5 BACKENDS: OPENGL: Proper unsigned int parsing 2022-10-15 12:31:12 +02:00
Eugene Sandulenko
a670a17480
NETWORKING: Properly process TLS errors.
Now, when HTTPS is not supported, we will indicate it to the user.
2022-10-10 22:37:22 +02:00
Le Philousophe
3c8b58af95 BACKENDS: OPENGL: Don't use glGetTexLevelParameteriv
This function doesn't work in GLES2
2022-10-09 17:25:35 +02:00
Le Philousophe
3a7f2aa1ee BACKENDS: OPENGL: Allow callers to check for texture setSize result 2022-10-09 17:25:35 +02:00
Le Philousophe
518b731726 BACKENDS: OPENGL: Add support for loading JPEG textures 2022-10-09 15:59:37 +02:00
Le Philousophe
939570b25a BACKENDS: OPENGL: More tolerant integer parsing 2022-10-09 11:05:13 +02:00
Le Philousophe
1b0942cda2 BACKENDS: OPENGL: Correctly compute default scales 2022-10-09 11:05:13 +02:00
Le Philousophe
51c2f471c3 BACKENDS: OPENGL: Accept different scale types with same scale
This is allowed by libretro
2022-10-09 10:00:21 +02:00
Le Philousophe
0f7fa00c9b BACKENDS: OPENGL: Fix parsing of scale_type
When scale_type was not specified, its default value was used for X and
Y instead of doing nothing
2022-10-09 09:45:03 +02:00
Le Philousophe
d379af1fc0 BACKENDS: OPENGL: Properly remove comments
Before that comments at the end of a line were not stripped
2022-10-09 01:32:54 +02:00
Le Philousophe
131acc39ea BACKENDS: OPENGL: Add compatibility shims when needed 2022-10-09 01:32:54 +02:00
Le Philousophe
f96b71100c OPENGL: Implement parameters as uniforms
This avoids bugs in some shaders where parameter names are reused in the
shader code.
2022-10-08 23:40:27 +02:00
Le Philousophe
af680aeecc OPENGL: Check that textures can be set up at load time 2022-10-08 23:39:18 +02:00
Le Philousophe
04d8265e9c OPENGL: load shaders more like original libretro 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
e7df36a30c OPENGL: Remove obsolete comment 2022-10-08 23:39:18 +02:00
Cameron Cawley
347870e6ea OPENGLSDL: Remove _ignoreLoadVideoMode
It doesn't work properly with shaders.
2022-10-08 23:39:18 +02:00