]> git.cworth.org Git - apitrace/blobdiff - specs/dxgi.py
Add some missing DXGI and D3D11.1 api
[apitrace] / specs / dxgi.py
index ca05368a82cfb00f95168e3c40bb7f0e1401f05e..b114bf5e1d3ce7a4b2243b5ee989913371b9d1e0 100644 (file)
@@ -155,6 +155,12 @@ IDXGIResource.methods += [
     StdMethod(HRESULT, "GetEvictionPriority", [Out(Pointer(DXGI_RESOURCE_PRIORITY), "pEvictionPriority")], sideeffects=False),
 ]
 
+DXGI_SHARED_RESOURCE_FLAG = Flags(DWORD, [
+    "DXGI_SHARED_RESOURCE_READ",
+    "DXGI_SHARED_RESOURCE_WRITE",
+])
+
+
 IDXGIKeyedMutex.methods += [
     StdMethod(HRESULT, "AcquireSync", [(UINT64, "Key"), (DWORD, "dwMilliseconds")]),
     StdMethod(HRESULT, "ReleaseSync", [(UINT64, "Key")]),