Commit Graph

6359 Commits

Author SHA1 Message Date
Jérôme Leclercq
03e2801dbe Split engine to packages NazaraUtils and NZSL (#375)
* Move code to NazaraUtils and NZSL packages

* Reorder includes

* Tests: Remove glslang and spirv-tools deps

* Tests: Remove glslang init

* Remove NazaraUtils tests and fix Vector4Test

* Fix Linux compilation

* Update msys2-build.yml

* Fix assimp package

* Update xmake.lua

* Update xmake.lua

* Fix shader compilation on MinGW

* Final fixes

* The final fix 2: the fix strikes back!

* Disable cache on CI

* The return of the fix™️
2022-05-25 19:36:10 +02:00
SirLynix
3f8f1c4653 Core/TypeList: Improve ListConcat compile-time
seriously I have no idea why I implemented it like that
2022-05-19 09:04:06 +02:00
Lynix
0e82c2893a Core/VirtualDirectory: Prevent storing . and .. entries 2022-05-16 21:32:59 +02:00
Lynix
52f822fbcb Math/Matrix4: Add TransformInverse(translation, rotation, scale) 2022-05-15 22:29:20 +02:00
Lynix
dd4be081aa Core/VirtualDirectory: Add Uproot property 2022-05-14 10:22:22 +02:00
SirLynix
b6ab3ba1b3 Graphics: Add light type 2022-05-12 23:09:40 +02:00
SirLynix
5544d336ab Shader: Fix index remapping when importing a text shader in a precompiled shader 2022-05-12 23:08:21 +02:00
SirLynix
6469ab5fde Utility: Refactor some algorithms 2022-05-12 18:15:20 +02:00
SirLynix
7c2b8e0576 Core/File: Add WriteWhole static function 2022-05-12 18:11:41 +02:00
SirLynix
a8e69882fb Core/PluginManager: Fix plugin loading under Linux 2022-05-09 13:19:44 +02:00
SirLynix
b0ecb64f19 OpenGLRenderer: Fix loading of glSpecializeShader 2022-05-09 13:19:31 +02:00
SirLynix
6dc2cefc2c Add some missing includes 2022-05-09 09:00:17 +02:00
Lynix
df55a02fa7 Core/VirtualDirectory: Add GetFileContent method 2022-05-08 15:50:59 +02:00
Lynix
5f389ef0a4 Core/File: Add ReadWhole 2022-05-08 15:50:29 +02:00
Lynix
3c8b4c2587 Audio: Fix loading of OpenAL 2022-05-08 15:44:59 +02:00
Lynix
17b1c2407d Audio/AudioSource: Add GetSampleOffsetAndLatency 2022-05-08 15:44:41 +02:00
SirLynix
41712a3f18 Minor fixes 2022-05-08 13:21:20 +02:00
SirLynix
4794073b73 Audio: Add support for AL_SOFT_source_latency 2022-05-08 13:20:55 +02:00
SirLynix
b8b0057ca3 XMake: Add --log-format=vs only in VS (requires xmake dev) 2022-05-07 15:31:32 +02:00
SirLynix
95dc7aa15c Try to fix MusicTest 2022-05-07 15:31:07 +02:00
SirLynix
00f11a74dc ShaderCompiler: Don't return success if compilation failed 2022-05-07 15:30:44 +02:00
SirLynix
21a38fb31b Audio: Add some fixes and tests 2022-05-06 12:41:02 +02:00
SirLynix
81085508ec Minor fixes 2022-05-05 20:20:44 +02:00
SirLynix
973b589b08 Shader: Fix conditional statement handling in partial compilation mode 2022-05-05 20:19:27 +02:00
SirLynix
e62969999a ShaderCompiler: Add --log-format option 2022-05-05 20:18:34 +02:00
SirLynix
106d629342 Shader: Update SPIRV data 2022-05-05 20:17:32 +02:00
SirLynix
23e869d4d6 Build: Add deferred compilation shader option 2022-05-05 20:17:16 +02:00
Jérôme Leclercq
2a3646135a CI: Enable unity build on macOS 2022-05-05 08:38:15 +02:00
Jérôme Leclercq
0d4648f661 Add macOS build status 2022-05-04 22:13:06 +02:00
Alexandre Janniaux
5c2595646b github: macos-build: build the whole engine
Enable the build of the whole engine now that VulkanRenderer can compile
on macOS.
2022-05-04 22:12:01 +02:00
Alexandre Janniaux
f146661a76 VulkanRenderer: implement metal view
The metal view backing the MoltenVK compatibility wrapper is written in
Obj-C.

It would have been possible to use the Objective-C runtime in C++ but
the code is less performant (the symbol binding is done at first use
instead of the beginning of the program) and actually harder to get
right.

Note that MoltenVK is not linked to the loader, so the libMoltenVK.dylib
object must be available for loading.
2022-05-04 22:12:01 +02:00
Jérôme Leclercq
162456c5b6 CI: Set specific coverage key for dependencies 2022-05-03 21:21:23 +02:00
Jérôme Leclercq
e6c74fbc5f Physics2D/Constraint2D: Add method GetLastImpulse 2022-05-01 17:37:11 +02:00
SirLynix
60b7671b54 CI: Fix XMAKE_GLOBALDIR on Windows 2022-04-30 15:37:01 +02:00
SirLynix
d3f1707ed4 Update msys2-build.yml 2022-04-30 15:23:00 +02:00
SirLynix
ab80965e89 CI: Fix package key 2022-04-30 15:18:39 +02:00
SirLynix
5400b49180 CI: Improve and fix 2022-04-30 15:12:50 +02:00
SirLynix
1ba3655869 CI: Improve coverage (+ fix package cache on Windows) 2022-04-30 14:30:51 +02:00
SirLynix
5f345555ab CI: Make caches last one week at most 2022-04-30 14:27:29 +02:00
Jérôme Leclercq
b2bdcc63d0 Update coverage.yml 2022-04-29 18:57:43 +02:00
Jérôme Leclercq
d64a69dff7 Update coverage.yml 2022-04-29 18:25:29 +02:00
Jérôme Leclercq
606136a740 Update coverage.yml 2022-04-29 18:10:53 +02:00
Jérôme Leclercq
1c7092d4ea Update coverage.yml 2022-04-29 17:38:40 +02:00
Jérôme Leclercq
1c2b921b05 Update coverage.yml 2022-04-29 13:30:53 +02:00
SirLynix
922b07c306 Update coverage.yml 2022-04-29 13:17:51 +02:00
SirLynix
aba548f4e5 CI: Switch Linux to ubuntu-latest 2022-04-29 13:16:02 +02:00
SirLynix
4bc849e624 Try to run coverage on Windows 2022-04-29 13:13:51 +02:00
SirLynix
da70722155 Update msys2-build.yml 2022-04-28 22:59:33 +02:00
SirLynix
af69c2bed8 CI: Fix MinGW build 2022-04-28 18:12:41 +02:00
SirLynix
97ab25f9ae CI: Upgrade actions/cache version 2022-04-28 18:02:51 +02:00