Ziqing Hui : include: Add defines for ID2D1ComputeInfo.
Alexandre Julliard
julliard at winehq.org
Tue Apr 26 16:25:26 CDT 2022
Module: wine
Branch: master
Commit: 3d891e413057aa2e2657752aa0f13897207a81c8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3d891e413057aa2e2657752aa0f13897207a81c8
Author: Ziqing Hui <zhui at codeweavers.com>
Date: Tue Apr 26 10:40:37 2022 +0800
include: Add defines for ID2D1ComputeInfo.
Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/d2d1effectauthor.idl | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/include/d2d1effectauthor.idl b/include/d2d1effectauthor.idl
index 1f98999a117..442c0156227 100644
--- a/include/d2d1effectauthor.idl
+++ b/include/d2d1effectauthor.idl
@@ -192,3 +192,23 @@ interface ID2D1DrawInfo : ID2D1RenderInfo
[in, optional] const GUID *shader
);
}
+
+[
+ object,
+ uuid(5598b14b-9fd7-48b7-9bdb-8f0964eb38bc),
+ local,
+]
+interface ID2D1ComputeInfo : ID2D1RenderInfo
+{
+ HRESULT SetComputeShaderconstantBuffer(
+ [in] const BYTE *buffer,
+ [in] UINT32 size
+ );
+ HRESULT SetComputeShader(
+ [in] REFGUID id
+ );
+ HRESULT SetResourceTexture(
+ [in] UINT32 index,
+ [in] ID2D1ResourceTexture *texture
+ );
+}
More information about the wine-cvs
mailing list