191 Commits

Author SHA1 Message Date
zoltanvb
afa0e389aa Display server for KMS
Add a display server construct for DRM/KMS mode. The main use is
to provide resolution changes (including automatic refresh rate
switch) for this configuration, i.e. DRM context and OpenGL drivers.

To enable refresh rate restoration after automatic refresh rate
change, av_info->timing_fps is also adjusted on core close / RA exit.

No effects expected on CRTSwitchRes.
2023-05-19 17:34:25 +02:00
libretroadmin
daa4c19d18 Style nits/minor cleanups 2022-12-05 14:24:49 +01:00
LibretroAdmin
18639cca6e (Win32) Create g_win32_flags - reduce amount of global booleans kept
around for state
2022-10-26 17:31:42 +02:00
LibretroAdmin
83c1e502ba (display servers) Use flags instead of bools 2022-10-07 02:40:19 +02:00
LibretroAdmin
a6e210e9db Get rid of some strlcats 2022-08-08 22:41:32 +02:00
libretroadmin
0e85113eb3 (libretro-common) Style nits/cleanups 2022-07-10 18:13:49 +02:00
libretroadmin
e53a623f4a (dispserv_win32.c) General cleanups 2022-07-08 21:45:04 +02:00
libretroadmin
b023001d29 (Win32/taskbar) Backport m4xw commit - Release ITaskbarList3 on failed HrInit
The pointer wasn't NULL'd, thus set_window_progress would cause weird behavior
2022-07-07 17:58:48 +02:00
libretroadmin
49bf60cc90 (Win32) Cleanups 2022-05-17 13:21:56 +02:00
twinaphex
4d112da58d Silence some MSVC code analysis warnings 2022-03-07 19:02:46 +01:00
Autechre
cfcd0a7a0d
Merge pull request #12795 from sonninnos/video-rate-switch
Automatic PAL/NTSC refresh rate switch where available
2021-09-12 16:15:04 +02:00
sonninnos
22de07a662 MSVC buildfix 2021-08-24 22:28:13 +03:00
sonninnos
d5b1c3092f Screen Resolution list sanitizing 2021-08-24 20:01:19 +03:00
sonninnos
b8188baeaf Automatic refresh rate switch where available 2021-08-21 01:15:41 +03:00
sonninnos
f1c276b751 (WIN32) Remember original refresh rate 2021-08-12 19:15:55 +03:00
Ben
799fcdb5e0 Fixed CRTSwitchRes framebuffer bug 2021-04-19 07:38:38 -07:00
alphanu1
5658ea7047
Multi monitor fix. (#12260)
This fix allows for the use of multi monitor when using CRTSwitchres. It fixes a bug that causes a crash.
Delete function will no longer try to delete resolutions from outputs that have not had resolutions added.
2021-04-12 14:55:33 +02:00
twinaphex
e292340ef4 (dispserv_win32.c) Fix unused variable warning 2021-03-16 13:33:24 +01:00
twinaphex
065d781df7 (X11) Buildfix 2020-09-20 18:16:02 +02:00
twinaphex
5bd71497c5 (dispserv X11) Get rid of static global variables 2020-09-20 18:13:00 +02:00
twinaphex
f1f66597a3 Cleanups 2020-09-20 17:57:44 +02:00
twinaphex
8eeb612493 Cleanups 2020-09-20 17:50:06 +02:00
twinaphex
bdbfc80584 Cleanups 2020-09-20 03:06:23 +02:00
Ben
b33f0b9121 low resoluiton fis for RetroArch exit
On exit changes
2020-09-16 14:13:04 +01:00
Ben
17809688a6 Fix for low resoltion crash
256x240 resolutions and lower are now working
2020-09-16 14:07:15 +01:00
Ben
382044b5bf Low resolution switch bug fix
This allows resolutions lower that 32x224 like 256x224 to work
2020-09-16 13:49:34 +01:00
twinaphex
15ace7c0cb Fix C89_BUILD issue 2020-09-14 13:25:18 +02:00
twinaphex
11e65e20b7 Cleanup 2020-09-14 13:06:04 +02:00
twinaphex
19a380a328 Revert "(X11/dispserv) Cleanups"
This reverts commit 30cde1edfbbbc6fa87ac1a940929f38b3f579817.
2020-09-14 13:05:02 +02:00
twinaphex
30cde1edfb (X11/dispserv) Cleanups 2020-09-14 13:04:14 +02:00
twinaphex
1b61ef4a5a Cleanups 2020-09-14 12:59:32 +02:00
twinaphex
9bd1046538 (dispserv_x11.c) Buildfix 2020-09-14 12:57:34 +02:00
twinaphex
9cb8fb8de5 Include missing header 2020-09-14 12:54:15 +02:00
twinaphex
868ef85f5d (dispserv_x11.c) C89 nits/cleanups 2020-09-14 12:53:49 +02:00
alphanu1
cb404b676d
Fix seg faults 2020-09-11 18:54:17 +01:00
alphanu1
897ea6aff3
Fix for bad res name 2020-09-11 18:04:40 +01:00
alphanu1
7b2588c721
Fix mem compile errors 2020-09-11 17:31:17 +01:00
alphanu1
d7d03a8759
Clean up resources to reduce memory leaks 2020-09-11 16:59:38 +01:00
alphanu1
afc3badd72
Fixed Crash On Core Load 2020-09-11 16:30:43 +01:00
alphanu1
dc19dd3db4
Closing XDisp to reduce mem leaks 2020-09-11 16:17:46 +01:00
alphanu1
877408adda
Fixed Missing Variable 2020-09-11 15:57:56 +01:00
alphanu1
e5b4fb4c7c
CRTSwitchRes improvements and Core Load Chrash Fix 2020-09-11 15:39:05 +01:00
Autechre
daf6843cd3
Revert "CRTSwitchRes Improvements (removal of system calls)" 2020-09-11 15:15:07 +02:00
twinaphex
a21d09addc Revert "(dispserv_x11.c) Cleanups"
This reverts commit e27b314afbb2eb9dde3c5e7918c35e39aeb486e6.
2020-09-11 15:14:22 +02:00
twinaphex
6fd1485c34 Revert "Turn g_monitor_index into static global"
This reverts commit 65f5544a7ecd4782c00ebb5156a36e9e9f992ca7.
2020-09-11 15:14:11 +02:00
twinaphex
c6fa9c6720 Revert "Add header"
This reverts commit 1b9c906d6980e905bc60a8a9528ac6ff6c3bc281.
2020-09-11 15:14:04 +02:00
twinaphex
85515b239f Revert "Get rid of this unused variable"
This reverts commit bcfd4a3cd6754b75ef63a02f8b2b7ace86ff2e06.
2020-09-11 15:13:48 +02:00
twinaphex
fb3d8a634b Revert "(dispserv_x11) Cleanups"
This reverts commit 3d09bacb93c58a5fac98bb26f5996ed916d00318.
2020-09-11 15:13:42 +02:00
twinaphex
3d09bacb93 (dispserv_x11) Cleanups 2020-09-11 11:37:08 +02:00
twinaphex
bcfd4a3cd6 Get rid of this unused variable 2020-09-11 08:22:13 +02:00