RetroArch
d2d1_2.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 //
4 // This file is automatically generated. Please do not edit it directly.
5 //
6 // File name: D2D1_2.h
7 //---------------------------------------------------------------------------
8 #ifdef _MSC_VER
9 #pragma once
10 #endif // #ifdef _MSC_VER
11 
12 #ifndef _D2D1_2_H_
13 #define _D2D1_2_H_
14 
15 #ifndef _D2D1_1_H_
16 #include <d2d1_1.h>
17 #endif // #ifndef _D2D1_1_H_
18 #ifndef _D2D1_EFFECTS_1_
19 #include <d2d1effects_1.h>
20 #endif // #ifndef _D2D1_EFFECTS_1_
21 
22 /*#include <winapifamily.h>*/
23 
24 /*#pragma region Application Family*/
25 /*#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)*/
26 
27 #ifndef D2D_USE_C_DEFINITIONS
28 
29 interface ID2D1Device1;
30 #else
31 
32 typedef interface ID2D1Device1 ID2D1Device1;
33 
34 #endif
35 
40 {
44 
46 
47 
50 EXTERN_C CONST IID IID_ID2D1Device1;
51 EXTERN_C CONST IID IID_ID2D1Factory2;
53 
54 
55 #ifndef D2D_USE_C_DEFINITIONS
56 
57 
62 interface DX_DECLARE_INTERFACE("a16907d7-bc02-4801-99e8-8cf7f485f774") ID2D1GeometryRealization : public ID2D1Resource
63 {
64 }; // interface ID2D1GeometryRealization
65 
66 
70 interface DX_DECLARE_INTERFACE("d37f57e4-6908-459f-a199-e72f24f79987") ID2D1DeviceContext1 : public ID2D1DeviceContext
71 {
72 
73  STDMETHOD(CreateFilledGeometryRealization)(
74  _In_ ID2D1Geometry *geometry,
75  FLOAT flatteningTolerance,
76  _COM_Outptr_ ID2D1GeometryRealization **geometryRealization
77  ) PURE;
78 
79  STDMETHOD(CreateStrokedGeometryRealization)(
80  _In_ ID2D1Geometry *geometry,
81  FLOAT flatteningTolerance,
82  FLOAT strokeWidth,
83  _In_opt_ ID2D1StrokeStyle *strokeStyle,
84  _COM_Outptr_ ID2D1GeometryRealization **geometryRealization
85  ) PURE;
86 
87  STDMETHOD_(void, DrawGeometryRealization)(
88  _In_ ID2D1GeometryRealization *geometryRealization,
89  _In_ ID2D1Brush *brush
90  ) PURE;
91 }; // interface ID2D1DeviceContext1
92 
93 
98 interface DX_DECLARE_INTERFACE("d21768e1-23a4-4823-a14b-7c3eba85d658") ID2D1Device1 : public ID2D1Device
99 {
100 
104  STDMETHOD_(D2D1_RENDERING_PRIORITY, GetRenderingPriority)(
105  ) PURE;
106 
110  STDMETHOD_(void, SetRenderingPriority)(
111  D2D1_RENDERING_PRIORITY renderingPriority
112  ) PURE;
113 
117  STDMETHOD(CreateDeviceContext)(
119  _COM_Outptr_ ID2D1DeviceContext1 **deviceContext1
120  ) PURE;
121 
122  using ID2D1Device::CreateDeviceContext;
123 }; // interface ID2D1Device1
124 
125 
130 interface DX_DECLARE_INTERFACE("94f81a73-9212-4376-9c58-b16a3a0d3992") ID2D1Factory2 : public ID2D1Factory1
131 {
132 
136  STDMETHOD(CreateDevice)(
137  _In_ IDXGIDevice *dxgiDevice,
138  _COM_Outptr_ ID2D1Device1 **d2dDevice1
139  ) PURE;
140 
141  using ID2D1Factory1::CreateDevice;
142 }; // interface ID2D1Factory2
143 
144 
150 interface DX_DECLARE_INTERFACE("9eb767fd-4269-4467-b8c2-eb30cb305743") ID2D1CommandSink1 : public ID2D1CommandSink
151 {
152 
157  STDMETHOD(SetPrimitiveBlend1)(
158  D2D1_PRIMITIVE_BLEND primitiveBlend
159  ) PURE;
160 }; // interface ID2D1CommandSink1
161 
162 
163 
164 #endif
165 
166 
167 #ifdef D2D_USE_C_DEFINITIONS
168 
169 
171 
173 
174 typedef interface ID2D1Device1 ID2D1Device1;
175 
176 typedef interface ID2D1Factory2 ID2D1Factory2;
177 
179 
180 #endif
181 
182 
183 #ifdef __cplusplus
184 extern "C"
185 {
186 #endif
187 
188 #if NTDDI_VERSION >= NTDDI_WINBLUE
189  FLOAT WINAPI
192  );
193 #endif // #if NTDDI_VERSION >= NTDDI_WINBLUE
194 
195 #ifdef __cplusplus
196 }
197 #endif
198 
199 
200 
201 /*#endif*/ /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
202 /*#pragma endregion*/
203 #include <d2d1_2helper.h>
204 #endif // #ifndef _D2D1_2_H_
#define DX_DECLARE_INTERFACE(x)
Definition: dcommon.h:17
interface ID2D1CommandSink1 ID2D1CommandSink1
Definition: d2d1_2.h:178
interface ID2D1Factory2 ID2D1Factory2
Definition: d2d1_2.h:176
Definition: glslang_tab.cpp:129
interface ID2D1Factory1 ID2D1Factory1
Definition: d2d1_1.h:2436
interface ID2D1StrokeStyle ID2D1StrokeStyle
Definition: d2d1.h:3594
D2D1_DEVICE_CONTEXT_OPTIONS
This specifies options that apply to the device context for its lifetime.
Definition: d2d1_1.h:295
Definition: d2d1_2.h:41
GLfloat f
Definition: glext.h:8207
GLuint GLenum matrix
Definition: glext.h:10314
interface IDXGIDevice IDXGIDevice
Definition: dxgi.h:114
EXTERN_C CONST IID IID_ID2D1DeviceContext1
Definition: d2d1_2.h:49
D2D1_PRIMITIVE_BLEND
A blend mode that applies to all primitives drawn on the context.
Definition: d2d1_1.h:341
interface ID2D1DeviceContext ID2D1DeviceContext
Definition: d2d1_1.h:2432
interface ID2D1CommandSink ID2D1CommandSink
Definition: d2d1_1.h:2406
interface ID2D1Geometry ID2D1Geometry
Definition: d2d1.h:76
EXTERN_C CONST IID IID_ID2D1GeometryRealization
Definition: d2d1_2.h:48
Definition: d2d1_2.h:42
FLOAT WINAPI D2D1ComputeMaximumScaleFactor(_In_ CONST D2D1_MATRIX_3X2_F *matrix)
interface ID2D1Device1 ID2D1Device1
Definition: d2d1_2.h:32
Represents a 3-by-2 matrix.
Definition: dcommon.h:275
interface ID2D1Device ID2D1Device
Definition: d2d1_1.h:52
interface ID2D1DeviceContext1 ID2D1DeviceContext1
Definition: d2d1_2.h:172
interface ID2D1Resource ID2D1Resource
Definition: d2d1.h:3576
interface ID2D1Brush ID2D1Brush
Definition: d2d1.h:77
interface ID2D1GeometryRealization ID2D1GeometryRealization
Definition: d2d1_2.h:170
D2D1_RENDERING_PRIORITY
Specifies the extent to which D2D will throttle work sent to the GPU.
Definition: d2d1_2.h:39
Definition: glslang_tab.cpp:133
bf_uint8_t options
Definition: connect_ps4.c:78
EXTERN_C CONST IID IID_ID2D1Factory2
Definition: d2d1_2.h:51
EXTERN_C CONST IID IID_ID2D1Device1
Definition: d2d1_2.h:50
EXTERN_C CONST IID IID_ID2D1CommandSink1
Definition: d2d1_2.h:52