I am trying to use a minimum set of PasVulkan at this time. Primarily focussing on the PasVulkan.Framework (and critical supporting units). If I use the library as is and I build my executable, the number of PasVulkan Units compiled is extensive and the executable is about 23Mb.
When I track down why I find an Implementation Uses PasVulkan.Application in the PasVulkan.NVIDIA.AfterMath unit. The unit only references the Application unit for the pvApplication.Title.
If I modify the PasVulkan.NVIDIA.AfterMath unit to have a var ApplicationName:String='' which is set by the pvApplication when int the pvApplication.SetTitle and the PasVulkan.NVIDIA.AfterMath only uses this variable I can remove a lot of pasVulkan units from the compile.
The result is a small set of PasVulkan units compiled and my executable drops to about 11Mb.
Would you consider this change to the code please?
I am trying to use a minimum set of PasVulkan at this time. Primarily focussing on the PasVulkan.Framework (and critical supporting units). If I use the library as is and I build my executable, the number of PasVulkan Units compiled is extensive and the executable is about 23Mb.
When I track down why I find an Implementation Uses PasVulkan.Application in the PasVulkan.NVIDIA.AfterMath unit. The unit only references the Application unit for the pvApplication.Title.
If I modify the PasVulkan.NVIDIA.AfterMath unit to have a var ApplicationName:String='' which is set by the pvApplication when int the pvApplication.SetTitle and the PasVulkan.NVIDIA.AfterMath only uses this variable I can remove a lot of pasVulkan units from the compile.
The result is a small set of PasVulkan units compiled and my executable drops to about 11Mb.
Would you consider this change to the code please?