Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
1bc74139
Commit
1bc74139
authored
Sep 03, 2015
by
Józef Kucia
Committed by
Alexandre Julliard
Sep 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d11: Rename d3d10_{get, set}_private_data functions to d3d_{get, set}_private_data.
parent
8821a146
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
52 additions
and
52 deletions
+52
-52
async.c
dlls/d3d11/async.c
+3
-3
buffer.c
dlls/d3d11/buffer.c
+3
-3
d3d11_private.h
dlls/d3d11/d3d11_private.h
+3
-3
inputlayout.c
dlls/d3d11/inputlayout.c
+3
-3
shader.c
dlls/d3d11/shader.c
+9
-9
state.c
dlls/d3d11/state.c
+12
-12
texture.c
dlls/d3d11/texture.c
+6
-6
utils.c
dlls/d3d11/utils.c
+4
-4
view.c
dlls/d3d11/view.c
+9
-9
No files found.
dlls/d3d11/async.c
View file @
1bc74139
...
...
@@ -104,7 +104,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_query_GetPrivateData(ID3D10Query *iface,
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
query
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
query
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_query_SetPrivateData
(
ID3D10Query
*
iface
,
...
...
@@ -115,7 +115,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_query_SetPrivateData(ID3D10Query *iface,
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
query
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
query
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_query_SetPrivateDataInterface
(
ID3D10Query
*
iface
,
...
...
@@ -125,7 +125,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_query_SetPrivateDataInterface(ID3D10Query
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
query
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
query
->
private_store
,
guid
,
data
);
}
/* ID3D10Asynchronous methods */
...
...
dlls/d3d11/buffer.c
View file @
1bc74139
...
...
@@ -111,7 +111,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_buffer_GetPrivateData(ID3D10Buffer *iface
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
buffer
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
buffer
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_buffer_SetPrivateData
(
ID3D10Buffer
*
iface
,
...
...
@@ -122,7 +122,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_buffer_SetPrivateData(ID3D10Buffer *iface
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
buffer
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
buffer
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_buffer_SetPrivateDataInterface
(
ID3D10Buffer
*
iface
,
...
...
@@ -132,7 +132,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_buffer_SetPrivateDataInterface(ID3D10Buff
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
buffer
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
buffer
->
private_store
,
guid
,
data
);
}
/* ID3D10Resource methods */
...
...
dlls/d3d11/d3d11_private.h
View file @
1bc74139
...
...
@@ -76,11 +76,11 @@ UINT d3d10_cpu_access_flags_from_d3d11_cpu_access_flags(UINT cpu_access_flags) D
UINT
d3d11_resource_misc_flags_from_d3d10_resource_misc_flags
(
UINT
resource_misc_flags
)
DECLSPEC_HIDDEN
;
UINT
d3d10_resource_misc_flags_from_d3d11_resource_misc_flags
(
UINT
resource_misc_flags
)
DECLSPEC_HIDDEN
;
HRESULT
d3d
10
_get_private_data
(
struct
wined3d_private_store
*
store
,
HRESULT
d3d_get_private_data
(
struct
wined3d_private_store
*
store
,
REFGUID
guid
,
UINT
*
data_size
,
void
*
data
)
DECLSPEC_HIDDEN
;
HRESULT
d3d
10
_set_private_data
(
struct
wined3d_private_store
*
store
,
HRESULT
d3d_set_private_data
(
struct
wined3d_private_store
*
store
,
REFGUID
guid
,
UINT
data_size
,
const
void
*
data
)
DECLSPEC_HIDDEN
;
HRESULT
d3d
10
_set_private_data_interface
(
struct
wined3d_private_store
*
store
,
HRESULT
d3d_set_private_data_interface
(
struct
wined3d_private_store
*
store
,
REFGUID
guid
,
const
IUnknown
*
object
)
DECLSPEC_HIDDEN
;
static
inline
void
read_dword
(
const
char
**
ptr
,
DWORD
*
d
)
...
...
dlls/d3d11/inputlayout.c
View file @
1bc74139
...
...
@@ -170,7 +170,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_input_layout_GetPrivateData(ID3D10InputLa
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
layout
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
layout
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_input_layout_SetPrivateData
(
ID3D10InputLayout
*
iface
,
...
...
@@ -181,7 +181,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_input_layout_SetPrivateData(ID3D10InputLa
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
layout
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
layout
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_input_layout_SetPrivateDataInterface
(
ID3D10InputLayout
*
iface
,
...
...
@@ -191,7 +191,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_input_layout_SetPrivateDataInterface(ID3D
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
layout
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
layout
->
private_store
,
guid
,
data
);
}
static
const
struct
ID3D10InputLayoutVtbl
d3d10_input_layout_vtbl
=
...
...
dlls/d3d11/shader.c
View file @
1bc74139
...
...
@@ -209,7 +209,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_vertex_shader_GetPrivateData(ID3D10Vertex
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
shader
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
shader
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_vertex_shader_SetPrivateData
(
ID3D10VertexShader
*
iface
,
...
...
@@ -220,7 +220,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_vertex_shader_SetPrivateData(ID3D10Vertex
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
shader
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
shader
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_vertex_shader_SetPrivateDataInterface
(
ID3D10VertexShader
*
iface
,
...
...
@@ -230,7 +230,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_vertex_shader_SetPrivateDataInterface(ID3
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
shader
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
shader
->
private_store
,
guid
,
data
);
}
static
const
struct
ID3D10VertexShaderVtbl
d3d10_vertex_shader_vtbl
=
...
...
@@ -385,7 +385,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_geometry_shader_GetPrivateData(ID3D10Geom
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
shader
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
shader
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_geometry_shader_SetPrivateData
(
ID3D10GeometryShader
*
iface
,
...
...
@@ -396,7 +396,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_geometry_shader_SetPrivateData(ID3D10Geom
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
shader
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
shader
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_geometry_shader_SetPrivateDataInterface
(
ID3D10GeometryShader
*
iface
,
...
...
@@ -406,7 +406,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_geometry_shader_SetPrivateDataInterface(I
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
shader
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
shader
->
private_store
,
guid
,
data
);
}
static
const
struct
ID3D10GeometryShaderVtbl
d3d10_geometry_shader_vtbl
=
...
...
@@ -576,7 +576,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_pixel_shader_GetPrivateData(ID3D10PixelSh
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
shader
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
shader
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_pixel_shader_SetPrivateData
(
ID3D10PixelShader
*
iface
,
...
...
@@ -587,7 +587,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_pixel_shader_SetPrivateData(ID3D10PixelSh
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
shader
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
shader
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_pixel_shader_SetPrivateDataInterface
(
ID3D10PixelShader
*
iface
,
...
...
@@ -597,7 +597,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_pixel_shader_SetPrivateDataInterface(ID3D
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
shader
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
shader
->
private_store
,
guid
,
data
);
}
static
const
struct
ID3D10PixelShaderVtbl
d3d10_pixel_shader_vtbl
=
...
...
dlls/d3d11/state.c
View file @
1bc74139
...
...
@@ -108,7 +108,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_blend_state_GetPrivateData(ID3D10BlendSta
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_blend_state_SetPrivateData
(
ID3D10BlendState
*
iface
,
...
...
@@ -119,7 +119,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_blend_state_SetPrivateData(ID3D10BlendSta
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_blend_state_SetPrivateDataInterface
(
ID3D10BlendState
*
iface
,
...
...
@@ -129,7 +129,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_blend_state_SetPrivateDataInterface(ID3D1
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
state
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
state
->
private_store
,
guid
,
data
);
}
/* ID3D10BlendState methods */
...
...
@@ -270,7 +270,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_state_GetPrivateData(ID3D10D
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_depthstencil_state_SetPrivateData
(
ID3D10DepthStencilState
*
iface
,
...
...
@@ -281,7 +281,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_state_SetPrivateData(ID3D10D
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_depthstencil_state_SetPrivateDataInterface
(
ID3D10DepthStencilState
*
iface
,
...
...
@@ -291,7 +291,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_state_SetPrivateDataInterfac
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
state
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
state
->
private_store
,
guid
,
data
);
}
/* ID3D10DepthStencilState methods */
...
...
@@ -432,7 +432,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_rasterizer_state_GetPrivateData(ID3D10Ras
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_rasterizer_state_SetPrivateData
(
ID3D10RasterizerState
*
iface
,
...
...
@@ -443,7 +443,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_rasterizer_state_SetPrivateData(ID3D10Ras
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_rasterizer_state_SetPrivateDataInterface
(
ID3D10RasterizerState
*
iface
,
...
...
@@ -453,7 +453,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_rasterizer_state_SetPrivateDataInterface(
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
state
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
state
->
private_store
,
guid
,
data
);
}
/* ID3D10RasterizerState methods */
...
...
@@ -596,7 +596,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_sampler_state_GetPrivateData(ID3D10Sample
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_sampler_state_SetPrivateData
(
ID3D10SamplerState
*
iface
,
...
...
@@ -607,7 +607,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_sampler_state_SetPrivateData(ID3D10Sample
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
state
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_sampler_state_SetPrivateDataInterface
(
ID3D10SamplerState
*
iface
,
...
...
@@ -617,7 +617,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_sampler_state_SetPrivateDataInterface(ID3
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
state
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
state
->
private_store
,
guid
,
data
);
}
/* ID3D10SamplerState methods */
...
...
dlls/d3d11/texture.c
View file @
1bc74139
...
...
@@ -134,7 +134,7 @@ static HRESULT STDMETHODCALLTYPE d3d11_texture2d_GetPrivateData(ID3D11Texture2D
return
hr
;
}
return
d3d
10
_get_private_data
(
&
texture
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
texture
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d11_texture2d_SetPrivateData
(
ID3D11Texture2D
*
iface
,
...
...
@@ -154,7 +154,7 @@ static HRESULT STDMETHODCALLTYPE d3d11_texture2d_SetPrivateData(ID3D11Texture2D
return
hr
;
}
return
d3d
10
_set_private_data
(
&
texture
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
texture
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d11_texture2d_SetPrivateDataInterface
(
ID3D11Texture2D
*
iface
,
...
...
@@ -174,7 +174,7 @@ static HRESULT STDMETHODCALLTYPE d3d11_texture2d_SetPrivateDataInterface(ID3D11T
return
hr
;
}
return
d3d
10
_set_private_data_interface
(
&
texture
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
texture
->
private_store
,
guid
,
data
);
}
static
void
STDMETHODCALLTYPE
d3d11_texture2d_GetType
(
ID3D11Texture2D
*
iface
,
...
...
@@ -760,7 +760,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_texture3d_GetPrivateData(ID3D10Texture3D
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
texture
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
texture
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_texture3d_SetPrivateData
(
ID3D10Texture3D
*
iface
,
...
...
@@ -771,7 +771,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_texture3d_SetPrivateData(ID3D10Texture3D
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
texture
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
texture
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_texture3d_SetPrivateDataInterface
(
ID3D10Texture3D
*
iface
,
...
...
@@ -781,7 +781,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_texture3d_SetPrivateDataInterface(ID3D10T
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
texture
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
texture
->
private_store
,
guid
,
data
);
}
static
void
STDMETHODCALLTYPE
d3d10_texture3d_GetType
(
ID3D10Texture3D
*
iface
,
...
...
dlls/d3d11/utils.c
View file @
1bc74139
...
...
@@ -553,7 +553,7 @@ DWORD wined3d_map_flags_from_d3d10_map_type(D3D10_MAP map_type)
}
}
HRESULT
d3d
10
_get_private_data
(
struct
wined3d_private_store
*
store
,
HRESULT
d3d_get_private_data
(
struct
wined3d_private_store
*
store
,
REFGUID
guid
,
UINT
*
data_size
,
void
*
data
)
{
const
struct
wined3d_private_data
*
stored_data
;
...
...
@@ -591,7 +591,7 @@ HRESULT d3d10_get_private_data(struct wined3d_private_store *store,
return
S_OK
;
}
HRESULT
d3d
10
_set_private_data
(
struct
wined3d_private_store
*
store
,
HRESULT
d3d_set_private_data
(
struct
wined3d_private_store
*
store
,
REFGUID
guid
,
UINT
data_size
,
const
void
*
data
)
{
struct
wined3d_private_data
*
entry
;
...
...
@@ -617,13 +617,13 @@ HRESULT d3d10_set_private_data(struct wined3d_private_store *store,
return
hr
;
}
HRESULT
d3d
10
_set_private_data_interface
(
struct
wined3d_private_store
*
store
,
HRESULT
d3d_set_private_data_interface
(
struct
wined3d_private_store
*
store
,
REFGUID
guid
,
const
IUnknown
*
object
)
{
HRESULT
hr
;
if
(
!
object
)
return
d3d
10
_set_private_data
(
store
,
guid
,
sizeof
(
object
),
&
object
);
return
d3d_set_private_data
(
store
,
guid
,
sizeof
(
object
),
&
object
);
wined3d_mutex_lock
();
hr
=
wined3d_private_store_set_private_data
(
store
,
...
...
dlls/d3d11/view.c
View file @
1bc74139
...
...
@@ -436,7 +436,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_view_GetPrivateData(ID3D10De
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_depthstencil_view_SetPrivateData
(
ID3D10DepthStencilView
*
iface
,
...
...
@@ -447,7 +447,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_view_SetPrivateData(ID3D10De
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_depthstencil_view_SetPrivateDataInterface
(
ID3D10DepthStencilView
*
iface
,
...
...
@@ -457,7 +457,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_view_SetPrivateDataInterface
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
view
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
view
->
private_store
,
guid
,
data
);
}
/* ID3D10View methods */
...
...
@@ -689,7 +689,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_rendertarget_view_GetPrivateData(ID3D10Re
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_rendertarget_view_SetPrivateData
(
ID3D10RenderTargetView
*
iface
,
...
...
@@ -700,7 +700,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_rendertarget_view_SetPrivateData(ID3D10Re
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_rendertarget_view_SetPrivateDataInterface
(
ID3D10RenderTargetView
*
iface
,
...
...
@@ -710,7 +710,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_rendertarget_view_SetPrivateDataInterface
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
view
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
view
->
private_store
,
guid
,
data
);
}
/* ID3D10View methods */
...
...
@@ -954,7 +954,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_shader_resource_view_GetPrivateData(ID3D1
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_get_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_get_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_shader_resource_view_SetPrivateData
(
ID3D10ShaderResourceView
*
iface
,
...
...
@@ -965,7 +965,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_shader_resource_view_SetPrivateData(ID3D1
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
d3d
10
_set_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
);
return
d3d_set_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
);
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_shader_resource_view_SetPrivateDataInterface
(
ID3D10ShaderResourceView
*
iface
,
...
...
@@ -975,7 +975,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_shader_resource_view_SetPrivateDataInterf
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d
10
_set_private_data_interface
(
&
view
->
private_store
,
guid
,
data
);
return
d3d_set_private_data_interface
(
&
view
->
private_store
,
guid
,
data
);
}
/* ID3D10View methods */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment