Pavel Penev
593c2735ce
Revert "Restore threaded renderer on Windows in windowed mode."
...
This reverts commit 874fa67036 .
2024-12-12 00:26:05 +02:00
Gustas
7d9aa58103
Update SDL
2024-11-16 19:55:12 +02:00
RoosterDragon
874fa67036
Restore threaded renderer on Windows in windowed mode.
...
Previously, when running in windowed-mode on Windows, the threaded renderer would cause the minimize/restore behaviour to become unreliable. It was disabled under this configuration to avoid the problem.
This no longer occurs (perhaps fixed by an intervening SDL update?), so we can remove the workaround and always use the threaded renderer for a performance improvement.
2024-11-16 19:18:36 +02:00
RoosterDragon
fbe147ce61
Fix RCS1118
2023-11-10 10:38:41 +02:00
abcdefg30
3f0159cd89
Index at 0 instead of using LINQ's First
2023-10-30 23:37:52 +02:00
Paul Chote
9a5f5f9f8f
Remove legacy OpenGL support.
2023-10-22 19:51:46 +03:00
Gustas
2763e1502b
Add quadIndexBuffer to Renderer
2023-09-23 14:10:35 +02:00
RoosterDragon
285443f10f
Fix CA1310, CA1311
2023-08-07 21:38:09 +02:00
Paul Chote
0369f7516d
Work around Gnome 44 titlebar bug.
2023-06-26 19:21:51 +02:00
RoosterDragon
277699cbd5
Fix CA1822
2023-06-06 11:51:47 +03:00
RoosterDragon
6362bbd176
Fix CA1846
2023-04-17 00:05:12 +02:00
RoosterDragon
8a285f9b19
Fix IDE0090
2023-04-08 16:51:51 +03:00
RoosterDragon
023d80b94d
Fix IDE0057
2023-04-08 16:51:51 +03:00
RoosterDragon
98c4eaca83
Fix IDE0032
2023-03-14 13:41:25 +02:00
RoosterDragon
52fd564eac
Fix some whitespace formatting issues: stray tabs or spaces.
...
Wrap some long lines on affected code.
2023-03-02 20:02:45 +02:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
Paul Chote
a6eb00f326
Fix pseudo-fullscreen window size on macs with a notch.
2022-12-24 12:10:26 +01:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Eduardo Cáceres
79f321cb44
.Any(), .Count() -> .Count or .Length
2022-05-18 11:42:36 -05:00
Matthias Mailänder
0f90713aba
Added addition error logging to graphics.log when SDL fails
2022-04-16 22:37:05 +02:00
penev92
ab09ce21b4
Changed code to use object initializers everywhere
2022-01-23 13:14:57 +01:00
Paul Chote
c958bf9680
Restore threaded renderer.
2021-09-26 15:19:20 +02:00
Paul Chote
4eefa637a3
Remove obsolete threaded renderer workarounds.
2021-09-20 22:33:25 +02:00
Matthias Mailänder
f08a0b113e
Allow mods to customize application title.
2021-09-19 22:29:50 +02:00
Paul Chote
5eb4c6a0bb
Set _KDE_NET_WM_DESKTOP_FILE x11 window property.
...
This explicitly tells KDE to associate the OpenRA window with
the integrated appimage desktop file, allowing it to use the
correct resolution icon for the task switcher.
2021-08-16 20:18:00 +02:00
abcdefg30
b8ba1b36fe
Don't throw an exception when creating a hardware cursor fails
2021-08-14 17:11:34 +01:00
abcdefg30
ba7e1319ac
Remove DisableWindowsRenderThread and use threaded renderering for non windowed mode
2021-08-07 14:49:09 +01:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
abcdefg30
3276373745
Pause rendering when the window is minimized
2021-04-26 21:56:20 +01:00
teinarss
d60c05eff3
Change to use pattern matching
2021-03-27 17:29:20 +01:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
Paul Chote
597b8b1caa
Hide legacy GL support behind a feature flag.
2020-10-12 12:24:22 +02:00
Paul Chote
2c0d512727
Package and default to GLES via ANGLE on windows.
2020-10-12 12:24:22 +02:00
Paul Chote
e5dc0309f1
Support OPENRA_DISPLAY_SCALE environment variable on Windows.
2020-09-12 00:37:20 +02:00
Brent Gardner
283b330403
Workaround for GLES 2.0 hardware
2020-09-01 18:00:51 +02:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
8d27d22100
Use discard syntax
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
Paul Chote
dac1f270ce
Restore legacy OpenGL 2.1 support.
2020-04-25 21:03:43 +02:00
Paul Chote
839be24053
Replace PreferGLES settings flag with GLProfile enum.
2020-04-25 21:03:43 +02:00
abcdefg30
3ba86f329f
Remove Game.HasInputFocus
2020-04-17 22:26:03 -05:00
Paul Chote
1485194ef3
Automatically scale DPI under Linux.
2020-02-16 13:44:50 +01:00
Martin Bertsche
98aef70e88
Added display selection option to settings for fullscreen modes.
2020-02-08 18:14:35 +00:00
Paul Chote
9a0916afbb
Add UI Scale dropdown to the settings menu.
2020-02-04 19:56:15 +01:00
Paul Chote
6388a6bff4
Add Graphics.UIScale setting to modify UI size.
2020-02-04 19:56:15 +01:00
Paul Chote
bf314fdc7b
Define window size in effective pixel coordinates.
2020-01-26 20:22:49 +01:00
Paul Chote
f0033c44c7
Use full window resolution on Windows.
2020-01-26 20:22:49 +01:00
Paul Chote
f7e5111123
Apply cursor doubling setting without requiring a restart.
2020-01-26 17:11:45 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00