Also made the recording inputsystem not selectable for that sample as that needs some code modification in the sample to make it work. It was not possible to run it with openGL because the creation of the windowInfo object was faulty, it might have worked on linux, but it didn't work on windows. Also updated a few deprecated calls for OpenGL. Closing an OpenGL application did wrongly throw an exception when an effect gets disposed, this is fixed now and the memory usage was slightly reduced. For DirectX 11, which didn't work for the samples out of the box, it was changed that the sharpdx effect dll's are now part of the directx 11 rendersystem so that they don't have to be copied over manually anymore. Did some very small change to the RecordingGamePad class which makes it work if no data is recorded or played back.
131 lines
7.0 KiB
XML
131 lines
7.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
|
<ProductVersion>8.0.30703</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{B30DE9C2-0926-46B6-8351-9AF276C472D5}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>ANX.RenderSystem.Windows.DX11</RootNamespace>
|
|
<AssemblyName>ANX.RenderSystem.Windows.DX11</AssemblyName>
|
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
|
<FileAlignment>512</FileAlignment>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>..\..\bin\Debug\</OutputPath>
|
|
<DefineConstants>TRACE;DEBUG;XNAEXT;DX11</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>..\..\bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE;XNAEXT;DX11</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<StartupObject />
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\ANX.Framework\ANX.Framework.csproj">
|
|
<Project>{6899F0C9-70B9-4EB0-9DD3-E598D4BE3E35}</Project>
|
|
<Name>ANX.Framework</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Reference Include="SharpDX, Version=2.6.3.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>$(SharpDXPackageBinDir)\SharpDX.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="SharpDX.D3DCompiler, Version=2.6.3.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>$(SharpDXPackageBinDir)\SharpDX.D3DCompiler.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="SharpDX.Direct3D11, Version=2.6.3.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>$(SharpDXPackageBinDir)\SharpDX.Direct3D11.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="SharpDX.Direct3D11.Effects, Version=2.6.3.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>$(SharpDXPackageBinDir)\SharpDX.Direct3D11.Effects.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="SharpDX.DXGI, Version=2.6.3.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>$(SharpDXPackageBinDir)\SharpDX.DXGI.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="..\ANX.RenderSystem.DX.SharedSources\BufferHelper.cs">
|
|
<Link>BufferHelper.cs</Link>
|
|
</Compile>
|
|
<Compile Include="BlendState_DX11.cs" />
|
|
<Compile Include="Creator.cs" />
|
|
<Compile Include="DepthStencilState_DX11.cs" />
|
|
<Compile Include="EffectParameter_DX11.cs" />
|
|
<Compile Include="EffectPass_DX11.cs" />
|
|
<Compile Include="EffectTechnique_DX11.cs" />
|
|
<Compile Include="FormatConverter.cs" />
|
|
<Compile Include="GraphicsDeviceDX.cs" />
|
|
<Compile Include="DxIndexBuffer.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="RasterizerState_DX11.cs" />
|
|
<Compile Include="RenderTarget2D_DX11.cs" />
|
|
<Compile Include="SamplerState_DX11.cs" />
|
|
<Compile Include="ShaderByteCode.cs" />
|
|
<Compile Include="EffectDX.cs" />
|
|
<Compile Include="..\ANX.RenderSystem.DX.SharedSources\SharedEffectDX.cs" />
|
|
<Compile Include="..\ANX.RenderSystem.DX.SharedSources\SharedGraphicsDeviceDX.cs" />
|
|
<Compile Include="..\ANX.RenderSystem.DX.SharedSources\IncludeHandler.cs" />
|
|
<Compile Include="..\ANX.RenderSystem.DX.SharedSources\WindowHelper.cs" />
|
|
<Compile Include="..\ANX.RenderSystem.DX.SharedSources\DxFormatConverter.cs" />
|
|
<Compile Include="..\ANX.RenderSystem.DX.SharedSources\SharedDxTexture2D.cs" />
|
|
<Compile Include="..\ANX.RenderSystem.DX.SharedSources\SharedIndexBuffer.cs" />
|
|
<Compile Include="..\ANX.RenderSystem.DX.SharedSources\SharedVertexBuffer.cs" />
|
|
<Compile Include="..\ANX.RenderSystem.DX.SharedSources\SharedStateObject.cs" />
|
|
<Compile Include="DxTexture2D.cs" />
|
|
<Compile Include="DxVertexBuffer.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="packages.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="..\..\packages\SharpDX.Direct3D11.Effects.2.6.3\Content\sharpdx_direct3d11_effects_x64.dll">
|
|
<Link>sharpdx_direct3d11_effects_x64.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\..\packages\SharpDX.Direct3D11.Effects.2.6.3\Content\sharpdx_direct3d11_effects_x86.dll">
|
|
<Link>sharpdx_direct3d11_effects_x86.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<Import Project="..\..\packages\SharpDX.2.6.3\build\SharpDX.targets" Condition="Exists('..\..\packages\SharpDX.2.6.3\build\SharpDX.targets')" />
|
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
<PropertyGroup>
|
|
<ErrorText>Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Aktivieren Sie die Wiederherstellung von NuGet-Paketen, um die fehlende Datei herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".</ErrorText>
|
|
</PropertyGroup>
|
|
<Error Condition="!Exists('..\..\packages\SharpDX.2.6.3\build\SharpDX.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\SharpDX.2.6.3\build\SharpDX.targets'))" />
|
|
</Target>
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
</Target>
|
|
-->
|
|
</Project> |