Commit Graph

34 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
Tony 41838ef544
Refresh rate switch addition on startup (#13316) 2021-12-03 17:52:46 +01:00
sonninnos b8188baeaf Automatic refresh rate switch where available 2021-08-21 01:15:41 +03:00
twinaphex 8eeb612493 Cleanups 2020-09-20 17:50:06 +02:00
alphanu1 50f54fcb43 Update video_display_server.h
fixed function
2020-07-28 18:28:31 +01:00
alphanu1 55e3bd3d2d Added ability to adjust porch values
Porches can now be manipulated from the CRTSwitchRes menu
2020-07-28 14:25:38 +01:00
twinaphex bb2251a7b2 (display server) Cleanup 2020-02-16 17:34:26 +01:00
twinaphex bbd1e6a6a5 Get rid of separate null midi driver file and display server file 2020-01-06 16:06:42 +01:00
twinaphex 7530436918 Better way to check if there is a resolution list - should
hide this entry on Android
2019-05-07 00:32:07 +02:00
twinaphex 0b426b2022 This should hide the CRT SwitchRes option on systems
where it's not supported
2019-05-05 16:33:25 +02:00
Brad Parker 97b7512420 restore initial screen orientation on exit for x11/win32 2019-02-23 14:15:36 -05:00
Brad Parker 4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
Brad Parker f5f492845f add setting for screen orientation, with initial android implementation 2019-02-21 00:31:55 -05:00
alphanu1 e11c910c39 Fix native naming after new additions
CRT dynamic width changes

Change menu detection width

Using alternative variables for CRT width and height

see output

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Update video_crt_switch.c

Update video_crt_switch.c

Update video_display_server.h

Update video_display_server.c

Update dispserv_win32.c

Update dispserv_x11.c

Update menu_cbs_ok.c

X centring on the fly

X centring on the fly

Update dispserv_x11.c

X centring on the fly

Update dispserv_win32.c

Fix dispserv_win32.c

Fix dispserv_win32.c
2019-02-12 21:23:13 +00:00
orbea 4c56167446 Convert to linux line endings. 2019-02-03 15:43:42 -08:00
alphanu1 76bf63f905
RPi Additions new switching method
Partil new switching method
2019-01-30 20:17:32 +00:00
twinaphex a561f789e2 Rename switch_resolution to set_resolution 2018-11-24 10:35:32 +01:00
twinaphex 7730828560 Start implementing dropdown list for resolution - Win32 right now at first - now need to make OK button do something 2018-11-24 10:31:41 +01:00
twinaphex 0ae3d3873d Create video_display_server_get_resolution_list 2018-11-24 02:50:04 +01:00
twinaphex fdb4d2b6ad Add get_resolution_list for Win32 2018-11-24 02:47:22 +01:00
twinaphex 07c45cadd1 Only display CRT SwitchRes settings if video display server is
implemented
2018-10-24 04:49:53 +02:00
alphanu1 c362a6d7f4
Added functions for new CRT SwitchRes options 2018-09-23 20:39:40 +01:00
twinaphex 2c959d8ff1 (Display server) Add get_output 2018-09-17 03:40:17 +02:00
alphanu1 db751b4241
Variable rename 2018-04-30 17:50:13 +01:00
alphanu1 af3eb9e851
Linux / windows hz bug fix
when merging Linux CRT refresh rate hz was dealt with in floats for Linux but ints for windows.
2018-04-30 16:40:27 +01:00
alphanu1 0498ab6b86
Linux switching incorporation 2018-04-29 13:49:32 +01:00
alphanu1 90d62fd0cc
Restore resolution fix 2018-04-28 20:53:39 +01:00
twinaphex d7d5dfdc73 Add display_server_get_current_resolution 2018-04-17 03:37:56 +02:00
twinaphex c692f457c2 Add switch_resolution to display_server interface 2018-04-15 19:25:00 +02:00
Brad Parker 43aa977a91 add menu setting to toggle window decorations 2018-02-10 23:46:09 -05:00
Brad Parker e2691c425c fix display server memory leaks 2018-01-25 21:48:08 -05:00
Brad Parker e62e0c83da win32: Show progress meter on taskbar for downloads (Windows 7 and up) 2018-01-01 02:08:09 -05:00
Brad Parker 81cd5435a1 x11: enable window transparency 2017-12-16 10:29:30 -05:00
Brad Parker 247b9ea973 add menu setting for window opacity, includes generic display server interface 2017-12-11 18:12:42 -05:00