mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
Updated project to SDK/WDK 10.0.19041.0
This commit is contained in:
parent
71c67fffd4
commit
aecb55286a
@ -2,7 +2,7 @@
|
||||
|
||||
#include <d3d.h>
|
||||
#include <winternl.h>
|
||||
#include <../km/d3dkmthk.h>
|
||||
#include <d3dkmthk.h>
|
||||
|
||||
#include <Common/CompatVtable.h>
|
||||
#include <Common/HResultException.h>
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <d3d.h>
|
||||
#include <d3dumddi.h>
|
||||
#include <winternl.h>
|
||||
#include <../km/d3dkmthk.h>
|
||||
#include <d3dkmthk.h>
|
||||
|
||||
#include <D3dDdi/Log/CommonLog.h>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <d3d.h>
|
||||
#include <d3dumddi.h>
|
||||
#include <winternl.h>
|
||||
#include <../km/d3dkmthk.h>
|
||||
#include <d3dkmthk.h>
|
||||
|
||||
#include <D3dDdi/Log/CommonLog.h>
|
||||
|
||||
|
@ -9,9 +9,14 @@ template <>
|
||||
struct VtableForEach<D3DDDI_ADAPTERCALLBACKS>
|
||||
{
|
||||
template <typename Vtable, typename Visitor>
|
||||
static void forEach(Visitor& visitor, UINT /*version*/)
|
||||
static void forEach(Visitor& visitor, UINT version)
|
||||
{
|
||||
DD_VISIT(pfnQueryAdapterInfoCb);
|
||||
DD_VISIT(pfnGetMultisampleMethodListCb);
|
||||
|
||||
if (version >= D3D_UMD_INTERFACE_VERSION_WDDM2_4)
|
||||
{
|
||||
DD_VISIT(pfnQueryAdapterInfoCb2);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -73,5 +73,43 @@ struct VtableForEach<D3DDDI_DEVICECALLBACKS>
|
||||
DD_VISIT(pfnReclaimAllocations2Cb);
|
||||
DD_VISIT(pfnGetResourcePresentPrivateDriverDataCb);
|
||||
}
|
||||
|
||||
if (version >= D3D_UMD_INTERFACE_VERSION_WDDM2_1_1)
|
||||
{
|
||||
DD_VISIT(pfnUpdateAllocationPropertyCb);
|
||||
DD_VISIT(pfnOfferAllocations2Cb);
|
||||
}
|
||||
|
||||
if (version >= D3D_UMD_INTERFACE_VERSION_WDDM2_1_2)
|
||||
{
|
||||
DD_VISIT(pfnReclaimAllocations3Cb);
|
||||
DD_VISIT(pfnAcquireResourceCb);
|
||||
}
|
||||
|
||||
if (version >= D3D_UMD_INTERFACE_VERSION_WDDM2_1_3)
|
||||
{
|
||||
DD_VISIT(pfnReleaseResourceCb);
|
||||
}
|
||||
|
||||
if (version >= D3D_UMD_INTERFACE_VERSION_WDDM2_2_1)
|
||||
{
|
||||
DD_VISIT(pfnCreateHwContextCb);
|
||||
DD_VISIT(pfnDestroyHwContextCb);
|
||||
DD_VISIT(pfnCreateHwQueueCb);
|
||||
DD_VISIT(pfnDestroyHwQueueCb);
|
||||
DD_VISIT(pfnSubmitCommandToHwQueueCb);
|
||||
DD_VISIT(pfnSubmitWaitForSyncObjectsToHwQueueCb);
|
||||
DD_VISIT(pfnSubmitSignalSyncObjectsToHwQueueCb);
|
||||
}
|
||||
|
||||
if (version >= D3D_UMD_INTERFACE_VERSION_WDDM2_4_2)
|
||||
{
|
||||
DD_VISIT(pfnSubmitPresentBltToHwQueueCb);
|
||||
}
|
||||
|
||||
if (version >= D3D_UMD_INTERFACE_VERSION_WDDM2_5_2)
|
||||
{
|
||||
DD_VISIT(pfnSubmitPresentToHwQueueCb);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -18,7 +18,7 @@
|
||||
<ProjectGuid>{1146187A-17DE-4350-B9D1-9F9EAA934908}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>DDrawCompat</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
|
Loading…
x
Reference in New Issue
Block a user