include: Add defines for ID2D1EffectImpl.

Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Ziqing Hui 2022-04-27 12:24:40 +08:00 committed by Alexandre Julliard
parent c6bf391030
commit 932731233f
1 changed files with 28 additions and 0 deletions

View File

@ -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
);
}