Biswapriyo Nath : include: Add ID3D12SharingContract interface declarations in vkd3d_d3d12sdklayers.idl.

Alexandre Julliard julliard at winehq.org
Fri Jun 10 16:26:12 CDT 2022


Module: vkd3d
Branch: master
Commit: 694e5c865b01a4728ea1620ad456816248ce88a1
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=694e5c865b01a4728ea1620ad456816248ce88a1

Author: Biswapriyo Nath <nathbappai at gmail.com>
Date:   Thu Jun  9 10:40:28 2022 +0530

include: Add ID3D12SharingContract interface declarations in vkd3d_d3d12sdklayers.idl.

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/vkd3d_d3d12sdklayers.idl | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/include/vkd3d_d3d12sdklayers.idl b/include/vkd3d_d3d12sdklayers.idl
index 8238214c..c1036572 100644
--- a/include/vkd3d_d3d12sdklayers.idl
+++ b/include/vkd3d_d3d12sdklayers.idl
@@ -1087,6 +1087,20 @@ interface ID3D12DebugDevice2 : ID3D12DebugDevice
     HRESULT GetDebugParameter(D3D12_DEBUG_DEVICE_PARAMETER_TYPE type, void *data, UINT size);
 }
 
+[
+    uuid(0adf7d52-929c-4e61-addb-ffed30de66ef),
+    object,
+    local,
+    pointer_default(unique)
+]
+interface ID3D12SharingContract : IUnknown
+{
+    void Present(ID3D12Resource *resource, UINT sub_resource, HWND window);
+    void SharedFenceSignal(ID3D12Fence *fence, UINT64 fence_value);
+    void BeginCapturableWork(REFGUID guid);
+    void EndCapturableWork(REFGUID guid);
+}
+
 [
     uuid(0742a90b-c387-483f-b946-30a7e4e61458),
     object,




More information about the wine-cvs mailing list