This commit is contained in:
Virgile Bello 2020-05-12 11:10:10 +02:00
Родитель 873eac32bc
Коммит 7e54b2b3f7
5 изменённых файлов: 895 добавлений и 71 удалений

Просмотреть файл

@ -1,9 +1,9 @@
 
Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013 # Visual Studio 15
VisualStudioVersion = 12.0.31101.0 VisualStudioVersion = 15.0.28307.168
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK", "Source\OpenTK\OpenTK.csproj", "{A37A7E14-0000-0000-0000-000000000000}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTK", "Source\OpenTK\OpenTK.csproj", "{A37A7E14-0000-0000-0000-000000000000}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8} {75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB} = {C426C9D1-8857-4E52-BAC7-4C05EE6070AB} {C426C9D1-8857-4E52-BAC7-4C05EE6070AB} = {C426C9D1-8857-4E52-BAC7-4C05EE6070AB}
@ -84,6 +84,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.GLWidget", "Source\G
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.Tests", "Source\OpenTK.Tests\OpenTK.Tests.csproj", "{930A780C-A67C-422F-9EED-DB38DAA47AB0}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.Tests", "Source\OpenTK.Tests\OpenTK.Tests.csproj", "{930A780C-A67C-422F-9EED-DB38DAA47AB0}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTK.NETStandard", "Source\OpenTK\OpenTK.NETStandard.csproj", "{1660F7F2-892F-4C50-A057-38B45310D361}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
@ -96,15 +98,16 @@ Global
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A37A7E14-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A37A7E14-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU {A37A7E14-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.DebugMinimal|Any CPU.ActiveCfg = DebugMinimal|Any CPU {A37A7E14-0000-0000-0000-000000000000}.DebugMinimal|Any CPU.ActiveCfg = Debug|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.DebugMinimal|Any CPU.Build.0 = DebugMinimal|Any CPU {A37A7E14-0000-0000-0000-000000000000}.DebugMinimal|Any CPU.Build.0 = Debug|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.Documentation|Any CPU.ActiveCfg = Documentation|Any CPU {A37A7E14-0000-0000-0000-000000000000}.Documentation|Any CPU.ActiveCfg = Debug|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.Nsis|Any CPU.ActiveCfg = Nsis|Any CPU {A37A7E14-0000-0000-0000-000000000000}.Documentation|Any CPU.Build.0 = Debug|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.Nsis|Any CPU.Build.0 = Nsis|Any CPU {A37A7E14-0000-0000-0000-000000000000}.Nsis|Any CPU.ActiveCfg = Release|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.Nsis|Any CPU.Build.0 = Release|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU {A37A7E14-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU {A37A7E14-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.ReleaseMinimal|Any CPU.ActiveCfg = ReleaseMinimal|Any CPU {A37A7E14-0000-0000-0000-000000000000}.ReleaseMinimal|Any CPU.ActiveCfg = Release|Any CPU
{A37A7E14-0000-0000-0000-000000000000}.ReleaseMinimal|Any CPU.Build.0 = ReleaseMinimal|Any CPU {A37A7E14-0000-0000-0000-000000000000}.ReleaseMinimal|Any CPU.Build.0 = Release|Any CPU
{62C0DB35-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {62C0DB35-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{62C0DB35-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU {62C0DB35-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU
{62C0DB35-0000-0000-0000-000000000000}.DebugMinimal|Any CPU.ActiveCfg = Debug|Any CPU {62C0DB35-0000-0000-0000-000000000000}.DebugMinimal|Any CPU.ActiveCfg = Debug|Any CPU
@ -242,10 +245,25 @@ Global
{930A780C-A67C-422F-9EED-DB38DAA47AB0}.Release|Any CPU.Build.0 = Release|Any CPU {930A780C-A67C-422F-9EED-DB38DAA47AB0}.Release|Any CPU.Build.0 = Release|Any CPU
{930A780C-A67C-422F-9EED-DB38DAA47AB0}.ReleaseMinimal|Any CPU.ActiveCfg = Release|Any CPU {930A780C-A67C-422F-9EED-DB38DAA47AB0}.ReleaseMinimal|Any CPU.ActiveCfg = Release|Any CPU
{930A780C-A67C-422F-9EED-DB38DAA47AB0}.ReleaseMinimal|Any CPU.Build.0 = Release|Any CPU {930A780C-A67C-422F-9EED-DB38DAA47AB0}.ReleaseMinimal|Any CPU.Build.0 = Release|Any CPU
{1660F7F2-892F-4C50-A057-38B45310D361}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1660F7F2-892F-4C50-A057-38B45310D361}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1660F7F2-892F-4C50-A057-38B45310D361}.DebugMinimal|Any CPU.ActiveCfg = Debug|Any CPU
{1660F7F2-892F-4C50-A057-38B45310D361}.DebugMinimal|Any CPU.Build.0 = Debug|Any CPU
{1660F7F2-892F-4C50-A057-38B45310D361}.Documentation|Any CPU.ActiveCfg = Debug|Any CPU
{1660F7F2-892F-4C50-A057-38B45310D361}.Documentation|Any CPU.Build.0 = Debug|Any CPU
{1660F7F2-892F-4C50-A057-38B45310D361}.Nsis|Any CPU.ActiveCfg = Debug|Any CPU
{1660F7F2-892F-4C50-A057-38B45310D361}.Nsis|Any CPU.Build.0 = Debug|Any CPU
{1660F7F2-892F-4C50-A057-38B45310D361}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1660F7F2-892F-4C50-A057-38B45310D361}.Release|Any CPU.Build.0 = Release|Any CPU
{1660F7F2-892F-4C50-A057-38B45310D361}.ReleaseMinimal|Any CPU.ActiveCfg = Release|Any CPU
{1660F7F2-892F-4C50-A057-38B45310D361}.ReleaseMinimal|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4465AEB2-166E-4C30-89DE-C19F5A276D57}
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = Source\Examples\OpenTK.Examples.csproj StartupItem = Source\Examples\OpenTK.Examples.csproj
EndGlobalSection EndGlobalSection

Просмотреть файл

@ -0,0 +1,854 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<EnableDefaultItems>false</EnableDefaultItems>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>OpenTK</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>DEBUG;TRACE;WIN32;CARBON;X11;SDL2;OPENGL;OPENGLES</DefineConstants>
<DocumentationFile>..\..\Binaries\OpenTK\Debug\OpenTK.xml</DocumentationFile>
<FileAlignment>4096</FileAlignment>
<Optimize>False</Optimize>
<OutputPath>..\..\Binaries\OpenTK\Debug\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugMinimal|AnyCPU' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>DEBUG;TRACE;MINIMAL;NO_SYSDRAWING</DefineConstants>
<DocumentationFile>..\..\Binaries\OpenTK\DebugMinimal\OpenTK.xml</DocumentationFile>
<FileAlignment>4096</FileAlignment>
<Optimize>false</Optimize>
<OutputPath>..\..\Binaries\OpenTK\DebugMinimal\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE;WIN32;CARBON;X11;SDL2;OPENGL;OPENGLES</DefineConstants>
<DocumentationFile>..\..\Binaries\OpenTK\Release\OpenTK.xml</DocumentationFile>
<FileAlignment>4096</FileAlignment>
<Optimize>True</Optimize>
<OutputPath>..\..\Binaries\OpenTK\Release\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<DebugSymbols>True</DebugSymbols>
<DebugType>pdbonly</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseMinimal|AnyCPU' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE;MINIMAL;NO_SYSDRAWING</DefineConstants>
<DocumentationFile>..\..\Binaries\OpenTK\ReleaseMinimal\OpenTK.xml</DocumentationFile>
<FileAlignment>4096</FileAlignment>
<Optimize>true</Optimize>
<OutputPath>..\..\Binaries\OpenTK\ReleaseMinimal\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<DebugSymbols>True</DebugSymbols>
<DebugType>pdbonly</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Documentation|AnyCPU'">
<OutputPath>..\..\Binaries\OpenTK\Release\</OutputPath>
<DebugSymbols>True</DebugSymbols>
<DebugType>pdbonly</DebugType>
<WarningLevel>4</WarningLevel>
<Optimize>True</Optimize>
<DefineConstants>TRACE;WIN32;CARBON;X11;SDL2;OPENGL;OPENGLES</DefineConstants>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
<DocumentationFile>..\..\Binaries\OpenTK\Release\OpenTK.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Nsis|AnyCPU'">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE;WIN32;CARBON;X11;SDL2;OPENGL;OPENGLES</DefineConstants>
<DocumentationFile>..\..\Binaries\OpenTK\Release\OpenTK.xml</DocumentationFile>
<FileAlignment>4096</FileAlignment>
<Optimize>True</Optimize>
<OutputPath>..\..\Binaries\OpenTK\Release\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<DebugSymbols>True</DebugSymbols>
<DebugType>pdbonly</DebugType>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>True</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>..\..\OpenTK.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Math\Box2d.cs" />
<Compile Include="DisplayDevice.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="DisplayIndex.cs" />
<Compile Include="Graphics\GraphicsModeComparer.cs" />
<Compile Include="Input\GamePadThumbSticks.cs" />
<Compile Include="Input\GamePadTriggers.cs" />
<Compile Include="Input\GamePadType.cs" />
<Compile Include="Input\IGamePadDriver.cs" />
<Compile Include="Input\IInputDriver2.cs" />
<Compile Include="Input\IJoystickDriver2.cs" />
<Compile Include="Input\IKeyboardDriver2.cs" />
<Compile Include="Input\IMouseDriver2.cs" />
<Compile Include="Input\Joystick.cs" />
<Compile Include="Input\JoystickAxis.cs" />
<Compile Include="Input\JoystickButton.cs" />
<Compile Include="Input\JoystickCapabilities.cs" />
<Compile Include="Input\JoystickState.cs" />
<Compile Include="InteropHelper.cs" />
<Compile Include="Math\Matrix2.cs" />
<Compile Include="Math\Matrix2d.cs" />
<Compile Include="Math\Matrix2x3.cs" />
<Compile Include="Math\Matrix2x3d.cs" />
<Compile Include="Math\Matrix2x4.cs" />
<Compile Include="Math\Matrix2x4d.cs" />
<Compile Include="Math\Matrix3.cs" />
<Compile Include="Math\Matrix3x2.cs" />
<Compile Include="Math\Matrix3x2d.cs" />
<Compile Include="Math\Matrix3x4.cs" />
<Compile Include="Math\Matrix3x4d.cs" />
<Compile Include="Math\Matrix4x2.cs" />
<Compile Include="Math\Matrix4x2d.cs" />
<Compile Include="Math\Matrix4x3.cs" />
<Compile Include="Math\Matrix4x3d.cs" />
<Compile Include="Platform\Common\Hid.cs" />
<Compile Include="Platform\DisplayDeviceBase.cs" />
<Compile Include="Platform\Egl\EglException.cs" />
<Compile Include="Platform\Egl\EglUnixContext.cs" />
<Compile Include="Platform\Egl\EglWinContext.cs" />
<Compile Include="Platform\MappedGamePadDriver.cs" />
<Compile Include="Platform\Windows\Bindings\HidProtocol.cs" />
<Compile Include="Platform\Windows\WinInputBase.cs" />
<Compile Include="Platform\Windows\WinRawJoystick.cs" />
<Compile Include="Platform\Windows\XInputJoystick.cs" />
<Compile Include="Platform\X11\Bindings\DL.cs" />
<Compile Include="Platform\X11\Bindings\INotify.cs" />
<Compile Include="Platform\X11\Bindings\XI.cs" />
<Compile Include="ToolkitOptions.cs" />
<Compile Include="WindowBorder.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="ContextHandle.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="WindowState.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="IGameWindow.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="GameWindowFlags.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="KeyPressEventArgs.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="AutoGeneratedAttribute.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="NativeWindow.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="DisplayResolution.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="BindingsBase.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Toolkit.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="FrameEventArgs.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="BlittableValueType.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="GameWindow.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Minimal.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Configuration.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Exceptions.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="INativeWindow.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\IDisplayDeviceDriver.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\IWindowInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\EmbeddedGraphicsContext.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\PlatformException.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\IPlatformFactory.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Factory.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Utilities.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\INativeGLWindow.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\DesktopGraphicsContext.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Dummy\DummyWindowInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Dummy\DummyGLContext.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Egl\EglX11PlatformFactory.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Egl\EglWinPlatformFactory.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Egl\EglGraphicsMode.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Egl\EglWindowInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Egl\Egl.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Egl\EglContext.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Egl\EglMacPlatformFactory.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\MacOS\MacOSFactory.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\MacOS\MacOSException.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\MacOS\MacOSKeyMap.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\MacOS\QuartzDisplayDeviceDriver.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\WinRawKeyboard.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\WinFactory.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\WinRawInput.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\WinRawMouse.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\WinDisplayDevice.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\API.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\WinKeyMap.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\WinGLNative.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\WinWindowInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\WinGLContext.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\WglHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\WinGraphicsMode.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\Bindings\Wgl.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Windows\Bindings\WglEnums.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\X11\X11WindowInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\X11\Functions.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\X11\API.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\X11\X11DisplayDevice.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\X11\X11GraphicsMode.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\X11\X11GLNative.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\X11\X11KeyMap.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\X11\X11GLContext.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\X11\Structs.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\X11\X11Factory.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\X11\Bindings\Glx.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\IGraphicsMode.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\GraphicsExceptions.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\GraphicsErrorException.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\Color4.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\GraphicsContextVersion.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\IGraphicsContext.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\GraphicsMode.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\GraphicsModeException.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\GraphicsContextFlags.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\GraphicsContextMissingException.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\GraphicsContext.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\GraphicsContextException.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\GraphicsContextBase.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\GraphicsBindingsBase.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\ColorFormat.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\OpenGL\GLEnums.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\OpenGL\GL.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\OpenGL\GLHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\OpenGL\ErrorHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\ES10\ES.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\ES10\Enums.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\ES10\ErrorHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\ES10\Helper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\ES10\Core.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\ES11\ErrorHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\ES11\Helper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\ES20\ErrorHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\ES20\Helper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\Keyboard.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\GamePad.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\MouseDevice.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\Key.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\IJoystickDriver.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\IMouseDriver.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\IInputDriver.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\KeyboardDevice.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\KeyboardState.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\MouseButton.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\JoystickDevice.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\IKeyboardDriver.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\KeyboardKeyEventArgs.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\Mouse.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\MouseState.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\GamePadState.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Input\IInputDevice.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Quaternion.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Matrix3d.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Vector4.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\BezierCurve.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Vector3.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Functions.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Matrix4d.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Vector2d.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Vector2h.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Vector3h.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Point.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Box2.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Matrix4.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Half.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Vector4d.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Rectangle.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Vector2.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\BezierCurveQuadric.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\MathHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Quaterniond.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Vector4h.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Size.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\Vector3d.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Math\BezierCurveCubic.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\Memory.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\Device.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\Platform.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\Sampler.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\Kernel.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\Profiler.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\Program.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\Enums.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\CommandQueue.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\CLHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\Event.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\Structs.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\Configuration.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\ComputeContext.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\CL10\Enums.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\CL10\ErrorHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\CL10\Delegates.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\CL10\Core.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\CL10\CLHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\CL10\CL.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Compute\CL10\ImageFormat.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\AudioDeviceException.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\AudioContextException.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\AudioValueException.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\AudioException.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\AudioDeviceEnumerator.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\AudioDeviceErrorChecker.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\AudioContext.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\AudioCapture.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\OpenAL\Alc\AlcEnums.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\OpenAL\Alc\Alc.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\OpenAL\AL\EffectsExtensionPresets.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\OpenAL\AL\EffectsExtensionEnums.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\OpenAL\AL\XRamExtension.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\OpenAL\AL\EffectsExtension.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\OpenAL\AL\AL.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Audio\OpenAL\AL\ALEnums.cs">
<SubType>Code</SubType>
</Compile>
<None Include="..\..\OpenTK.snk">
<Link>OpenTK.snk</Link>
</None>
<Compile Include="Platform\X11\X11Keyboard.cs" />
<Compile Include="Platform\X11\X11Mouse.cs" />
<Compile Include="Input\ButtonState.cs" />
<EmbeddedResource Include="OpenTK.dll.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
<Compile Include="Platform\MacOS\HIDInput.cs" />
<Compile Include="IntPtrEqualityComparer.cs" />
<Compile Include="Input\GamePadAxes.cs" />
<Compile Include="Platform\SDL2\Sdl2DisplayDeviceDriver.cs" />
<Compile Include="Platform\SDL2\Sdl2Factory.cs" />
<Compile Include="Platform\SDL2\Sdl2GraphicsContext.cs" />
<Compile Include="Platform\SDL2\Sdl2GraphicsMode.cs" />
<Compile Include="Platform\SDL2\Sdl2InputDriver.cs" />
<Compile Include="Platform\SDL2\Sdl2KeyMap.cs" />
<Compile Include="Platform\SDL2\Sdl2Keyboard.cs" />
<Compile Include="Platform\SDL2\Sdl2Mouse.cs" />
<Compile Include="Platform\SDL2\Sdl2NativeWindow.cs" />
<Compile Include="Platform\SDL2\Sdl2WindowInfo.cs" />
<Compile Include="Platform\SDL2\Sdl2.cs" />
<Compile Include="Platform\Egl\EglSdl2PlatformFactory.cs" />
<Compile Include="Platform\SDL2\Sdl2JoystickDriver.cs" />
<Compile Include="Graphics\ES30\ErrorHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\ES30\Helper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\OpenGL4\Helper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\OpenGL4\ErrorHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\OpenGL4\GL4.cs" />
<Compile Include="Graphics\OpenGL4\GL4Enums.cs" />
<Compile Include="Graphics\ES30\ES30.cs" />
<Compile Include="Graphics\ES30\ES30Enums.cs" />
<Compile Include="Graphics\ES20\ES20.cs" />
<Compile Include="Graphics\ES20\ES20Enums.cs" />
<Compile Include="Graphics\ES11\ES11.cs" />
<Compile Include="Graphics\ES11\ES11Enums.cs" />
<Compile Include="Graphics\ES11\ES11Obsolete.cs" />
<Compile Include="SlotAttribute.cs" />
<Compile Include="RewrittenAttribute.cs" />
<Compile Include="Graphics\OpenGL\GLObsolete.cs" />
<Compile Include="Platform\MacOS\NS.cs" />
<Compile Include="Input\GamePadCapabilities.cs" />
<Compile Include="Input\GamePadDPad.cs" />
<Compile Include="Input\GamePadButtons.cs" />
<Compile Include="Input\Buttons.cs" />
<Compile Include="Input\GamePadConfigurationDatabase.cs" />
<Compile Include="Input\GamePadConfiguration.cs" />
<Compile Include="Input\GamePadConfigurationTarget.cs" />
<Compile Include="Input\ConfigurationType.cs" />
<Compile Include="Input\GamePadConfigurationSource.cs" />
<Compile Include="Input\GamePadConfigurationItem.cs" />
<Compile Include="Platform\LegacyJoystickDriver.cs" />
<Compile Include="Platform\PlatformFactoryBase.cs" />
<Compile Include="Input\JoystickHat.cs" />
<Compile Include="Input\HatPosition.cs" />
<Compile Include="Input\JoystickHatState.cs" />
<Compile Include="MouseCursor.cs" />
<Compile Include="Input\KeyModifiers.cs" />
<Compile Include="Platform\MacOS\CocoaContext.cs" />
<Compile Include="Platform\MacOS\CocoaNativeWindow.cs" />
<Compile Include="Platform\MacOS\CocoaWindowInfo.cs" />
<Compile Include="Platform\MacOS\Cocoa\Cocoa.cs" />
<Compile Include="Platform\MacOS\Cocoa\Class.cs" />
<Compile Include="Platform\MacOS\Cocoa\Selector.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSApplication.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSApplicationActivationPolicy.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSBackingStore.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSWindowStyle.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSOpenGLPixelFormatAttribute.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSOpenGLProfile.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSOpenGLContextParameter.cs" />
<Compile Include="Platform\LegacyInputDriver.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSEventType.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSEventModifierMask.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSTrackingAreaOptions.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSApplicationPresentationOptions.cs" />
<Compile Include="Platform\MacOS\CarbonWindowInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\MacOS\Carbon\CarbonAPI.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\MacOS\Carbon\MacOSKeys.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\MacOS\Carbon\Cgl.cs" />
<Compile Include="WindowIcon.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSBitmapFormat.cs" />
<Compile Include="Platform\NativeWindowBase.cs" />
<Compile Include="Input\MouseEventArgs.cs" />
<Compile Include="Platform\MacOS\Quartz\EventServices.cs" />
<Compile Include="Platform\MacOS\Quartz\DisplayServices.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\MacOS\Quartz\CoreFoundation.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\X11\Bindings\Xkb.cs" />
<Compile Include="Input\MouseScroll.cs" />
<Compile Include="Platform\X11\X11Input.cs" />
<Compile Include="Platform\X11\XI2Input.cs" />
<Compile Include="Platform\X11\XI2MouseKeyboard.cs" />
<Compile Include="Platform\MacOS\Cocoa\NSFloat.cs" />
<Compile Include="Platform\Linux\Bindings\Drm.cs" />
<Compile Include="Platform\Linux\LinuxFactory.cs" />
<Compile Include="Platform\Linux\LinuxNativeWindow.cs" />
<Compile Include="Platform\Linux\Bindings\Gbm.cs" />
<Compile Include="Platform\Linux\LinuxDisplayDriver.cs" />
<Compile Include="Platform\Linux\LinuxJoystick.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Platform\Linux\Bindings\Libc.cs" />
<Compile Include="Platform\Linux\LinuxWindowInfo.cs" />
<Compile Include="Platform\Linux\LinuxGraphicsContext.cs" />
<Compile Include="Platform\Linux\Bindings\Poll.cs" />
<Compile Include="Platform\Linux\LinuxKeyboardTTY.cs" />
<Compile Include="Platform\Linux\Bindings\Udev.cs" />
<Compile Include="Platform\Linux\Bindings\LibInput.cs" />
<Compile Include="Platform\Linux\LinuxInput.cs" />
<Compile Include="Platform\Linux\Bindings\Terminal.cs" />
<Compile Include="Platform\DeviceCollection.cs" />
<Compile Include="Platform\Linux\Bindings\Evdev.cs" />
<Compile Include="Platform\Linux\DefaultCursor.cs" />
<Compile Include="Platform\Linux\Bindings\Kms.cs" />
</ItemGroup>
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
</PostBuildEvent>
<RootNamespace>OpenTK</RootNamespace>
</PropertyGroup>
<Target Name="AfterBuild">
<Exec Command="$(OutputPath)..\..\Tools\Debug\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk -debug" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Debug'" />
<Exec Command="$(OutputPath)..\..\Tools\Release\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Release'" />
<Exec Command="$(OutputPath)..\..\Tools\Debug\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk -debug" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'DebugMinimal'" />
<Exec Command="$(OutputPath)..\..\Tools\Release\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'ReleaseMinimal'" />
<Exec Command="$(OutputPath)..\..\Tools\Release\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Nsis'" />
<Exec WorkingDirectory="$(SolutionDir)Binaries/Tools/Debug" Command="mono ./Rewrite.exe $(SolutionDir)Binaries/OpenTK/Debug/OpenTK.dll $(SolutionDir)OpenTK.snk -debug" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'Debug'" />
<Exec WorkingDirectory="$(SolutionDir)Binaries/Tools/Debug" Command="mono ./Rewrite.exe $(SolutionDir)Binaries/OpenTK/DebugMinimal/OpenTK.dll $(SolutionDir)OpenTK.snk -debug" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'DebugMinimal'" />
<Exec WorkingDirectory="$(SolutionDir)Binaries/Tools/Release" Command="mono ./Rewrite.exe $(SolutionDir)Binaries/OpenTK/Release/OpenTK.dll $(SolutionDir)OpenTK.snk" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'Release'" />
<Exec WorkingDirectory="$(SolutionDir)Binaries/Tools/Release" Command="mono ./Rewrite.exe $(SolutionDir)Binaries/OpenTK/ReleaseMinimal/OpenTK.dll $(SolutionDir)OpenTK.snk" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'ReleaseMinimal'" />
<Exec WorkingDirectory="$(SolutionDir)Binaries/Tools/Release" Command="mono ./Rewrite.exe $(SolutionDir)Binaries/OpenTK/Release/OpenTK.dll $(SolutionDir)OpenTK.snk" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'Nsis'" />
</Target>
<ProjectExtensions>
<MonoDevelop>
<Properties>
<Policies>
<TextStylePolicy inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/plain" />
<CSharpFormattingPolicy IndentSwitchBody="True" AnonymousMethodBraceStyle="NextLine" PropertyBraceStyle="NextLine" PropertyGetBraceStyle="NextLine" PropertySetBraceStyle="NextLine" EventBraceStyle="NextLine" EventAddBraceStyle="NextLine" EventRemoveBraceStyle="NextLine" StatementBraceStyle="NextLine" ElseNewLinePlacement="NewLine" CatchNewLinePlacement="NewLine" FinallyNewLinePlacement="NewLine" WhileNewLinePlacement="NewLine" ArrayInitializerBraceStyle="NextLine" BeforeMethodDeclarationParentheses="False" BeforeMethodCallParentheses="False" BeforeConstructorDeclarationParentheses="False" BeforeIndexerDeclarationBracket="False" BeforeDelegateDeclarationParentheses="False" NewParentheses="False" SpacesBeforeBrackets="False" BlankLinesBeforeFirstDeclaration="1" AlignToFirstMethodDeclarationParameter="False" AlignToFirstIndexerDeclarationParameter="False" inheritsSet="Mono" inheritsScope="text/x-csharp" scope="text/x-csharp" />
<TextStylePolicy FileWidth="120" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/x-csharp" />
<StandardHeader Text="#region License&#xA;&#xA;${FileName}&#xA; &#xA;Author:&#xA; ${AuthorName} &lt;${AuthorEmail}&gt;&#xA;&#xA;Copyright (c) 2006-${Year} ${CopyrightHolder}&#xA;&#xA;Permission is hereby granted, free of charge, to any person obtaining a copy&#xA;of this software and associated documentation files (the &quot;Software&quot;), to deal&#xA;in the Software without restriction, including without limitation the rights&#xA;to use, copy, modify, merge, publish, distribute, sublicense, and/or sell&#xA;copies of the Software, and to permit persons to whom the Software is&#xA;furnished to do so, subject to the following conditions:&#xA;&#xA;The above copyright notice and this permission notice shall be included in&#xA;all copies or substantial portions of the Software.&#xA;&#xA;THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR&#xA;IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,&#xA;FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE&#xA;AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER&#xA;LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,&#xA;OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN&#xA;THE SOFTWARE.&#xA;&#xA;#endregion" IncludeInNewFiles="True" />
<TextStylePolicy TabWidth="2" IndentWidth="2" NoTabsAfterNonTabs="True" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="application/xml" />
<XmlFormattingPolicy inheritsSet="Mono" inheritsScope="application/xml" scope="application/xml" />
</Policies>
</Properties>
</MonoDevelop>
</ProjectExtensions>
<ItemGroup>
<PackageReference Include="Microsoft.Win32.Registry" Version="4.5.0" />
<PackageReference Include="Microsoft.Win32.SystemEvents" Version="4.5.0" />
<PackageReference Include="System.Drawing.Common" Version="4.5.1" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,45 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk">
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup> <PropertyGroup>
<ProjectType>Local</ProjectType> <TargetFramework>netstandard2.0</TargetFramework>
<ProductVersion>8.0.30703</ProductVersion> <EnableDefaultItems>false</EnableDefaultItems>
<SchemaVersion>2.0</SchemaVersion> <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<ProjectGuid>{A37A7E14-0000-0000-0000-000000000000}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
<AssemblyName>OpenTK</AssemblyName>
<DefaultClientScript>JScript</DefaultClientScript>
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
<DefaultTargetSchema>IE50</DefaultTargetSchema>
<DelaySign>false</DelaySign>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<OutputType>Library</OutputType>
<AppDesignerFolder>
</AppDesignerFolder>
<RootNamespace>OpenTK</RootNamespace>
<StartArguments>
</StartArguments>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>2.0</OldToolsVersion>
<UpgradeBackupLocation />
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<AllowUnsafeBlocks>True</AllowUnsafeBlocks> <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
@ -144,20 +108,6 @@
<PropertyGroup> <PropertyGroup>
<AssemblyOriginatorKeyFile>..\..\OpenTK.snk</AssemblyOriginatorKeyFile> <AssemblyOriginatorKeyFile>..\..\OpenTK.snk</AssemblyOriginatorKeyFile>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<Reference Include="System">
<Name>System</Name>
</Reference>
<Reference Include="System.Data">
<Name>System.Data</Name>
</Reference>
<Reference Include="System.Drawing" Condition=" '$(Configuration)' != 'DebugMinimal' And '$(Configuration)' != 'ReleaseMinimal' ">
<Name>System.Drawing</Name>
</Reference>
<Reference Include="System.Xml">
<Name>System.Xml</Name>
</Reference>
</ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs"> <Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link> <Link>Properties\GlobalAssemblyInfo.cs</Link>
@ -861,14 +811,12 @@
<Compile Include="Platform\Linux\DefaultCursor.cs" /> <Compile Include="Platform\Linux\DefaultCursor.cs" />
<Compile Include="Platform\Linux\Bindings\Kms.cs" /> <Compile Include="Platform\Linux\Bindings\Kms.cs" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup> <PropertyGroup>
<PreBuildEvent> <PreBuildEvent>
</PreBuildEvent> </PreBuildEvent>
<PostBuildEvent> <PostBuildEvent>
</PostBuildEvent> </PostBuildEvent>
</PropertyGroup> </PropertyGroup>
<ItemGroup />
<Target Name="AfterBuild"> <Target Name="AfterBuild">
<Exec Command="$(OutputPath)..\..\Tools\Debug\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk -debug" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Debug'" /> <Exec Command="$(OutputPath)..\..\Tools\Debug\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk -debug" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Debug'" />
<Exec Command="$(OutputPath)..\..\Tools\Release\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Release'" /> <Exec Command="$(OutputPath)..\..\Tools\Release\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Release'" />
@ -895,6 +843,9 @@
</Properties> </Properties>
</MonoDevelop> </MonoDevelop>
</ProjectExtensions> </ProjectExtensions>
<ItemGroup /> <ItemGroup>
<ItemGroup /> <PackageReference Include="Microsoft.Win32.Registry" Version="4.5.0" />
<PackageReference Include="Microsoft.Win32.SystemEvents" Version="4.5.0" />
<PackageReference Include="System.Drawing.Common" Version="4.5.1" />
</ItemGroup>
</Project> </Project>

Просмотреть файл

@ -642,7 +642,8 @@ namespace OpenTK.Platform.Windows
/// </summary> /// </summary>
/// <param name="dllName"></param> /// <param name="dllName"></param>
/// <returns></returns> /// <returns></returns>
[DllImport("kernel32.dll", SetLastError = true)] [DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
[SecuritySafeCritical]
internal static extern IntPtr LoadLibrary(string dllName); internal static extern IntPtr LoadLibrary(string dllName);
#endregion #endregion

Просмотреть файл

@ -52,7 +52,7 @@ namespace OpenTK.Platform.Windows
const ExtendedWindowStyle ParentStyleEx = ExtendedWindowStyle.WindowEdge | ExtendedWindowStyle.ApplicationWindow; const ExtendedWindowStyle ParentStyleEx = ExtendedWindowStyle.WindowEdge | ExtendedWindowStyle.ApplicationWindow;
const ExtendedWindowStyle ChildStyleEx = 0; const ExtendedWindowStyle ChildStyleEx = 0;
readonly IntPtr Instance = Marshal.GetHINSTANCE(typeof(WinGLNative).Module); readonly IntPtr Instance = Functions.GetModuleHandle(typeof(WinGLNative).Module.Name);
readonly IntPtr ClassName = Marshal.StringToHGlobalAuto(Guid.NewGuid().ToString()); readonly IntPtr ClassName = Marshal.StringToHGlobalAuto(Guid.NewGuid().ToString());
readonly WindowProcedure WindowProcedureDelegate; readonly WindowProcedure WindowProcedureDelegate;