62 Commits

Author SHA1 Message Date
twinaphex
8eb7c1d226 (Win32) Another buildfix for CRT changes 2020-07-29 04:36:29 +02:00
alphanu1
7e39a4a25c Update dispserv_win32.c 2020-07-28 22:41:56 +01:00
twinaphex
6088c3b301 (win32 display server) Turn function static 2020-07-07 00:06:46 +02:00
Hugo Hromic
2e57a690ce (Win32/DispServer) Improve video resolution switching
* Only switch to a display mode with the same current bit-depth and screen rotation
* Only switch to a display mode with default stretching mode
* Cleanup the function for consistency with other functions
2020-06-21 23:49:26 +01:00
Hugo Hromic
9ec3a5ccad (Win32/DispServer) Improve building of video resolution list
* Only use display modes with the same current bit-depth and screen rotation
* Only use display modes with default stretching mode
* Cleanup the function for consistency with other functions
2020-06-21 23:49:11 +01:00
twinaphex
3a057d594b MSVC2003 buildfix 2020-05-24 00:05:14 +02:00
twinaphex
84369cf6ba (Win32) Cleanups 2020-05-12 08:49:41 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +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
99f4203abf win32: implement screen orientation support 2019-02-21 14:37:24 -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
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
alphanu1
5afcd020bd update 2019-01-30 22:17:36 +00:00
alphanu1
fa8c9d7049 new method 2019-01-30 21:55:33 +00:00
krzys-h
0cff7eefa7 Initialize COM only once, globally 2019-01-10 16:48:02 +01:00
Brad Parker
d3210b87ae proper init of ITaskbarList 2019-01-10 09:25:02 -05:00
bparker06
c7779ff046
Remove extra CoUninitialize 2019-01-09 18:51:25 -05:00
bparker06
a7a959ccba
always call CoUninitialize if we support the taskbar extensions 2019-01-09 18:49:39 -05:00
krzys-h
9c75b9cb7f Add missing CoUninitialize calls, fix COM initialization problems
It turns out, some of the CoInitialize calls were failing because they
specified conflicting threading models
2019-01-01 17:30:43 +01:00
krzys-h
13517bc226 Fix the taskbar extension not initializing properly
The COM interface is initialized a thousand times everywhere, but
apparently not before the taskbar extension is loaded ;)

Somehow this managed to work sometimes and even return a valid object,
but that object was destroyed soon afterwards causing crashes
2018-12-31 11:17:39 +01:00
twinaphex
0eb8acd766 (Win32 display server) Try to set current resolution 2018-11-24 19:50:25 +01: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
5d8666e226 Only one function calls EnumDisplaySettings now 2018-11-24 02:06:28 +01:00
twinaphex
45e075c8fe Cleanup 2018-11-24 01:54:39 +01:00
Brad Parker
826c77d523 style cleanup 2018-10-02 16:56:40 -04:00
alphanu1
e6b8dcf5b0
Added functions for new CRT SwitchRes options 2018-09-23 20:42:31 +01:00
twinaphex
2c959d8ff1 (Display server) Add get_output 2018-09-17 03:40:17 +02:00
alphanu1
755a128d95
cast float 2018-07-08 19:15:24 +01:00
alphanu1
045606ce44
Restore refresh fix for windows
The refresh rate is now detect to restore the original desktop resolution.
2018-07-08 18:17:23 +01:00
alphanu1
2226dec436
Fix incorrect variable 2018-04-30 18:41:20 +01:00
alphanu1
675da4692e
Moved variable back to the top 2018-04-30 17:54:00 +01:00
alphanu1
9400754a2b
Variable rename 2018-04-30 17:51:28 +01:00
alphanu1
11b7f76526
bug fix with hz switching 2018-04-30 17:14:19 +01:00
alphanu1
f672c7dc5c
Linux / Windows hz bug fix and Linux low res modeline generator fix
when merging Linux CRT refresh rate hz was dealt with in floats for Linux but ints for windows.
2018-04-30 16:49:22 +01:00
Twinaphex
bf64c1cf23
Merge pull request #6655 from alphanu1/master
Linux switching for CRT
2018-04-29 18:41:54 +02:00
alphanu1
896041f468
Add files via upload 2018-04-29 15:47:32 +01:00
alphanu1
a0b46d9a38
Code clean up and Linux switching 2018-04-29 15:38:16 +01:00
alphanu1
a930afce31
Linux switching incorporation 2018-04-29 13:48:08 +01:00
twinaphex
4380bc52bd (MSVC) Buildfixes 2018-04-29 14:47:57 +02:00
alphanu1
1f8540ca9d
Changes to stop unwanted resolution change for non CRT users 2018-04-29 01:41:38 +01:00
alphanu1
b51c8d62e7
Restore resolution fix 2018-04-28 20:52:58 +01:00
twinaphex
070ee2fb40 (dispserv_win32.c) Simplify code 2018-04-18 08:03:34 +02: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