daily update on 20230829 by nitload youmu
This commit is contained in:
@@ -28,10 +28,10 @@ namespace StgSharp
|
||||
|
||||
}
|
||||
|
||||
internal static void InitM128map(Pool target)
|
||||
internal static void InitVector4map(Pool target)
|
||||
{
|
||||
M128Map map = new M128Map();
|
||||
TimeLine.GetCurrentPool()._m128mapContainer.Add(map);
|
||||
Vector4Map map = new Vector4Map();
|
||||
TimeLine.GetCurrentPool()._Vector4mapContainer.Add(map);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -18,31 +18,31 @@ namespace StgSharp
|
||||
/**/
|
||||
}
|
||||
|
||||
internal static M128Map GetAvailabem128map()
|
||||
internal static Vector4Map GetAvailabeVector4map()
|
||||
{
|
||||
Pool p = TimeLine.GetCurrentPool();
|
||||
M128Map lastMap = p._m128mapContainer.Tail;
|
||||
Vector4Map lastMap = p._Vector4mapContainer.Tail;
|
||||
|
||||
if (lastMap.isFull)
|
||||
{
|
||||
lastMap = new M128Map();
|
||||
p._m128mapContainer.Add(lastMap);
|
||||
lastMap = new Vector4Map();
|
||||
p._Vector4mapContainer.Add(lastMap);
|
||||
}
|
||||
|
||||
return lastMap;
|
||||
}
|
||||
|
||||
internal static long GetAvailableM128ptr()
|
||||
internal static long GetAvailableVector4ptr()
|
||||
{
|
||||
Pool p = TimeLine.GetCurrentPool();
|
||||
M128Map lastMap = p._m128mapContainer.Tail;
|
||||
Vector4Map lastMap = p._Vector4mapContainer.Tail;
|
||||
|
||||
if (lastMap.isFull)
|
||||
{
|
||||
lastMap = new M128Map();
|
||||
p._m128mapContainer.Add(lastMap);
|
||||
lastMap = new Vector4Map();
|
||||
p._Vector4mapContainer.Add(lastMap);
|
||||
}
|
||||
long ptr = lastMap.RegistManagedM128Ptr();
|
||||
long ptr = lastMap.RegistManagedVector4Ptr();
|
||||
|
||||
return ptr;
|
||||
}
|
||||
|
||||
@@ -7,15 +7,15 @@ namespace StgSharp
|
||||
{
|
||||
internal static partial class internalIO
|
||||
{
|
||||
[DllImport("StgSharpGraphic.dll",EntryPoint = "loadGLApi",
|
||||
[DllImport("StgSharpGraphic",EntryPoint = "loadGLApi",
|
||||
CallingConvention = CallingConvention.Cdecl,CharSet =CharSet.Ansi)]
|
||||
internal static extern GraphicIOPack InternalInitGraphicApi();
|
||||
|
||||
[DllImport("StgSharpGraphic.dll",EntryPoint = "initGL",
|
||||
[DllImport("StgSharpGraphic",EntryPoint = "initGL",
|
||||
CallingConvention = CallingConvention.Cdecl,CharSet = CharSet.Ansi)]
|
||||
internal static extern unsafe void InternalInitGL();
|
||||
|
||||
[DllImport("StgSharpGraphic.dll",EntryPoint = "initGLAD",
|
||||
[DllImport("StgSharpGraphic",EntryPoint = "initGLAD",
|
||||
CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
|
||||
internal static extern unsafe int InternalInitGLAD();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user