Add Linux support

- Add linux build system using MakeGen
- Fix a swapchain validation error, likelydue to my linux system using a
  different vulkan version
- Make DescriptorPool take in amount of descriptors it needs, instead of
  allocating a mass amount for every pool, causing loads of RAM/VRAM usage
This commit is contained in:
Tim Håkansson
2025-08-09 21:42:15 +02:00
committed by GitHub
parent ecc11f07db
commit 4d2dfce31c
69 changed files with 389 additions and 152 deletions
+31
View File
@@ -0,0 +1,31 @@
<makegen>
<configuration name="Release">
<define>MSDF_ATLAS_PUBLIC=</define>
<generatehfile>false</generatehfile>
<outputdir>bin/Release/</outputdir>
<outputname>libmsdfgen-core.so</outputname>
<outputtype>sharedlibrary</outputtype>
<projectname>MsdfGenCore</projectname>
<includedir>../../repos/msdf-atlas-gen/msdf-atlas-gen/</includedir>
<includedir>../../repos/msdf-atlas-gen/msdfgen/</includedir>
<includedir>../../repos/msdf-atlas-gen/artery-font-format/</includedir>
<srcdir>../../repos/msdf-atlas-gen/msdfgen/core/</srcdir>
</configuration>
<configuration name="Debug">
<cflag>-g3</cflag>
<cflag>-w</cflag>
<define>_DEBUG</define>
<define>MSDF_ATLAS_PUBLIC=</define>
<generatehfile>false</generatehfile>
<outputdir>bin/Debug/</outputdir>
<outputname>libmsdfgen-core.so</outputname>
<outputtype>sharedlibrary</outputtype>
<projectname>MsdfGenCore</projectname>
<includedir>../../repos/msdf-atlas-gen/msdf-atlas-gen/</includedir>
<includedir>../../repos/msdf-atlas-gen/msdfgen/</includedir>
<includedir>../../repos/msdf-atlas-gen/artery-font-format/</includedir>
<srcdir>../../repos/msdf-atlas-gen/msdfgen/core/</srcdir>
</configuration>
<target>Debug</target>
<version>v1.3.6</version>
</makegen>