Commit Graph

22798 Commits

Author SHA1 Message Date
Benau
4d2c65ade9 Add render driver switch in lobby command 2022-04-01 12:19:21 +08:00
Benau
6c7e4f25ea Quit the app if vkQueueSubmit with fence fails
It prevents infinitive vkWaitForFences later
2022-04-01 10:16:28 +08:00
Benau
601511e7f4 Split device polling out of renderLoading 2022-04-01 09:59:46 +08:00
Benau
1c99ba2562 Fix clang warnings 2022-03-31 11:55:23 +08:00
Benau
9c7fb99e53 Fix one validation warning 2022-03-31 11:34:47 +08:00
David Carlier
4f4fb01ed7 upstreaming change for settings paths for haiku.
original author @threedeyes slighty adapted.
2022-03-29 22:28:23 +00:00
Benau
cd9e2f0adf Remove always exiting behaviour when pausing vulkan enabled stk 2022-03-28 15:30:42 +08:00
Panagiotis "Ivory" Vasilopoulos
0c147c0a0b Fix URLs on Haiku
My general strategy of getting ports to work on Haiku is to just take advantage
of whatever makes things work on FreeBSD by adding an additional condition and
then fixing up things later once it compiles successfully. This generally
works, as Haiku contains FreeBSD headers for compatibility and code that
takes other operating systems into account other than Windows, Linux and OS X
and has a higher degree of POSIX compatibility tends to work on FreeBSD and
Haiku. This strategy is not perfect, and this commit proves it.

Haiku is the successor of BeOS, which, in turn, shows similarities to macOS
every now and then, as the company almost acquired Be, Inc., but later chose to
acquired NeXT, Inc. instead.

`xdg-open` is not available on Haiku by default the same way it is on
FreeBSD and Linux. With that in mind, this should fix URLs, which do
not not work properly on Haiku. Actually, nevermind, I forgot that there
is actually a package available that adds support for them. But still.
The less dependencies, the better, probably. This is also how other
packages with ports available on Haiku solve this problem.
2022-03-27 21:22:48 +02:00
David Carlier
37a57d0011 Fix build for Haiku and a handful of other oses with the spirv-tools dependency. 2022-03-26 15:05:08 +00:00
Benau
bed91e67a0 Handle device orientation with vulkan pre-rotation 2022-03-26 00:19:09 +08:00
Benau
3d92730a82 Fix incorrect android screen rotation with vulkan 2022-03-25 09:04:08 +08:00
Benau
68eb70e7e6 Use dynamic viewport for GEVulkan2dRenderer 2022-03-24 16:37:34 +08:00
Benau
23cd67f45c Implement draw2DRectangle for GEVulkanDriver 2022-03-23 10:53:00 +08:00
Benau
9e50c8a71f Remove unneeded files, fix #4751 2022-03-22 07:51:45 +08:00
Benau
3e2ff91654 Add dynamic scissor support 2022-03-21 11:54:28 +08:00
Benau
ea1733ed08 Add drawing code for devices with low sampler images 2022-03-20 13:35:22 +08:00
Benau
bb6551fdf6 Add drawing code for devices without descriptor indexing 2022-03-19 16:09:32 +08:00
Benau
1cf2c0c5bf Add initial 2D vulkan rendering 2022-03-19 15:14:55 +08:00
Benau
cb607a16ff Add GEVulkanShaderManager 2022-03-18 16:24:33 +08:00
Benau
89afd214e8 Require shaderSampledImageArrayDynamicIndexing for vulkan 2022-03-18 09:24:55 +08:00
Benau
1d0d2ebb75 Fix windows xp support 2022-03-17 15:12:08 +08:00
Benau
5128fc3a88 Add link to download python for windows 2022-03-17 14:30:21 +08:00
Benau
77ca4625c1 Add shaderc for android 2022-03-17 14:25:11 +08:00
Benau
9ea2f3ff8c Fix cctools build 2022-03-17 14:06:27 +08:00
Benau
38a553513c Fix switch build 2022-03-17 13:52:46 +08:00
Benau
f01959de8b Disable documentation generation for shaderc 2022-03-17 13:36:27 +08:00
Benau
2bc31f1518 Disable shared libraries manually for shaderc 2022-03-17 13:12:55 +08:00
Benau
bc1d885bd1 Add shaderc v2022.1 for GLSL to SPIR-V shaders
Ran ./utils/git-sync-deps already, removed some unneeded files
2022-03-17 12:21:20 +08:00
Benau
c19327aaeb Fix vsync disabled 2022-03-16 15:43:26 +08:00
Benau
a7994c02d8 Fix command buffers size 2022-03-16 12:37:18 +08:00
Benau
d6265f3bf7 Handle possible error from createTextureImage 2022-03-15 14:04:36 +08:00
Benau
4b28f5b9af Wait queue to become idle before deleting texture 2022-03-15 12:42:31 +08:00
Benau
ea275ae798 Use a correct layout during updateTexture 2022-03-14 09:43:22 +08:00
Benau
f35f402edf Fix VkDeviceQueueCreateInfo warning 2022-03-13 10:54:35 +08:00
Benau
4a93bea962 Fix MSVC 2015 build 2022-03-12 16:43:32 +08:00
David Carlier
9fb568eaa7 widening a bit smart pointers usage considering xml data. 2022-03-12 07:43:13 +00:00
David Carlier
18018a5cc1 scoped deref mem utils intro proposal.
trying out in two cases for now.
2022-03-06 19:02:15 +00:00
Benau
854c31be9d Update CREDITS 2022-03-05 08:57:39 +08:00
Benau
d2b2e80faa Fix #4737 2022-03-03 14:39:45 +08:00
Benau
8a5ecc458f Fix apple build 2022-03-01 16:25:25 +08:00
Benau
7bccb0b779 Remove build cache for msvc 2022-03-01 16:06:48 +08:00
Benau
17a899aa2c Fix exit crash 2022-03-01 15:59:48 +08:00
Benau
8b68f52e57 Add GEVulkanTexture 2022-03-01 13:22:20 +08:00
David Carlier
fcf7cf953f http curl client favoured new progress api if supported.
suppress openssl warning with openssl 3.0
2022-02-26 11:49:44 +00:00
Benau
c63faf395f Remove unneeded character saving, we always get it from translated string if needed
It causes undefined behavior in C++20, see #4735
2022-02-25 11:20:52 +08:00
Benau
dcdc66b8f5 Fix undefined behavior in C++20, see #4735 2022-02-25 11:13:27 +08:00
Benau
09e7a38c52 Update for windows-latest 2022-02-18 15:04:00 +08:00
luffah
bd1b20ad35 Minimap and powerup icon settings in user settings
- add size and display settings for powerup icon in user settings
 - move minimap display settings in user settings
 - fix some comments in stk_config.xml
2022-02-13 22:36:20 +01:00
tippfehlr
9a3c51815a
Add DisplayVersion to Windows registry on install (+typo) (#4730)
Winget relies on this value to get the version of a program.
If it's missing winget will just download the newest version even if the program is up to date.
See https://github.com/microsoft/winget-cli/issues/1255
2022-02-13 11:30:56 +08:00
David CARLIER
1f0ea77f80
illumos port. (#4732)
overcoming sun constant defined in this platform.
forcing 64 bits build as angelscript assembly is incorrect for 32 bits.
2022-02-13 00:31:14 +08:00