Module: wine Branch: master Commit: 932731233f6d201869fded12a1ea5fb7b8602341 URL: https://source.winehq.org/git/wine.git/?a=commit;h=932731233f6d201869fded12a... Author: Ziqing Hui <zhui(a)codeweavers.com> Date: Wed Apr 27 12:24:40 2022 +0800 include: Add defines for ID2D1EffectImpl. Signed-off-by: Ziqing Hui <zhui(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- include/d2d1effectauthor.idl | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/include/d2d1effectauthor.idl b/include/d2d1effectauthor.idl index 60cff9cc277..b53aa515e85 100644 --- a/include/d2d1effectauthor.idl +++ b/include/d2d1effectauthor.idl @@ -47,6 +47,15 @@ typedef enum D2D1_CHANNEL_DEPTH D2D1_CHANNEL_DEPTH_FORCE_DWORD = 0xffffffff } D2D1_CHANNEL_DEPTH; +typedef enum D2D1_CHANGE_TYPE +{ + D2D1_CHANGE_TYPE_NONE = 0x0, + D2D1_CHANGE_TYPE_PROPERTIES = 0x1, + D2D1_CHANGE_TYPE_CONTEXT = 0x2, + D2D1_CHANGE_TYPE_GRAPH = 0x3, + D2D1_CHANGE_TYPE_FORCE_DWORD = 0xffffffff +} D2D1_CHANGE_TYPE; + typedef enum D2D1_PIXEL_OPTIONS { D2D1_PIXEL_OPTIONS_NONE = 0x0, @@ -576,3 +585,22 @@ interface ID2D1EffectContext : IUnknown [in] D2D1_BUFFER_PRECISION precision ); } + +[ + object, + uuid(a248fd3f-3e6c-4e63-9f03-7f68ecc91db9), + local, +] +interface ID2D1EffectImpl : IUnknown +{ + HRESULT Initialize( + [in] ID2D1EffectContext *context, + [in] ID2D1TransformGraph *graph + ); + HRESULT PrepareForRender( + [in] D2D1_CHANGE_TYPE type + ); + HRESULT SetGraph( + [in] ID2D1TransformGraph *graph + ); +}