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
6b167278
Commit
6b167278
authored
Apr 19, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use wine_dbgstr_rect() to trace RECTs.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f9e25741
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
videorenderer.c
dlls/quartz/videorenderer.c
+3
-3
vmr9.c
dlls/quartz/vmr9.c
+5
-6
No files found.
dlls/quartz/videorenderer.c
View file @
6b167278
...
...
@@ -184,7 +184,7 @@ static void VideoRenderer_AutoShowWindow(VideoRendererImpl *This)
AdjustWindowRectEx
(
&
This
->
WindowPos
,
style
,
FALSE
,
style_ex
);
TRACE
(
"WindowPos: %
d %d %d %d
\n
"
,
This
->
WindowPos
.
left
,
This
->
WindowPos
.
top
,
This
->
WindowPos
.
right
,
This
->
WindowPos
.
bottom
);
TRACE
(
"WindowPos: %
s
\n
"
,
wine_dbgstr_rect
(
&
This
->
WindowPos
)
);
SetWindowPos
(
This
->
baseControlWindow
.
baseWindow
.
hWnd
,
NULL
,
This
->
WindowPos
.
left
,
This
->
WindowPos
.
top
,
...
...
@@ -242,8 +242,8 @@ static DWORD VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data,
return
E_FAIL
;
}
TRACE
(
"Src Rect: %
d %d %d %d
\n
"
,
This
->
SourceRect
.
left
,
This
->
SourceRect
.
top
,
This
->
SourceRect
.
right
,
This
->
SourceRect
.
bottom
);
TRACE
(
"Dst Rect: %
d %d %d %d
\n
"
,
This
->
DestRect
.
left
,
This
->
DestRect
.
top
,
This
->
DestRect
.
right
,
This
->
DestRect
.
bottom
);
TRACE
(
"Src Rect: %
s
\n
"
,
wine_dbgstr_rect
(
&
This
->
SourceRect
)
);
TRACE
(
"Dst Rect: %
s
\n
"
,
wine_dbgstr_rect
(
&
This
->
DestRect
)
);
StretchDIBits
(
This
->
baseControlWindow
.
baseWindow
.
hDC
,
This
->
DestRect
.
left
,
This
->
DestRect
.
top
,
This
->
DestRect
.
right
-
This
->
DestRect
.
left
,
This
->
DestRect
.
bottom
-
This
->
DestRect
.
top
,
This
->
SourceRect
.
left
,
This
->
SourceRect
.
top
,
...
...
dlls/quartz/vmr9.c
View file @
6b167278
...
...
@@ -245,8 +245,8 @@ static DWORD VMR9_SendSampleData(struct quartz_vmr *This, VMR9PresentationInfo *
width
=
bmiHeader
->
biWidth
;
height
=
bmiHeader
->
biHeight
;
TRACE
(
"Src Rect: %
d %d %d %d
\n
"
,
This
->
source_rect
.
left
,
This
->
source_rect
.
top
,
This
->
source_rect
.
right
,
This
->
source_rect
.
bottom
);
TRACE
(
"Dst Rect: %
d %d %d %d
\n
"
,
This
->
target_rect
.
left
,
This
->
target_rect
.
top
,
This
->
target_rect
.
right
,
This
->
target_rect
.
bottom
);
TRACE
(
"Src Rect: %
s
\n
"
,
wine_dbgstr_rect
(
&
This
->
source_rect
)
);
TRACE
(
"Dst Rect: %
s
\n
"
,
wine_dbgstr_rect
(
&
This
->
target_rect
)
);
hr
=
IDirect3DSurface9_LockRect
(
info
->
lpSurf
,
&
lock
,
NULL
,
D3DLOCK_DISCARD
);
if
(
FAILED
(
hr
))
...
...
@@ -1769,8 +1769,7 @@ static HRESULT WINAPI VMR7WindowlessControl_SetVideoPosition(IVMRWindowlessContr
This
->
target_rect
=
*
dest
;
if
(
This
->
baseControlWindow
.
baseWindow
.
hWnd
)
{
FIXME
(
"Output rectangle: starting at %dx%d, up to point %dx%d
\n
"
,
dest
->
left
,
dest
->
top
,
dest
->
right
,
dest
->
bottom
);
FIXME
(
"Output rectangle: %s
\n
"
,
wine_dbgstr_rect
(
dest
));
SetWindowPos
(
This
->
baseControlWindow
.
baseWindow
.
hWnd
,
NULL
,
dest
->
left
,
dest
->
top
,
dest
->
right
-
dest
->
left
,
dest
->
bottom
-
dest
->
top
,
SWP_NOACTIVATE
|
SWP_NOCOPYBITS
|
SWP_NOOWNERZORDER
|
SWP_NOREDRAW
);
...
...
@@ -1974,7 +1973,7 @@ static HRESULT WINAPI VMR9WindowlessControl_SetVideoPosition(IVMRWindowlessContr
This
->
target_rect
=
*
dest
;
if
(
This
->
baseControlWindow
.
baseWindow
.
hWnd
)
{
FIXME
(
"Output rectangle:
starting at %dx%d, up to point %dx%d
\n
"
,
dest
->
left
,
dest
->
top
,
dest
->
right
,
dest
->
bottom
);
FIXME
(
"Output rectangle:
%s
\n
"
,
wine_dbgstr_rect
(
dest
)
);
SetWindowPos
(
This
->
baseControlWindow
.
baseWindow
.
hWnd
,
NULL
,
dest
->
left
,
dest
->
top
,
dest
->
right
-
dest
->
left
,
dest
->
bottom
-
dest
->
top
,
SWP_NOACTIVATE
|
SWP_NOCOPYBITS
|
SWP_NOOWNERZORDER
|
SWP_NOREDRAW
);
}
...
...
@@ -2613,7 +2612,7 @@ static HRESULT WINAPI VMR9_ImagePresenter_PresentImage(IVMRImagePresenter9 *ifac
TRACE
(
"(%p/%p/%p)->(...) stub
\n
"
,
iface
,
This
,
This
->
pVMR9
);
GetWindowRect
(
This
->
pVMR9
->
baseControlWindow
.
baseWindow
.
hWnd
,
&
output
);
TRACE
(
"Output rectangle:
starting at %dx%d, up to point %dx%d
\n
"
,
output
.
left
,
output
.
top
,
output
.
right
,
output
.
bottom
);
TRACE
(
"Output rectangle:
%s
\n
"
,
wine_dbgstr_rect
(
&
output
)
);
/* This might happen if we don't have active focus (eg on a different virtual desktop) */
if
(
!
This
->
d3d9_dev
)
...
...
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