ReactOS 0.4.17-dev-934-g091855f
d3d11_2.idl
Go to the documentation of this file.
1/*
2 * Copyright 2017 Ihsan Akmal
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19import "oaidl.idl";
20import "ocidl.idl";
21import "dxgi1_3.idl";
22import "d3dcommon.idl";
23import "d3d11_1.idl";
24
25const UINT D3D11_PACKED_TILE = 0xffffffff;
26
28{
31
33{
38
40{
43
45{
50
52{
58
60{
67
69{
75
76typedef struct D3D11_TILE_SHAPE
77{
82
84{
90
91[
92 uuid(420d5b32-b90c-4da4-bef0-359f6a24a83a),
93 object,
94 local,
96]
98{
100 ID3D11Resource *resource,
101 UINT region_count,
102 const D3D11_TILED_RESOURCE_COORDINATE *region_start_coordinates,
103 const D3D11_TILE_REGION_SIZE *region_sizes,
104 ID3D11Buffer *pool,
105 UINT range_count,
106 const UINT *range_flags,
107 const UINT *pool_start_offsets,
108 const UINT *range_tile_counts,
109 UINT flags
110 );
112 ID3D11Resource *dst_resource,
113 const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate,
114 ID3D11Resource *src_resource,
115 const D3D11_TILED_RESOURCE_COORDINATE *src_start_coordinate,
116 const D3D11_TILE_REGION_SIZE *region_size,
117 UINT flags
118 );
120 ID3D11Resource *resource,
121 const D3D11_TILED_RESOURCE_COORDINATE *start_coordinate,
123 ID3D11Buffer *buffer,
124 UINT64 start_offset,
125 UINT flags
126 );
128 ID3D11Resource *dst_resource,
129 const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate,
130 const D3D11_TILE_REGION_SIZE *dst_region_size,
131 const void *src_data,
132 UINT flags
133 );
135 ID3D11Buffer *pool,
137 );
139 ID3D11DeviceChild *before_barrier,
140 ID3D11DeviceChild *after_barrier
141 );
143 void SetMarkerInt(const WCHAR *label, int data);
144 void BeginEventInt(const WCHAR *label, int data);
145 void EndEvent();
146}
147
148[
149 uuid(9d06dffa-d1e5-4d07-83a8-1bb123f2f841),
150 object,
151 local,
153]
155{
159 ID3D11Resource *resource,
160 UINT *tile_count,
161 D3D11_PACKED_MIP_DESC *mip_desc,
162 D3D11_TILE_SHAPE *tile_shape,
163 UINT *subresource_tiling_count,
164 UINT first_subresource_tiling,
165 D3D11_SUBRESOURCE_TILING *subresource_tiling
166 );
169 UINT sample_count,
170 UINT flags,
171 UINT *quality_level_count
172 );
173}
unsigned short UINT16
Definition: actypes.h:129
unsigned char UINT8
Definition: actypes.h:128
COMPILER_DEPENDENT_UINT64 UINT64
Definition: actypes.h:131
D3D11_TILE_COPY_FLAG
Definition: d3d11_2.idl:45
@ D3D11_TILE_COPY_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER
Definition: d3d11_2.idl:48
@ D3D11_TILE_COPY_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE
Definition: d3d11_2.idl:47
@ D3D11_TILE_COPY_NO_OVERWRITE
Definition: d3d11_2.idl:46
const UINT D3D11_PACKED_TILE
Definition: d3d11_2.idl:25
D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG
Definition: d3d11_2.idl:40
@ D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_TILED_RESOURCE
Definition: d3d11_2.idl:41
D3D11_TILE_RANGE_FLAG
Definition: d3d11_2.idl:33
@ D3D11_TILE_RANGE_REUSE_SINGLE_TILE
Definition: d3d11_2.idl:36
@ D3D11_TILE_RANGE_SKIP
Definition: d3d11_2.idl:35
@ D3D11_TILE_RANGE_NULL
Definition: d3d11_2.idl:34
D3D11_TILE_MAPPING_FLAG
Definition: d3d11_2.idl:28
@ D3D11_TILE_MAPPING_NO_OVERWRITE
Definition: d3d11_2.idl:29
DXGI_FORMAT
Definition: dxgiformat.idl:22
unsigned int BOOL
Definition: ntddk_ex.h:94
#define local
Definition: zutil.h:30
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLuint buffer
Definition: glext.h:5915
GLsizeiptr size
Definition: glext.h:5919
GLbitfield flags
Definition: glext.h:7161
unsigned int UINT
Definition: sysinfo.c:13
void GetImmediateContext2(ID3D11DeviceContext2 **context)
HRESULT CheckMultisampleQualityLevels1(DXGI_FORMAT format, UINT sample_count, UINT flags, UINT *quality_level_count)
HRESULT CreateDeferredContext2(UINT flags, ID3D11DeviceContext2 **context)
void GetResourceTiling(ID3D11Resource *resource, UINT *tile_count, D3D11_PACKED_MIP_DESC *mip_desc, D3D11_TILE_SHAPE *tile_shape, UINT *subresource_tiling_count, UINT first_subresource_tiling, D3D11_SUBRESOURCE_TILING *subresource_tiling)
HRESULT CopyTileMappings(ID3D11Resource *dst_resource, const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate, ID3D11Resource *src_resource, const D3D11_TILED_RESOURCE_COORDINATE *src_start_coordinate, const D3D11_TILE_REGION_SIZE *region_size, UINT flags)
HRESULT UpdateTileMappings(ID3D11Resource *resource, UINT region_count, const D3D11_TILED_RESOURCE_COORDINATE *region_start_coordinates, const D3D11_TILE_REGION_SIZE *region_sizes, ID3D11Buffer *pool, UINT range_count, const UINT *range_flags, const UINT *pool_start_offsets, const UINT *range_tile_counts, UINT flags)
HRESULT ResizeTilePool(ID3D11Buffer *pool, UINT64 size)
void SetMarkerInt(const WCHAR *label, int data)
void BeginEventInt(const WCHAR *label, int data)
void CopyTiles(ID3D11Resource *resource, const D3D11_TILED_RESOURCE_COORDINATE *start_coordinate, const D3D11_TILE_REGION_SIZE *size, ID3D11Buffer *buffer, UINT64 start_offset, UINT flags)
void UpdateTiles(ID3D11Resource *dst_resource, const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate, const D3D11_TILE_REGION_SIZE *dst_region_size, const void *src_data, UINT flags)
void TiledResourceBarrier(ID3D11DeviceChild *before_barrier, ID3D11DeviceChild *after_barrier)
Definition: msctf.idl:532
static const WCHAR label[]
Definition: itemdlg.c:1608
short WCHAR
Definition: pedump.c:58
UINT StartTileIndexInOverallResource
Definition: d3d11_2.idl:88
UINT StartTileIndexInOverallResource
Definition: d3d11_2.idl:73
UINT WidthInTexels
Definition: d3d11_2.idl:78
UINT HeightInTexels
Definition: d3d11_2.idl:79
UINT DepthInTexels
Definition: d3d11_2.idl:80
Definition: http.c:7252
ncacn_np pointer_default(unique)] interface winspool
Definition: winspool.idl:865