X-Git-Url: https://git.cworth.org/git?p=apitrace;a=blobdiff_plain;f=specs%2Fdxgi.py;h=b114bf5e1d3ce7a4b2243b5ee989913371b9d1e0;hp=ca05368a82cfb00f95168e3c40bb7f0e1401f05e;hb=cd3f69ef1a354e16f2bffdf29206f41f7dff95b7;hpb=d0d0604f3286cb816f365b07c18917652776702c diff --git a/specs/dxgi.py b/specs/dxgi.py index ca05368..b114bf5 100644 --- a/specs/dxgi.py +++ b/specs/dxgi.py @@ -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")]),