switch root namespace name to NITLOAD

This commit is contained in:
Youmu Liu
2026-09-02 18:15:03 +08:00
parent 4218baad48
commit 7c7101ee48
502 changed files with 710 additions and 721 deletions
+5 -4
View File
@@ -29,8 +29,9 @@ build.ninja
BenchmarkDotNet.Artifacts/
# Khronos OpenGL Registry input is supplied locally; keep only its instructions.
/tools/StgSharp.GenerateGL/xml/*
!/tools/StgSharp.GenerateGL/xml/README.md
/tools/Nitload.GenerateGL/xml/*
!/tools/Nitload.GenerateGL/xml/README.md
/StgSharp.Native/lib/
!/StgSharp.Native/lib/**/CMakeLists.txt
/src/Nitload.Native/lib/*
!/src/Nitload.Native/lib/**/
!/src/Nitload.Native/lib/**/CMakeLists.txt
+1 -1
View File
@@ -51,7 +51,7 @@
<SolutionRoot>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), 'Directory.Build.props'))\</SolutionRoot>
<!-- native 库名称 -->
<NativeLibName>StgSharp.Native</NativeLibName>
<NativeLibName>Nitload.Native</NativeLibName>
</PropertyGroup>
<!-- ════════════════════════════════════════════════════════ -->
+4 -4
View File
@@ -21,7 +21,7 @@
SkipUnchangedFiles="true" />
<Message Importance="high"
Text="[StgSharp] $(MSBuildProjectName) → $(ManagedBuildDir)" />
Text="[Nitload] $(MSBuildProjectName) → $(ManagedBuildDir)" />
</Target>
<!-- ════════════════════════════════════════════════════════ -->
@@ -50,16 +50,16 @@
Condition="'@(_NativeLibFile)'!='' Or '@(_NativeSymFile)'!=''" />
<Message Importance="high"
Text="[StgSharp] Native $(NativeFileName) ($(BuildRid)) → $(OutputPath)"
Text="[Nitload] Native $(NativeFileName) ($(BuildRid)) → $(OutputPath)"
Condition="'@(_NativeLibFile)'!=''" />
<Warning Text="[StgSharp] Native library not found at $(NativeBuildDir)$(NativeFileName). Build StgSharp.Native first!"
<Warning Text="[Nitload] Native library not found at $(NativeBuildDir)$(NativeFileName). Build Nitload.Native first!"
Condition="!Exists('$(NativeBuildDir)$(NativeFileName)')" />
</Target>
<!-- ════════════════════════════════════════════════════════ -->
<!-- NuGet 打包:把所有已存在的 RID native 放进 runtimes/ -->
<!-- 只在 StgSharp.Common 里生效(通过 IsNativeHost 属性) -->
<!-- 只在 Nitload.Common 里生效(通过 IsNativeHost 属性) -->
<!-- ════════════════════════════════════════════════════════ -->
<Target Name="CollectNativeForPack"
BeforeTargets="GenerateNuspec"
+6 -6
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<package >
<metadata>
<id>StgSharp</id>
<id>Nitload</id>
<version>1.0.0</version>
<title>StgSharp</title>
<title>Nitload</title>
<authors>Nitload</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
@@ -15,8 +15,8 @@
<tags>OpenGL C#</tags>
</metadata>
<files>
<file src="StgSharp\bin\x64\Release\netstandard2.1\StgSharp.dll" target="lib\netstandard2.1\StgSharp.dll" />
<file src="StgSharp\bin\x64\Release\netstandard2.1\StgSharp.xml" target="lib\netstandard2.1\StgSharp.xml" />
<file src="StgSharp\bin\x64\Release\netstandard2.1\StgSharpC.dll" target="lib\netstandard2.1\StgSharpC.dll" />
<file src="src\Nitload.Common\bin\x64\Release\net8.0\Nitload.Common.dll" target="lib\net8.0\Nitload.Common.dll" />
<file src="src\Nitload.Common\bin\x64\Release\net8.0\Nitload.Common.xml" target="lib\net8.0\Nitload.Common.xml" />
<file src="bin\win-x64\Nitload.Native.dll" target="runtimes\win-x64\native\Nitload.Native.dll" />
</files>
</package>
</package>
+8 -8
View File
@@ -3,27 +3,27 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 18
VisualStudioVersion = 18.3.11520.95 d18.3
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Common", "src\StgSharp.Common\StgSharp.Common.csproj", "{3EAF2EE6-FA9E-4F57-951F-7E6F8125DFBF}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Common", "src\Nitload.Common\Nitload.Common.csproj", "{3EAF2EE6-FA9E-4F57-951F-7E6F8125DFBF}"
ProjectSection(ProjectDependencies) = postProject
{20CBFF26-6746-402E-992C-7B643E9423EB} = {20CBFF26-6746-402E-992C-7B643E9423EB}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StgSharp.Native", "src\StgSharp.Native\StgSharp.Native.vcxproj", "{20CBFF26-6746-402E-992C-7B643E9423EB}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Nitload.Native", "src\Nitload.Native\Nitload.Native.vcxproj", "{20CBFF26-6746-402E-992C-7B643E9423EB}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0961B2BE-415C-45EA-8607-5B83623B2EF7}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.TerminalDialogue", "src\StgSharp.TerminalDialogue\StgSharp.TerminalDialogue.csproj", "{10B5819F-2A62-41B6-980A-EB9E76A0E95C}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.TerminalDialogue", "src\Nitload.TerminalDialogue\Nitload.TerminalDialogue.csproj", "{10B5819F-2A62-41B6-980A-EB9E76A0E95C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Model", "src\StgSharp.Model\StgSharp.Model.csproj", "{D9538DE0-EE4C-4183-86D6-7DFC08A7BDFB}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Model", "src\Nitload.Model\Nitload.Model.csproj", "{D9538DE0-EE4C-4183-86D6-7DFC08A7BDFB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Mathematics", "src\StgSharp.Mathematics\StgSharp.Mathematics.csproj", "{9946599F-4D34-440F-840D-F9443D5AEFAA}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Mathematics", "src\Nitload.Mathematics\Nitload.Mathematics.csproj", "{9946599F-4D34-440F-840D-F9443D5AEFAA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.RegularAnalysis", "src\StgSharp.RegularAnalysis\StgSharp.RegularAnalysis.csproj", "{46339874-C6B8-4361-997E-2E30387E51F9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.RegularAnalysis", "src\Nitload.RegularAnalysis\Nitload.RegularAnalysis.csproj", "{46339874-C6B8-4361-997E-2E30387E51F9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Graphics", "src\StgSharp.Graphics\StgSharp.Graphics.csproj", "{80CD3DDE-0642-451D-82DF-0DE422FC6E34}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Graphics", "src\Nitload.Graphics\Nitload.Graphics.csproj", "{80CD3DDE-0642-451D-82DF-0DE422FC6E34}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -98,4 +98,4 @@ Global
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E13615C2-4C8D-4072-95A1-124440983818}
EndGlobalSection
EndGlobal
EndGlobal
+10 -10
View File
@@ -9,32 +9,32 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharpDebug", "test\StgSh
{20CBFF26-6746-402E-992C-7B643E9423EB} = {20CBFF26-6746-402E-992C-7B643E9423EB}
{3EAF2EE6-FA9E-4F57-951F-7E6F8125DFBF} = {3EAF2EE6-FA9E-4F57-951F-7E6F8125DFBF}
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0961B2BE-415C-45EA-8607-5B83623B2EF7}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Common", "src\StgSharp.Common\StgSharp.Common.csproj", "{3EAF2EE6-FA9E-4F57-951F-7E6F8125DFBF}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Common", "src\Nitload.Common\Nitload.Common.csproj", "{3EAF2EE6-FA9E-4F57-951F-7E6F8125DFBF}"
ProjectSection(ProjectDependencies) = postProject
{20CBFF26-6746-402E-992C-7B643E9423EB} = {20CBFF26-6746-402E-992C-7B643E9423EB}
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Benchmark", "src\Nitload.Benchmark\Nitload.Benchmark.csproj", "{0D4D2A8F-2B5B-4F7D-8D63-4A9AF4B4C782}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Benchmark", "src\StgSharp.Benchmark\StgSharp.Benchmark.csproj", "{0D4D2A8F-2B5B-4F7D-8D63-4A9AF4B4C782}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Nitload.Native", "src\Nitload.Native\Nitload.Native.vcxproj", "{20CBFF26-6746-402E-992C-7B643E9423EB}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StgSharp.Native", "src\StgSharp.Native\StgSharp.Native.vcxproj", "{20CBFF26-6746-402E-992C-7B643E9423EB}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.TerminalDialogue", "src\Nitload.TerminalDialogue\Nitload.TerminalDialogue.csproj", "{10B5819F-2A62-41B6-980A-EB9E76A0E95C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.TerminalDialogue", "src\StgSharp.TerminalDialogue\StgSharp.TerminalDialogue.csproj", "{10B5819F-2A62-41B6-980A-EB9E76A0E95C}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Model", "src\Nitload.Model\Nitload.Model.csproj", "{D9538DE0-EE4C-4183-86D6-7DFC08A7BDFB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Model", "src\StgSharp.Model\StgSharp.Model.csproj", "{D9538DE0-EE4C-4183-86D6-7DFC08A7BDFB}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Mathematics", "src\Nitload.Mathematics\Nitload.Mathematics.csproj", "{9946599F-4D34-440F-840D-F9443D5AEFAA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Mathematics", "src\StgSharp.Mathematics\StgSharp.Mathematics.csproj", "{9946599F-4D34-440F-840D-F9443D5AEFAA}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.RegularAnalysis", "src\Nitload.RegularAnalysis\Nitload.RegularAnalysis.csproj", "{46339874-C6B8-4361-997E-2E30387E51F9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.RegularAnalysis", "src\StgSharp.RegularAnalysis\StgSharp.RegularAnalysis.csproj", "{46339874-C6B8-4361-997E-2E30387E51F9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Graphics", "src\Nitload.Graphics\Nitload.Graphics.csproj", "{80CD3DDE-0642-451D-82DF-0DE422FC6E34}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Graphics", "src\StgSharp.Graphics\StgSharp.Graphics.csproj", "{80CD3DDE-0642-451D-82DF-0DE422FC6E34}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StgSharp.UserInterface", "src\StgSharp.UserInterface\StgSharp.UserInterface.csproj", "{E5F7BEEE-D666-F614-7FF7-55C11C810254}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nitload.UserInterface", "src\Nitload.UserInterface\Nitload.UserInterface.csproj", "{E5F7BEEE-D666-F614-7FF7-55C11C810254}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
+4 -4
View File
@@ -147,7 +147,7 @@ StgSharp is currently in development and requires compilation from source. **NuG
2. **Build the native library (recommended toolchain)**:
```bash
cmake --preset clang-release -S src/StgSharp.Native
cmake --preset clang-release -S src/Nitload.Native
cmake --build cmake_build/clang-release
```
@@ -156,7 +156,7 @@ StgSharp is currently in development and requires compilation from source. **NuG
3. **Build the managed projects**:
```bash
dotnet build StgSharp.sln
dotnet build Nitload.sln
```
Managed builds copy an existing native binary into their output directory. They do not invoke CMake automatically, so build `StgSharp.Native` first when native functionality is required.
@@ -226,8 +226,8 @@ allocator.Free(handle);
### Technical Documentation
- [TLSF Allocator](doc/InroductionToTLSF.md) - Arena layout, allocation behavior, and benchmark methodology
- [Native Library Build](src/StgSharp.Native/README.md) - Native build and source-layout notes
- [Native Library Naming](src/StgSharp.Native/naming.md) - Native library file naming conventions
- [Native Library Build](src/Nitload.Native/README.md) - Native build and source-layout notes
- [Native Library Naming](src/Nitload.Native/naming.md) - Native library file naming conventions
## Contributing
-6
View File
@@ -1,6 +0,0 @@
[
{
"Name": "新建配置文件",
"Projects": []
}
]
@@ -6,14 +6,14 @@
// -----------------------------------------------------------------------------
using BenchmarkDotNet.Attributes;
using StgSharp.HighPerformance.Memory;
using Nitload.Common.HighPerformance.Memory;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Tlsf = StgSharp.HighPerformance.Memory.TwoLayerSegregatedFitAllocator;
using Tlsf = Nitload.Common.HighPerformance.Memory.TwoLayerSegregatedFitAllocator;
namespace StgSharp.Benchmark
namespace Nitload.Benchmark
{
[MemoryDiagnoser]
public class TlsfAllocatorBench
@@ -10,12 +10,12 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\StgSharp.Common\StgSharp.Common.csproj" Properties="DisablePostBuildCopy=true" />
<ProjectReference Include="..\Nitload.Common\Nitload.Common.csproj" Properties="DisablePostBuildCopy=true" />
</ItemGroup>
<ItemGroup>
<NativeArtifacts Include="$(SolutionDir)build\**\StgSharp.Native*.dll" />
<NativeArtifacts Include="$(SolutionDir)build\**\StgSharp.Native*.pdb" />
<NativeArtifacts Include="$(SolutionDir)build\**\Nitload.Native*.dll" />
<NativeArtifacts Include="$(SolutionDir)build\**\Nitload.Native*.pdb" />
</ItemGroup>
<Target Name="CopyNativeArtifacts" AfterTargets="Build" Condition="'$(DisableNativeCopy)'!='true'">
@@ -10,7 +10,7 @@ using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Toolchains.InProcess.Emit;
using StgSharp.Benchmark;
using Nitload.Benchmark;
IConfig config = ManualConfig.Create(DefaultConfig.Instance)
.AddLogger(ConsoleLogger.Default)
@@ -6,12 +6,12 @@
// -----------------------------------------------------------------------------
using BenchmarkDotNet.Attributes;
using StgSharp.Collections;
using Nitload.Common.Collections;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace StgSharp.Benchmark
namespace Nitload.Benchmark
{
/// <summary>
/// Benchmark comparing SwissTable against <see cref="Dictionary{TKey, TValue}" /> under
@@ -11,7 +11,7 @@ using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
public sealed class BidirectionalDictionary<TFirst, TSecond> : IBidirectionalDictionary<TFirst, TSecond>
where TFirst : notnull
@@ -10,7 +10,7 @@ using System.Collections;
using System.Collections.Generic;
using System.Reflection;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
public sealed class CapacityFixedBag<T> : IEnumerable<T>
{
@@ -10,7 +10,7 @@ using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
public static class CapacityFixedListBuilder
{
@@ -13,7 +13,7 @@ using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Threading;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
[CollectionBuilder(typeof(CapacityFixedStackBuilder), nameof(CapacityFixedStackBuilder.Create))]
public class CapacityFixedStack<T> : IEnumerable<T>
@@ -11,7 +11,7 @@ using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
/// <summary>
/// Lock-free, fixed-capacity stack implemented on top of an array using atomic index
@@ -11,7 +11,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
public class ConcurrentFlexibleArray<T>(
int capacity = 4
@@ -7,7 +7,7 @@
using System.Collections.Generic;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
public interface IBidirectionalDictionary<TFirst, TSecond> : IDictionary<TFirst, TSecond>
{
@@ -9,7 +9,7 @@ using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
public static class LinearBagBuilder
{
@@ -14,7 +14,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
/// <summary>
/// Part of a collection. This contains a direct reference to _origin collection, so all
@@ -9,7 +9,7 @@ using System;
using System.Collections;
using System.Collections.Generic;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
public class RandomAccessibleStack<T> : IEnumerable<T>
{
@@ -10,7 +10,7 @@ using System.Numerics;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
public partial class SwissTable
{
@@ -12,7 +12,7 @@ using System.Runtime.InteropServices;
using System.Runtime.Intrinsics.Arm;
using System.Runtime.Intrinsics.X86;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
/// <summary>
///
@@ -12,7 +12,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
/// <summary>
/// Zero-overhead view over a contiguous region of unmanaged memory. Does not own the memory —
@@ -11,7 +11,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.Collections
namespace Nitload.Common.Collections
{
public unsafe class UnmanagedStack<T>(
T* address,
@@ -16,7 +16,7 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
namespace StgSharp
namespace Nitload
{
public static class Dialogue
{
@@ -92,7 +92,7 @@ namespace StgSharp
}
string consoleRoute = Path.Combine(
path, @"StgSharp.TerminalDialogue", $@"StgSharp.TerminalDialogue{exeName}");
path, @"Nitload.TerminalDialogue", $@"Nitload.TerminalDialogue{exeName}");
_dialogueProcessInfo = new ProcessStartInfo
{
@@ -11,7 +11,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp
namespace Nitload
{
public class UniformEmptyReferenceException : Exception
{
@@ -14,7 +14,7 @@ using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp
namespace Nitload
{
public static unsafe partial class World
{
@@ -9,7 +9,7 @@ using System;
using System.Collections;
using System.Collections.Generic;
namespace StgSharp
namespace Nitload
{
/// <summary>
/// Represents a statically activated module that can be registered and initialized as part of
@@ -5,15 +5,15 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.HighPerformance;
using StgSharp.HighPerformance.ProcessorAbstraction;
using StgSharp.Timing;
using Nitload.Common.HighPerformance;
using Nitload.Common.HighPerformance.ProcessorAbstraction;
using Nitload.Common.Timing;
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace StgSharp
namespace Nitload
{
internal enum GraphicAPI : byte
{
@@ -5,14 +5,14 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
global using StgSharp.Internal;
global using Nitload.Common.Internal;
global using System;
global using System.Runtime.CompilerServices;
global using System.Threading;
[assembly: InternalsVisibleTo("StgSharp.HighPerformance")]
[assembly: InternalsVisibleTo("StgSharp.RegularAnalysis")]
[assembly: InternalsVisibleTo("StgSharp.Graphics")]
[assembly: InternalsVisibleTo("StgSharp.Mathematics")]
[assembly: InternalsVisibleTo("Nitload.Common.HighPerformance")]
[assembly: InternalsVisibleTo("Nitload.RegularAnalysis")]
[assembly: InternalsVisibleTo("Nitload.Graphics")]
[assembly: InternalsVisibleTo("Nitload.Mathematics")]
[assembly: InternalsVisibleTo("StgSharpDebug")]
@@ -11,7 +11,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance
namespace Nitload.Common.HighPerformance
{
public class IdMultiplexer { }
}
@@ -10,7 +10,7 @@ using System.Buffers;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
[CollectionBuilder(typeof(BufferStackBuilder), nameof(BufferStackBuilder.Create))]
public unsafe class BufferStack<T> : IDisposable where T : unmanaged
@@ -94,22 +94,19 @@ namespace StgSharp.HighPerformance.Memory
}
/// <summary>
/// Fills the stack in place via a caller-supplied callback, mirroring
/// <c>CapacityFixedStack&lt;T&gt;.FillRange</c>.
/// Fills the stack in place via a caller-supplied callback, mirroring <c>
/// CapacityFixedStack&lt;T&gt;.FillRange </c>.
/// </summary>
/// <remarks>
/// Preferred over building a temporary span and handing it to
/// <see cref="BufferStackBuilder.Create{T}(ReadOnlySpan{T})"/>:
/// <list type="bullet">
/// <item>The caller no longer needs a scratch buffer at all — the
/// callback writes straight into this stack's native storage, so there
/// is no <c>stackalloc</c> to size and no copy afterwards.</item>
/// <item><c>Span&lt;T&gt;</c> does not implicitly convert to
/// <c>ReadOnlySpan&lt;T&gt;</c> in a way that participates in generic
/// type inference before C# 14, so <c>Create(span)</c> fails with
/// CS0411 on older compilers. Passing the element type through the
/// enclosing instance sidesteps inference entirely.</item>
/// </list>
/// Preferred over building a temporary span and handing it to <see
/// cref="BufferStackBuilder.Create{T}(ReadOnlySpan{T})" />: <list type="bullet"> ///
/// <item> The caller no longer needs a scratch buffer at all — the /// callback writes
/// straight into this stack's native storage, so there /// is no <c> stackalloc </c> to
/// size and no copy afterwards. </item> /// <item><c> Span&lt;T&gt; </c> does not
/// implicitly convert to /// <c> ReadOnlySpan&lt;T&gt; </c> in a way that participates in
/// generic /// type inference before C# 14, so <c> Create(span) </c> fails with ///
/// CS0411 on older compilers. Passing the element type through the /// enclosing instance
/// sidesteps inference entirely. </item> ///</list>
/// </remarks>
internal unsafe void FillRange(
SpanAction<T, nuint> filling,
@@ -191,4 +188,4 @@ namespace StgSharp.HighPerformance.Memory
}
}
}
}
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Threading;
using Nitload.Threading;
using System;
using System.Buffers;
@@ -14,7 +14,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
public static class BufferStackBuilder
{
@@ -5,10 +5,10 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.HighPerformance.ProcessorAbstraction;
using Nitload.Common.HighPerformance.ProcessorAbstraction;
using System.Runtime.InteropServices;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
public partial class L4
{
@@ -11,7 +11,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
/**/
public partial class L4
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
public partial class L4
{
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
#pragma warning disable CA1032 // Implement standard exception constructors
@@ -5,8 +5,8 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Collections;
using StgSharp.HighPerformance.Memory;
using Nitload.Common.Collections;
using Nitload.Common.HighPerformance.Memory;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
@@ -14,7 +14,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
public partial class L4
{
@@ -12,7 +12,7 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
[Flags]
public enum PredictResult
@@ -8,7 +8,7 @@
using System.ComponentModel;
using System.Numerics;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
public unsafe partial class L4
{
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.HighPerformance.ProcessorAbstraction;
using Nitload.Common.HighPerformance.ProcessorAbstraction;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
public partial class L4
{
@@ -5,13 +5,13 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Collections;
using StgSharp.HighPerformance.Memory;
using StgSharp.HighPerformance.ProcessorAbstraction;
using Nitload.Common.Collections;
using Nitload.Common.HighPerformance.Memory;
using Nitload.Common.HighPerformance.ProcessorAbstraction;
using System.Data;
using System.Runtime.InteropServices;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
public sealed unsafe partial class L4 : IDisposable
{
@@ -14,7 +14,7 @@ using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
#pragma warning disable CA2225
@@ -8,7 +8,7 @@
using System;
using System.Runtime.CompilerServices;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
public unsafe struct SlabAllocationHandle<T> : IDisposable where T : unmanaged
{
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Threading;
using Nitload.Threading;
using System;
using System.Collections.Generic;
@@ -13,7 +13,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
internal sealed unsafe class ChunkedSlabAllocator<T> : SlabAllocator<T> where T : unmanaged
{
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Threading;
using Nitload.Threading;
using System;
using System.Collections.Generic;
@@ -16,7 +16,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
internal sealed unsafe class ConcurrentChunkedSlabAllocator<T> : SlabAllocator<T>
where T : unmanaged
@@ -5,9 +5,9 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Collections;
using StgSharp.HighPerformance.Memory;
using StgSharp.Threading;
using Nitload.Common.Collections;
using Nitload.Common.HighPerformance.Memory;
using Nitload.Threading;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -15,7 +15,7 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
internal unsafe class FixedSlabAllocator<T> : SlabAllocator<T> where T : unmanaged
{
@@ -5,14 +5,14 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Threading;
using Nitload.Threading;
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
public sealed unsafe class ConcurrentSequentialSlabAllocator<T> : SlabAllocator<T>
where T : unmanaged
@@ -5,10 +5,10 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.HighPerformance.Memory;
using Nitload.Common.HighPerformance.Memory;
using System;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
public static class SlabAllocator
{
@@ -5,8 +5,8 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.HighPerformance.Memory;
using StgSharp.HighPerformance.ProcessorAbstraction;
using Nitload.Common.HighPerformance.Memory;
using Nitload.Common.HighPerformance.ProcessorAbstraction;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -18,9 +18,9 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using static StgSharp.HighPerformance.Memory.TwoLayerSegregatedFitAllocator;
using static Nitload.Common.HighPerformance.Memory.TwoLayerSegregatedFitAllocator;
namespace StgSharp.HighPerformance.Memory
namespace Nitload.Common.HighPerformance.Memory
{
public unsafe class TwoLayerSegregatedFitAllocator : IDisposable
{
@@ -12,7 +12,7 @@ using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.ProcessorAbstraction
namespace Nitload.Common.HighPerformance.ProcessorAbstraction
{
/// <summary>
/// Abstraction for a wide SIMD register or equivalent packed numeric storage. Provides raw
@@ -11,7 +11,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.ProcessorAbstraction
namespace Nitload.Common.HighPerformance.ProcessorAbstraction
{
public readonly struct LogicalCore
{
@@ -16,7 +16,7 @@ using System.Runtime.Intrinsics.X86;
using System.Text;
namespace StgSharp.HighPerformance.ProcessorAbstraction
namespace Nitload.Common.HighPerformance.ProcessorAbstraction
{
[StructLayout(LayoutKind.Explicit, Pack = 16)]
public unsafe struct M128 : IRegisterPresentation
@@ -15,7 +15,7 @@ using System.Runtime.Intrinsics;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.ProcessorAbstraction
namespace Nitload.Common.HighPerformance.ProcessorAbstraction
{
[StructLayout(LayoutKind.Explicit, Pack = 16)]
public unsafe struct M256 : IRegisterPresentation
@@ -15,7 +15,7 @@ using System.Runtime.Intrinsics;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.ProcessorAbstraction
namespace Nitload.Common.HighPerformance.ProcessorAbstraction
{
[StructLayout(LayoutKind.Explicit, Size = 64, Pack = 64)]
public unsafe struct M512 : IRegisterPresentation
@@ -10,7 +10,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
namespace StgSharp.HighPerformance.ProcessorAbstraction
namespace Nitload.Common.HighPerformance.ProcessorAbstraction
{
[StructLayout(LayoutKind.Explicit, Pack = 8)]
public unsafe struct M64 : IRegisterPresentation
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.HighPerformance.Memory;
using Nitload.Common.HighPerformance.Memory;
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
@@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.ProcessorAbstraction
namespace Nitload.Common.HighPerformance.ProcessorAbstraction
{
public static partial class Numa
{
@@ -12,7 +12,7 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.HighPerformance.ProcessorAbstraction
namespace Nitload.Common.HighPerformance.ProcessorAbstraction
{
public class NumaNode
{
@@ -10,7 +10,7 @@ using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
namespace StgSharp.Internal
namespace Nitload.Common.Internal
{
internal static unsafe partial class DefaultLog
{
@@ -11,13 +11,13 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.Internal
namespace Nitload.Common.Internal
{
internal static unsafe partial class Native
{
internal const string LibName =
"StgSharp.Native";
"Nitload.Native";
internal const string LogPath =
"SS_error.log";
@@ -11,7 +11,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp
namespace Nitload
{
public enum LogType
{
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.PipeLine;
using Nitload.Common.PipeLine;
using System;
using System.Collections.Generic;
@@ -13,7 +13,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace StgSharp.PipeLine
namespace Nitload.Common.PipeLine
{
public class CrossFrameOperation : IConvertableToPipelineNode
{
@@ -10,7 +10,7 @@ using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace StgSharp.PipeLine
namespace Nitload.Common.PipeLine
{
public delegate void PipelineNodeOperation(
in Dictionary<string, PipelineNodeInPort> input,
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Threading;
using Nitload.Threading;
using System;
using System.Collections.Concurrent;
@@ -18,7 +18,7 @@ using System.Threading;
using System.Threading.Tasks;
namespace StgSharp.PipeLine
namespace Nitload.Common.PipeLine
{
public static class PipeLineRunner
{
@@ -13,7 +13,7 @@ using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.PipeLine
namespace Nitload.Common.PipeLine
{
public static class PipelineMarshal
{
@@ -16,7 +16,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace StgSharp.PipeLine
namespace Nitload.Common.PipeLine
{
/// <summary>
///
@@ -13,7 +13,7 @@ using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.PipeLine
namespace Nitload.Common.PipeLine
{
public abstract record class PipelineNodeLabel
{
@@ -13,7 +13,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace StgSharp.PipeLine
namespace Nitload.Common.PipeLine
{
public class PipelineNodeInPort
{
@@ -14,7 +14,7 @@ using System.Threading;
using System.Xml;
using System.Xml.Linq;
namespace StgSharp.PipeLine
namespace Nitload.Common.PipeLine
{
/// <summary>
/// A sets of complex logic designed for running in multi threads environment. Warning: do not
@@ -15,7 +15,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace StgSharp.PipeLine
namespace Nitload.Common.PipeLine
{
public class PipelineConnector
{
@@ -14,7 +14,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace StgSharp.PipeLine
namespace Nitload.Common.PipeLine
{
internal sealed class BeginningNode : PipelineNode
{
@@ -12,7 +12,7 @@ using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.State
namespace Nitload.State
{
public interface ISimpleStateMachine<TStateNode, TStateLabel, TStateContext>
where TStateNode : SimpleStateMachineNode<TStateNode, TStateLabel, TStateContext>
@@ -13,7 +13,7 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.State
namespace Nitload.State
{
public abstract class SimpleStateMachineNode<TSelf, TLabel, TStateContext>
where TSelf : SimpleStateMachineNode<TSelf, TLabel, TStateContext>
@@ -11,7 +11,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.State
namespace Nitload.State
{
public abstract class StateContext { }
}
@@ -13,7 +13,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace StgSharp.Threading
namespace Nitload.Threading
{
/// <summary>
/// Provide a lock for managing concurrent access to a buffer that can be expanded and use a
@@ -13,7 +13,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace StgSharp.Threading
namespace Nitload.Threading
{
public class CancellableTask : IDisposable
{
@@ -8,7 +8,7 @@
using System;
using System.Threading;
namespace StgSharp.Threading
namespace Nitload.Threading
{
/// <summary>
/// A single-consumer bell/signal primitive.
@@ -5,13 +5,13 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.HighPerformance.ProcessorAbstraction;
using Nitload.Common.HighPerformance.ProcessorAbstraction;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading;
namespace StgSharp.Threading
namespace Nitload.Threading
{
public static partial class ThreadHelper
{
@@ -9,7 +9,7 @@ using System;
using System.Runtime.CompilerServices;
using System.Threading;
namespace StgSharp.Threading
namespace Nitload.Threading
{
/// <summary>
/// A counting semaphore with adjustable maximum capacity at runtime. Implemented using one or
@@ -5,14 +5,14 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Collections;
using StgSharp.HighPerformance.ProcessorAbstraction;
using StgSharp.Timing;
using Nitload.Common.Collections;
using Nitload.Common.HighPerformance.ProcessorAbstraction;
using Nitload.Common.Timing;
using System;
using System.Diagnostics;
using System.Threading;
namespace StgSharp
namespace Nitload
{
public static partial class World
{
@@ -5,11 +5,11 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Timing;
using Nitload.Common.Timing;
using System;
using System.Runtime.CompilerServices;
namespace StgSharp.Timing
namespace Nitload.Common.Timing
{
public abstract class TimeSequence
{
@@ -5,13 +5,13 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp;
using StgSharp.HighPerformance.ProcessorAbstraction;
using Nitload;
using Nitload.Common.HighPerformance.ProcessorAbstraction;
using System;
using System.Linq;
using System.Threading;
namespace StgSharp.Timing
namespace Nitload.Common.Timing
{
public class TimeSourceStartupConfiguration(
nuint bindedNumaNode = 0,
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.HighPerformance.Memory;
using Nitload.Common.HighPerformance.Memory;
using System;
using System.Collections.Concurrent;
@@ -13,7 +13,7 @@ using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
namespace StgSharp.Timing
namespace Nitload.Common.Timing
{
public partial class TimeSpanProvider
{
@@ -5,12 +5,12 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Timing;
using Nitload.Common.Timing;
using System;
using System.Runtime.CompilerServices;
using System.Threading;
namespace StgSharp.Timing
namespace Nitload.Common.Timing
{
/// <summary>
/// TimeSpanProvider: uses a bound TimeSequence and TimeSourceProviderBase to publish span
@@ -9,7 +9,7 @@ using System;
using System.Collections.Generic;
using System.Text;
namespace StgSharp.Graphics
namespace Nitload.Graphics
{
public interface IImageProvider
{
@@ -10,7 +10,7 @@ using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace StgSharp.Graphics
namespace Nitload.Graphics
{
public static class ImageHelper
{
@@ -5,15 +5,15 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Graphics;
using StgSharp.Graphics.OpenGL;
using Nitload.Graphics;
using Nitload.Graphics.OpenGL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.Graphics
namespace Nitload.Graphics
{
/// <summary>
/// Interface of all kinds OpenGL BufferHandle objects
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp;
using Nitload;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -13,7 +13,7 @@ using System.Text;
using System.Threading.Tasks;
namespace StgSharp.Graphics
namespace Nitload.Graphics
{
public class GraphicModuel : IStaticModule
{
@@ -5,12 +5,12 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Internal;
using Nitload.Common.Internal;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace StgSharp.Graphics
namespace Nitload.Graphics
{
internal static unsafe partial class GraphicFramework
{
@@ -5,12 +5,12 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Graphics.OpenGL;
using Nitload.Graphics.OpenGL;
using System;
using System.Runtime.CompilerServices;
namespace StgSharp.Graphics
namespace Nitload.Graphics
{
public class Image : IImageProvider
{
@@ -5,14 +5,14 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Graphics.OpenGL;
using Nitload.Graphics.OpenGL;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace StgSharp.Graphics
namespace Nitload.Graphics
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
public delegate IntPtr ImageLoader(
@@ -5,8 +5,8 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Collections;
using StgSharp.Graphics;
using Nitload.Common.Collections;
using Nitload.Graphics;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
@@ -16,7 +16,7 @@ using System.Text;
using System.Threading.Tasks;
namespace StgSharp.Graphics.OpenGL
namespace Nitload.Graphics.OpenGL
{
/// <summary>
/// A collection of a sets of OpenGL textures. The collection can automatically select one of
@@ -5,13 +5,13 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Graphics.OpenGL;
using Nitload.Graphics.OpenGL;
using System;
using System.Collections.Generic;
using System.Text;
namespace StgSharp.Graphics.OpenGL
namespace Nitload.Graphics.OpenGL
{
public abstract class GlBufferObjectBase : BufferObjectBase
{
@@ -1,12 +1,12 @@
// <auto-generated>
// Generated by StgSharp.GenerateGL on 2026-08-25 09:22:55Z
// <auto-generated>
// Generated by Nitload.GenerateGL on 2026-08-25 09:22:55Z
// Command availability history
// </auto-generated>
using System;
using System.Collections.Frozen;
using System.Collections.Generic;
namespace StgSharp.Graphics.OpenGL
namespace Nitload.Graphics.OpenGL
{
internal enum CommandHistoryAction { Added, Removed }
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using StgSharp.Graphics.OpenGL;
using Nitload.Graphics.OpenGL;
using System;
using System.Collections.Generic;
@@ -13,7 +13,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.Graphics.ShaderEdit
namespace Nitload.Graphics.ShaderEdit
{
public interface IglConvertable
{

Some files were not shown because too many files have changed in this diff Show More