mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-09 08:41:31 +00:00
Group the IDD sources and Visual Studio filters by subsystem. Split the device and swap-chain implementations into focused units, rename the context classes, and reduce header coupling.
307 lines
16 KiB
XML
307 lines
16 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="..\packages\MSBuilder.Git.0.3.0\build\MSBuilder.Git.props" Condition="Exists('..\packages\MSBuilder.Git.0.3.0\build\MSBuilder.Git.props')" />
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="cpp.hint" />
|
|
<None Include="packages.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="$(SolutionDir)LGCommon\*.cpp" />
|
|
<ClCompile Include="Device.cpp" />
|
|
<ClCompile Include="Driver.cpp" />
|
|
<ClCompile Include="display\CDisplayConfiguration.cpp" />
|
|
<ClCompile Include="display\CEdid.cpp" />
|
|
<ClCompile Include="display\CMonitorManager.cpp" />
|
|
<ClCompile Include="display\device\CDeviceContext.cpp" />
|
|
<ClCompile Include="display\monitor\Context.cpp" />
|
|
<ClCompile Include="capture\CFrameBufferPool.cpp" />
|
|
<ClCompile Include="capture\CFrameBufferResource.cpp" />
|
|
<ClCompile Include="capture\CFrameProcessor.cpp" />
|
|
<ClCompile Include="capture\CFrameProcessorUtil.cpp" />
|
|
<ClCompile Include="capture\CFrameScheduler.cpp" />
|
|
<ClCompile Include="capture\CHardwareFrameProcessor.cpp" />
|
|
<ClCompile Include="capture\CSoftwareFrameProcessor.cpp" />
|
|
<ClCompile Include="capture\CSwapChainCursor.cpp" />
|
|
<ClCompile Include="capture\CSwapChainProcessor.cpp" />
|
|
<ClCompile Include="capture\CSwapChainPublisher.cpp" />
|
|
<ClCompile Include="d3d\CD3D11Device.cpp" />
|
|
<ClCompile Include="d3d\CD3D12CommandQueue.cpp" />
|
|
<ClCompile Include="d3d\CD3D12Device.cpp" />
|
|
<ClCompile Include="d3d\CInteropResource.cpp" />
|
|
<ClCompile Include="d3d\CInteropResourcePool.cpp" />
|
|
<ClCompile Include="postprocess\CPostProcessor.cpp" />
|
|
<ClCompile Include="postprocess\effect\CColorTransformEffect.cpp" />
|
|
<ClCompile Include="postprocess\effect\CComputeEffect.cpp" />
|
|
<ClCompile Include="postprocess\effect\CDownsampleEffect.cpp" />
|
|
<ClCompile Include="postprocess\effect\CHDR16to10Effect.cpp" />
|
|
<ClCompile Include="postprocess\effect\CRGB24Effect.cpp" />
|
|
<ClCompile Include="transport\CFrameTransport.cpp" />
|
|
<ClCompile Include="transport\CIVSHMEM.cpp" />
|
|
<ClCompile Include="transport\CLGMPControl.cpp" />
|
|
<ClCompile Include="transport\CLGMPHost.cpp" />
|
|
<ClCompile Include="transport\CPipeServer.cpp" />
|
|
<ClCompile Include="config\CSettings.cpp" />
|
|
<ClCompile Include="platform\CPlatformInfo.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="$(SolutionDir)LGCommon\*.h" />
|
|
<ClInclude Include="Device.h" />
|
|
<ClInclude Include="Driver.h" />
|
|
<ClInclude Include="Public.h" />
|
|
<ClInclude Include="Trace.h" />
|
|
<ClInclude Include="display\CDisplayConfiguration.h" />
|
|
<ClInclude Include="display\CEdid.h" />
|
|
<ClInclude Include="display\CMonitorManager.h" />
|
|
<ClInclude Include="display\IddCxCompat.h" />
|
|
<ClInclude Include="display\device\CDeviceContext.h" />
|
|
<ClInclude Include="display\monitor\Context.h" />
|
|
<ClInclude Include="capture\CFrameBufferPool.h" />
|
|
<ClInclude Include="capture\CFrameBufferResource.h" />
|
|
<ClInclude Include="capture\FrameBufferTypes.h" />
|
|
<ClInclude Include="capture\CFrameProcessor.h" />
|
|
<ClInclude Include="capture\CFrameProcessorUtil.h" />
|
|
<ClInclude Include="capture\CFrameScheduler.h" />
|
|
<ClInclude Include="capture\CHardwareFrameProcessor.h" />
|
|
<ClInclude Include="capture\CSoftwareFrameProcessor.h" />
|
|
<ClInclude Include="capture\CSwapChainProcessor.h" />
|
|
<ClInclude Include="d3d\CD3D11Device.h" />
|
|
<ClInclude Include="d3d\CD3D12CommandQueue.h" />
|
|
<ClInclude Include="d3d\CD3D12Device.h" />
|
|
<ClInclude Include="d3d\CInteropResource.h" />
|
|
<ClInclude Include="d3d\CInteropResourcePool.h" />
|
|
<ClInclude Include="postprocess\CPostProcessor.h" />
|
|
<ClInclude Include="postprocess\D12FrameFormat.h" />
|
|
<ClInclude Include="postprocess\effect\CColorTransformEffect.h" />
|
|
<ClInclude Include="postprocess\effect\CComputeEffect.h" />
|
|
<ClInclude Include="postprocess\effect\CDownsampleEffect.h" />
|
|
<ClInclude Include="postprocess\effect\CHDR16to10Effect.h" />
|
|
<ClInclude Include="postprocess\effect\CRGB24Effect.h" />
|
|
<ClInclude Include="transport\CFrameTransport.h" />
|
|
<ClInclude Include="transport\CIVSHMEM.h" />
|
|
<ClInclude Include="transport\CLGMPControl.h" />
|
|
<ClInclude Include="transport\CLGMPHost.h" />
|
|
<ClInclude Include="transport\CPipeServer.h" />
|
|
<ClInclude Include="transport\FrameMemoryLimits.h" />
|
|
<ClInclude Include="config\CSettings.h" />
|
|
<ClInclude Include="platform\CPlatformInfo.h" />
|
|
<ClInclude Include="util\CSRWLock.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Inf Include="LGIdd.inf" />
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{1CBF3DAA-0726-4F5F-88A2-04D95FB6591A}</ProjectGuid>
|
|
<TemplateGuid>{32909489-7be5-497b-aafa-db6669d9b44b}</TemplateGuid>
|
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|
<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
|
|
<Configuration>Debug</Configuration>
|
|
<Platform Condition="'$(Platform)' == ''">Win32</Platform>
|
|
<RootNamespace>LGIdd</RootNamespace>
|
|
<WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset>
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<DriverTargetPlatform>Universal</DriverTargetPlatform>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset>
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<DriverTargetPlatform>Universal</DriverTargetPlatform>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<DriverTargetPlatform>Universal</DriverTargetPlatform>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<DriverTargetPlatform>Universal</DriverTargetPlatform>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<TargetVersion>Windows10</TargetVersion>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<UMDF_VERSION_MAJOR>2</UMDF_VERSION_MAJOR>
|
|
<Driver_SpectreMitigation>Spectre</Driver_SpectreMitigation>
|
|
<IndirectDisplayDriver>true</IndirectDisplayDriver>
|
|
<IDDCX_VERSION_MAJOR>1</IDDCX_VERSION_MAJOR>
|
|
<IDDCX_VERSION_MINOR>10</IDDCX_VERSION_MINOR>
|
|
<UMDF_VERSION_MINOR>25</UMDF_VERSION_MINOR>
|
|
<UMDF_MINIMUM_VERSION_REQUIRED>25</UMDF_MINIMUM_VERSION_REQUIRED>
|
|
<_NT_TARGET_VERSION>0xA000005</_NT_TARGET_VERSION>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<TargetVersion>Windows10</TargetVersion>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<UMDF_VERSION_MAJOR>2</UMDF_VERSION_MAJOR>
|
|
<Driver_SpectreMitigation>Spectre</Driver_SpectreMitigation>
|
|
<IndirectDisplayDriver>true</IndirectDisplayDriver>
|
|
<IDDCX_VERSION_MAJOR>1</IDDCX_VERSION_MAJOR>
|
|
<IDDCX_VERSION_MINOR>10</IDDCX_VERSION_MINOR>
|
|
<UMDF_VERSION_MINOR>25</UMDF_VERSION_MINOR>
|
|
<UMDF_MINIMUM_VERSION_REQUIRED>25</UMDF_MINIMUM_VERSION_REQUIRED>
|
|
<_NT_TARGET_VERSION>0xA000005</_NT_TARGET_VERSION>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
<TargetVersion>Windows10</TargetVersion>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<UMDF_VERSION_MAJOR>2</UMDF_VERSION_MAJOR>
|
|
<IndirectDisplayDriver>true</IndirectDisplayDriver>
|
|
<IDDCX_VERSION_MAJOR>1</IDDCX_VERSION_MAJOR>
|
|
<IDDCX_VERSION_MINOR>10</IDDCX_VERSION_MINOR>
|
|
<Driver_SpectreMitigation>Spectre</Driver_SpectreMitigation>
|
|
<UMDF_VERSION_MINOR>25</UMDF_VERSION_MINOR>
|
|
<UMDF_MINIMUM_VERSION_REQUIRED>25</UMDF_MINIMUM_VERSION_REQUIRED>
|
|
<_NT_TARGET_VERSION>0xA000005</_NT_TARGET_VERSION>
|
|
<PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
<TargetVersion>Windows10</TargetVersion>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<UMDF_VERSION_MAJOR>2</UMDF_VERSION_MAJOR>
|
|
<IndirectDisplayDriver>true</IndirectDisplayDriver>
|
|
<IDDCX_VERSION_MAJOR>1</IDDCX_VERSION_MAJOR>
|
|
<IDDCX_VERSION_MINOR>10</IDDCX_VERSION_MINOR>
|
|
<Driver_SpectreMitigation>Spectre</Driver_SpectreMitigation>
|
|
<UMDF_VERSION_MINOR>25</UMDF_VERSION_MINOR>
|
|
<UMDF_MINIMUM_VERSION_REQUIRED>25</UMDF_MINIMUM_VERSION_REQUIRED>
|
|
<_NT_TARGET_VERSION>0xA000005</_NT_TARGET_VERSION>
|
|
<PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<DebuggerFlavor>DbgengRemoteDebugger</DebuggerFlavor>
|
|
<Inf2CatUseLocalTime>true</Inf2CatUseLocalTime>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<DebuggerFlavor>DbgengRemoteDebugger</DebuggerFlavor>
|
|
<Inf2CatUseLocalTime>true</Inf2CatUseLocalTime>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<DebuggerFlavor>DbgengRemoteDebugger</DebuggerFlavor>
|
|
<Inf2CatUseLocalTime>true</Inf2CatUseLocalTime>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<DebuggerFlavor>DbgengRemoteDebugger</DebuggerFlavor>
|
|
<Inf2CatUseLocalTime>true</Inf2CatUseLocalTime>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<WppEnabled>true</WppEnabled>
|
|
<WppRecorderEnabled>true</WppRecorderEnabled>
|
|
<WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData>
|
|
<AdditionalOptions>/EHsc /D_ATL_NO_WIN_SUPPORT /DIDDCX_VERSION_MAJOR=1 /DIDDCX_VERSION_MINOR=10 /DIDDCX_MINIMUM_VERSION_REQUIRED=4 %(AdditionalOptions)</AdditionalOptions>
|
|
<AdditionalIncludeDirectories>$(ProjectDir);$(SolutionDir)LGCommon;$(ProjectDir)..\..\repos\LGMP\lgmp\include;$(ProjectDir)..\..\vendor;$(ProjectDir)..\..\common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>%(AdditionalDependencies);OneCoreUAP.lib;avrt.lib;d3d12.lib;d3dcompiler.lib</AdditionalDependencies>
|
|
</Link>
|
|
<DriverSign>
|
|
<FileDigestAlgorithm>SHA1</FileDigestAlgorithm>
|
|
</DriverSign>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<ClCompile>
|
|
<WppEnabled>true</WppEnabled>
|
|
<WppRecorderEnabled>true</WppRecorderEnabled>
|
|
<WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData>
|
|
<AdditionalOptions>/EHsc /D_ATL_NO_WIN_SUPPORT /DIDDCX_VERSION_MAJOR=1 /DIDDCX_VERSION_MINOR=10 /DIDDCX_MINIMUM_VERSION_REQUIRED=4 %(AdditionalOptions)</AdditionalOptions>
|
|
<AdditionalIncludeDirectories>$(ProjectDir);$(SolutionDir)LGCommon;$(ProjectDir)..\..\repos\LGMP\lgmp\include;$(ProjectDir)..\..\vendor;$(ProjectDir)..\..\common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>%(AdditionalDependencies);OneCoreUAP.lib;avrt.lib;d3d12.lib;d3dcompiler.lib</AdditionalDependencies>
|
|
</Link>
|
|
<DriverSign>
|
|
<FileDigestAlgorithm>SHA1</FileDigestAlgorithm>
|
|
</DriverSign>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<ClCompile>
|
|
<WppEnabled>true</WppEnabled>
|
|
<WppRecorderEnabled>true</WppRecorderEnabled>
|
|
<WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData>
|
|
<AdditionalOptions>/EHsc /D_ATL_NO_WIN_SUPPORT /DIDDCX_VERSION_MAJOR=1 /DIDDCX_VERSION_MINOR=10 /DIDDCX_MINIMUM_VERSION_REQUIRED=4 %(AdditionalOptions)</AdditionalOptions>
|
|
<AdditionalIncludeDirectories>$(ProjectDir);$(SolutionDir)LGCommon;$(ProjectDir)..\..\repos\LGMP\lgmp\include;$(ProjectDir)..\..\vendor;$(ProjectDir)..\..\common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>%(AdditionalDependencies);OneCoreUAP.lib;avrt.lib;d3d12.lib;d3dcompiler.lib</AdditionalDependencies>
|
|
</Link>
|
|
<DriverSign>
|
|
<FileDigestAlgorithm>SHA1</FileDigestAlgorithm>
|
|
</DriverSign>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<ClCompile>
|
|
<WppEnabled>true</WppEnabled>
|
|
<WppRecorderEnabled>true</WppRecorderEnabled>
|
|
<WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData>
|
|
<AdditionalOptions>/EHsc /D_ATL_NO_WIN_SUPPORT /DIDDCX_VERSION_MAJOR=1 /DIDDCX_VERSION_MINOR=10 /DIDDCX_MINIMUM_VERSION_REQUIRED=4 %(AdditionalOptions)</AdditionalOptions>
|
|
<AdditionalIncludeDirectories>$(ProjectDir);$(SolutionDir)LGCommon;$(ProjectDir)..\..\repos\LGMP\lgmp\include;$(ProjectDir)..\..\vendor;$(ProjectDir)..\..\common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>%(AdditionalDependencies);OneCoreUAP.lib;avrt.lib;d3d12.lib;d3dcompiler.lib</AdditionalDependencies>
|
|
</Link>
|
|
<DriverSign>
|
|
<FileDigestAlgorithm>SHA1</FileDigestAlgorithm>
|
|
</DriverSign>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<FilesToPackage Include="$(TargetPath)" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\repos\LGMP\LGMP.vcxproj">
|
|
<Project>{ffcc376c-4d98-4b50-b431-e1bbc9c67e65}</Project>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets" />
|
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
<PropertyGroup>
|
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
|
</PropertyGroup>
|
|
<Error Condition="!Exists('..\packages\MSBuilder.Git.0.3.0\build\MSBuilder.Git.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSBuilder.Git.0.3.0\build\MSBuilder.Git.props'))" />
|
|
</Target>
|
|
<Target Name="GenerateVersionInfo" BeforeTargets="ClCompile">
|
|
<Exec Command=""$(Git)" describe --always --abbrev=10 --dirty=+ --tags" ConsoleToMSBuild="true">
|
|
<Output TaskParameter="ConsoleOutput" PropertyName="GitVersion" />
|
|
</Exec>
|
|
<ItemGroup>
|
|
<VersionInfoLines Include="#define LG_VERSION_STR "$(GitVersion)"" />
|
|
<VersionInfoLines Include="#define LG_CURRENT_YEAR $(CurrentYear)" />
|
|
</ItemGroup>
|
|
<WriteLinesToFile File="VersionInfo.h" Lines="@(VersionInfoLines)" Overwrite="true" />
|
|
</Target>
|
|
<Target Name="Build" DependsOnTargets="$(BuildDependsOn)" />
|
|
<PropertyGroup>
|
|
<CurrentYear>$([System.DateTime]::Now.ToString("yyyy"))</CurrentYear>
|
|
<BuildDependsOn>
|
|
GenerateVersionInfo;
|
|
$(BuildDependsOn);
|
|
</BuildDependsOn>
|
|
</PropertyGroup>
|
|
</Project>
|