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
e48fabff
Commit
e48fabff
authored
May 27, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
May 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/vmr9: Trace argument values instead of omitting them.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c6abb3b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
vmr9.c
dlls/quartz/vmr9.c
+15
-12
No files found.
dlls/quartz/vmr9.c
View file @
e48fabff
...
...
@@ -2583,19 +2583,21 @@ static ULONG WINAPI VMR9_ImagePresenter_Release(IVMRImagePresenter9 *iface)
return
refCount
;
}
static
HRESULT
WINAPI
VMR9_ImagePresenter_StartPresenting
(
IVMRImagePresenter9
*
iface
,
DWORD_PTR
id
)
static
HRESULT
WINAPI
VMR9_ImagePresenter_StartPresenting
(
IVMRImagePresenter9
*
iface
,
DWORD_PTR
cookie
)
{
struct
default_presenter
*
This
=
impl_from_IVMRImagePresenter9
(
iface
);
struct
default_presenter
*
presenter
=
impl_from_IVMRImagePresenter9
(
iface
);
TRACE
(
"presenter %p, cookie %#Ix.
\n
"
,
presenter
,
cookie
);
TRACE
(
"(%p/%p/%p)->(...) stub
\n
"
,
iface
,
This
,
This
->
pVMR9
);
return
S_OK
;
}
static
HRESULT
WINAPI
VMR9_ImagePresenter_StopPresenting
(
IVMRImagePresenter9
*
iface
,
DWORD_PTR
id
)
static
HRESULT
WINAPI
VMR9_ImagePresenter_StopPresenting
(
IVMRImagePresenter9
*
iface
,
DWORD_PTR
cookie
)
{
struct
default_presenter
*
This
=
impl_from_IVMRImagePresenter9
(
iface
);
struct
default_presenter
*
presenter
=
impl_from_IVMRImagePresenter9
(
iface
);
TRACE
(
"presenter %p, cookie %#Ix.
\n
"
,
presenter
,
cookie
);
TRACE
(
"(%p/%p/%p)->(...) stub
\n
"
,
iface
,
This
,
This
->
pVMR9
);
return
S_OK
;
}
...
...
@@ -2619,13 +2621,14 @@ static HRESULT VMR9_ImagePresenter_PresentOffscreenSurface(struct default_presen
return
hr
;
}
static
HRESULT
WINAPI
VMR9_ImagePresenter_PresentImage
(
IVMRImagePresenter9
*
iface
,
DWORD_PTR
id
,
VMR9PresentationInfo
*
info
)
static
HRESULT
WINAPI
VMR9_ImagePresenter_PresentImage
(
IVMRImagePresenter9
*
iface
,
DWORD_PTR
cookie
,
VMR9PresentationInfo
*
info
)
{
struct
default_presenter
*
This
=
impl_from_IVMRImagePresenter9
(
iface
);
HRESULT
hr
;
BOOL
render
=
FALSE
;
TRACE
(
"
(%p/%p/%p)->(...) stub
\n
"
,
iface
,
This
,
This
->
pVMR9
);
TRACE
(
"
presenter %p, cookie %#Ix, info %p.
\n
"
,
This
,
cookie
,
info
);
/* This might happen if we don't have active focus (eg on a different virtual desktop) */
if
(
!
This
->
d3d9_dev
)
...
...
@@ -2857,14 +2860,14 @@ static HRESULT WINAPI VMR9_SurfaceAllocator_GetSurface(IVMRSurfaceAllocator9 *if
}
static
HRESULT
WINAPI
VMR9_SurfaceAllocator_AdviseNotify
(
IVMRSurfaceAllocator9
*
iface
,
IVMRSurfaceAllocatorNotify9
*
alloc
notify
)
IVMRSurfaceAllocatorNotify9
*
notify
)
{
struct
default_presenter
*
This
=
impl_from_IVMRSurfaceAllocator9
(
iface
);
struct
default_presenter
*
presenter
=
impl_from_IVMRSurfaceAllocator9
(
iface
);
TRACE
(
"
(%p/%p)->(...)
\n
"
,
iface
,
This
);
TRACE
(
"
presenter %p, notify %p.
\n
"
,
presenter
,
notify
);
/* No AddRef taken here or the base VMR9 filter would never be destroyed */
This
->
SurfaceAllocatorNotify
=
alloc
notify
;
presenter
->
SurfaceAllocatorNotify
=
notify
;
return
S_OK
;
}
...
...
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