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
44f5d4bd
Commit
44f5d4bd
authored
Oct 09, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 09, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Introduce impl_from_IDirect3DRMVisualArray().
parent
cd16932b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
frame.c
dlls/d3drm/frame.c
+9
-4
No files found.
dlls/d3drm/frame.c
View file @
44f5d4bd
...
@@ -92,6 +92,11 @@ static inline IDirect3DRMFrameImpl *impl_from_IDirect3DRMFrame3(IDirect3DRMFrame
...
@@ -92,6 +92,11 @@ static inline IDirect3DRMFrameImpl *impl_from_IDirect3DRMFrame3(IDirect3DRMFrame
static
inline
IDirect3DRMFrameImpl
*
unsafe_impl_from_IDirect3DRMFrame3
(
IDirect3DRMFrame3
*
iface
);
static
inline
IDirect3DRMFrameImpl
*
unsafe_impl_from_IDirect3DRMFrame3
(
IDirect3DRMFrame3
*
iface
);
static
inline
IDirect3DRMVisualArrayImpl
*
impl_from_IDirect3DRMVisualArray
(
IDirect3DRMVisualArray
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirect3DRMVisualArrayImpl
,
IDirect3DRMVisualArray_iface
);
}
static
inline
struct
d3drm_light_array
*
impl_from_IDirect3DRMLightArray
(
IDirect3DRMLightArray
*
iface
)
static
inline
struct
d3drm_light_array
*
impl_from_IDirect3DRMLightArray
(
IDirect3DRMLightArray
*
iface
)
{
{
return
CONTAINING_RECORD
(
iface
,
struct
d3drm_light_array
,
IDirect3DRMLightArray_iface
);
return
CONTAINING_RECORD
(
iface
,
struct
d3drm_light_array
,
IDirect3DRMLightArray_iface
);
...
@@ -235,7 +240,7 @@ static HRESULT WINAPI IDirect3DRMVisualArrayImpl_QueryInterface(IDirect3DRMVisua
...
@@ -235,7 +240,7 @@ static HRESULT WINAPI IDirect3DRMVisualArrayImpl_QueryInterface(IDirect3DRMVisua
static
ULONG
WINAPI
IDirect3DRMVisualArrayImpl_AddRef
(
IDirect3DRMVisualArray
*
iface
)
static
ULONG
WINAPI
IDirect3DRMVisualArrayImpl_AddRef
(
IDirect3DRMVisualArray
*
iface
)
{
{
IDirect3DRMVisualArrayImpl
*
This
=
(
IDirect3DRMVisualArrayImpl
*
)
iface
;
IDirect3DRMVisualArrayImpl
*
This
=
impl_from_IDirect3DRMVisualArray
(
iface
)
;
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(): new ref = %u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p)->(): new ref = %u
\n
"
,
iface
,
ref
);
...
@@ -245,7 +250,7 @@ static ULONG WINAPI IDirect3DRMVisualArrayImpl_AddRef(IDirect3DRMVisualArray* if
...
@@ -245,7 +250,7 @@ static ULONG WINAPI IDirect3DRMVisualArrayImpl_AddRef(IDirect3DRMVisualArray* if
static
ULONG
WINAPI
IDirect3DRMVisualArrayImpl_Release
(
IDirect3DRMVisualArray
*
iface
)
static
ULONG
WINAPI
IDirect3DRMVisualArrayImpl_Release
(
IDirect3DRMVisualArray
*
iface
)
{
{
IDirect3DRMVisualArrayImpl
*
This
=
(
IDirect3DRMVisualArrayImpl
*
)
iface
;
IDirect3DRMVisualArrayImpl
*
This
=
impl_from_IDirect3DRMVisualArray
(
iface
)
;
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
i
;
ULONG
i
;
...
@@ -265,7 +270,7 @@ static ULONG WINAPI IDirect3DRMVisualArrayImpl_Release(IDirect3DRMVisualArray* i
...
@@ -265,7 +270,7 @@ static ULONG WINAPI IDirect3DRMVisualArrayImpl_Release(IDirect3DRMVisualArray* i
/*** IDirect3DRMArray methods ***/
/*** IDirect3DRMArray methods ***/
static
DWORD
WINAPI
IDirect3DRMVisualArrayImpl_GetSize
(
IDirect3DRMVisualArray
*
iface
)
static
DWORD
WINAPI
IDirect3DRMVisualArrayImpl_GetSize
(
IDirect3DRMVisualArray
*
iface
)
{
{
IDirect3DRMVisualArrayImpl
*
This
=
(
IDirect3DRMVisualArrayImpl
*
)
iface
;
IDirect3DRMVisualArrayImpl
*
This
=
impl_from_IDirect3DRMVisualArray
(
iface
)
;
TRACE
(
"(%p)->() = %d
\n
"
,
iface
,
This
->
size
);
TRACE
(
"(%p)->() = %d
\n
"
,
iface
,
This
->
size
);
...
@@ -276,7 +281,7 @@ static DWORD WINAPI IDirect3DRMVisualArrayImpl_GetSize(IDirect3DRMVisualArray* i
...
@@ -276,7 +281,7 @@ static DWORD WINAPI IDirect3DRMVisualArrayImpl_GetSize(IDirect3DRMVisualArray* i
static
HRESULT
WINAPI
IDirect3DRMVisualArrayImpl_GetElement
(
IDirect3DRMVisualArray
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMVisualArrayImpl_GetElement
(
IDirect3DRMVisualArray
*
iface
,
DWORD
index
,
IDirect3DRMVisual
**
visual
)
DWORD
index
,
IDirect3DRMVisual
**
visual
)
{
{
IDirect3DRMVisualArrayImpl
*
This
=
(
IDirect3DRMVisualArrayImpl
*
)
iface
;
IDirect3DRMVisualArrayImpl
*
This
=
impl_from_IDirect3DRMVisualArray
(
iface
)
;
TRACE
(
"(%p)->(%u, %p)
\n
"
,
iface
,
index
,
visual
);
TRACE
(
"(%p)->(%u, %p)
\n
"
,
iface
,
index
,
visual
);
...
...
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