Also did some Refactoring for Classes that implement and use INativeBuffer. The memory usage reduction for rendertargets resulted in some refactoring of the directx texture classes. Also added DebugNames for some DirectX resources in case of a debug build.
122 lines
6.3 KiB
XML
122 lines
6.3 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)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>8.0.30703</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{5BE49183-2F6F-4527-AC90-D816911FCF90}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>ANX.RenderSystem.Windows.DX10</RootNamespace>
|
|
<AssemblyName>ANX.RenderSystem.Windows.DX10</AssemblyName>
|
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>..\..\bin\Debug\</OutputPath>
|
|
<DefineConstants>TRACE;DEBUG;XNAEXT DX10</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>0</WarningLevel>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>..\..\bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE;XNAEXT DX10</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
<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.Direct3D10, Version=2.6.3.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>$(SharpDXPackageBinDir)\SharpDX.Direct3D10.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.Core" />
|
|
<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="..\ANX.RenderSystem.DX.SharedSources\ResourceMapping.cs">
|
|
<Link>ResourceMapping.cs</Link>
|
|
</Compile>
|
|
<Compile Include="BlendState_DX10.cs" />
|
|
<Compile Include="Creator.cs" />
|
|
<Compile Include="DepthStencilState_DX10.cs" />
|
|
<Compile Include="EffectParameter_DX10.cs" />
|
|
<Compile Include="EffectTechnique_DX10.cs" />
|
|
<Compile Include="Extensions.cs" />
|
|
<Compile Include="GraphicsDeviceDX.cs" />
|
|
<Compile Include="Helpers\FormatConverter.cs" />
|
|
<Compile Include="DxIndexBuffer.cs" />
|
|
<Compile Include="EffectPass_DX10.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="RasterizerState_DX10.cs" />
|
|
<Compile Include="RenderTarget2D_DX10.cs" />
|
|
<Compile Include="SamplerState_DX10.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>
|
|
<ProjectReference Include="..\..\ANX.Framework\ANX.Framework.csproj">
|
|
<Project>{6899F0C9-70B9-4EB0-9DD3-E598D4BE3E35}</Project>
|
|
<Name>ANX.Framework</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="packages.config" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<PropertyGroup>
|
|
<PreBuildEvent>
|
|
</PreBuildEvent>
|
|
</PropertyGroup>
|
|
<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> |