Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
c05e8d14
Commit
c05e8d14
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: Implement private data methods for ID3D11Buffer.
parent
9abc17dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
buffer.c
dlls/d3d11/buffer.c
+12
-6
No files found.
dlls/d3d11/buffer.c
View file @
c05e8d14
...
...
@@ -110,25 +110,31 @@ static void STDMETHODCALLTYPE d3d11_buffer_GetDevice(ID3D11Buffer *iface, ID3D11
static
HRESULT
STDMETHODCALLTYPE
d3d11_buffer_GetPrivateData
(
ID3D11Buffer
*
iface
,
REFGUID
guid
,
UINT
*
data_size
,
void
*
data
)
{
FIXME
(
"iface %p, guid %s, data_size %p, data %p stub!
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
struct
d3d_buffer
*
buffer
=
impl_from_ID3D11Buffer
(
iface
);
TRACE
(
"iface %p, guid %s, data_size %p, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
E_NOTIMPL
;
return
d3d_get_private_data
(
&
buffer
->
private_store
,
guid
,
data_size
,
data
)
;
}
static
HRESULT
STDMETHODCALLTYPE
d3d11_buffer_SetPrivateData
(
ID3D11Buffer
*
iface
,
REFGUID
guid
,
UINT
data_size
,
const
void
*
data
)
{
FIXME
(
"iface %p, guid %s, data_size %u, data %p stub!
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
struct
d3d_buffer
*
buffer
=
impl_from_ID3D11Buffer
(
iface
);
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
E_NOTIMPL
;
return
d3d_set_private_data
(
&
buffer
->
private_store
,
guid
,
data_size
,
data
)
;
}
static
HRESULT
STDMETHODCALLTYPE
d3d11_buffer_SetPrivateDataInterface
(
ID3D11Buffer
*
iface
,
REFGUID
guid
,
const
IUnknown
*
data
)
{
FIXME
(
"iface %p, guid %s, data %p stub!
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
struct
d3d_buffer
*
buffer
=
impl_from_ID3D11Buffer
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"iface %p, guid %s, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data
);
return
d3d_set_private_data_interface
(
&
buffer
->
private_store
,
guid
,
data
);
}
static
void
STDMETHODCALLTYPE
d3d11_buffer_GetType
(
ID3D11Buffer
*
iface
,
...
...
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