summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-08-14 16:04:57 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-08-14 16:04:57 +0100
commita6f9a1245d98c51172c15afecb9ade1a6ca511e2 (patch)
treec124421f62af6ae1866faa6fb39e27fbc625de30 /specs
parent974e88e248b97ed923886df44c628845d3cd962d (diff)
dxgitrace: Describe IWarpPrivateAPI internal interface.
Direct2D relies on it a lot on newer Windows. Data passed in WarpEscape is opaque, but knowing that the application is relying on it is useful, since otherwise the traces will be incomplete with no warning whatsoever.
Diffstat (limited to 'specs')
-rw-r--r--specs/dxgi.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/specs/dxgi.py b/specs/dxgi.py
index 091ce746..0e880548 100644
--- a/specs/dxgi.py
+++ b/specs/dxgi.py
@@ -910,6 +910,12 @@ IDXGISwapChainDWM.methods += [
StdMethod(HRESULT, "GetLastPresentCount", [Out(Pointer(UINT), "pLastPresentCount")], sideeffects=False),
]
+IWarpPrivateAPI = Interface("IWarpPrivateAPI", IUnknown)
+IWarpPrivateAPI.methods += [
+ StdMethod(HRESULT, "WarpEscape", [(OpaquePointer(Void), "pData")]),
+]
+
dxgi.addInterfaces([
IDXGIFactoryDWM,
+ IWarpPrivateAPI,
])