Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
853861ca
Commit
853861ca
authored
Mar 09, 2015
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Mar 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Direct3D vout: more debugging info
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
d47fcbb4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
modules/video_output/msw/common.c
modules/video_output/msw/common.c
+16
-0
modules/video_output/msw/direct3d9.c
modules/video_output/msw/direct3d9.c
+11
-0
No files found.
modules/video_output/msw/common.c
View file @
853861ca
...
...
@@ -461,10 +461,26 @@ void UpdateRects(vout_display_t *vd,
#endif
#ifndef NDEBUG
msg_Dbg
(
vd
,
"DirectXUpdateRects souce"
" offset: %i,%i visible: %ix%i"
,
source
->
i_x_offset
,
source
->
i_y_offset
,
source
->
i_visible_width
,
source
->
i_visible_height
);
msg_Dbg
(
vd
,
"DirectXUpdateRects image_src"
" coords: %li,%li,%li,%li"
,
rect_src
.
left
,
rect_src
.
top
,
rect_src
.
right
,
rect_src
.
bottom
);
msg_Dbg
(
vd
,
"DirectXUpdateRects image_src_clipped"
" coords: %li,%li,%li,%li"
,
rect_src_clipped
.
left
,
rect_src_clipped
.
top
,
rect_src_clipped
.
right
,
rect_src_clipped
.
bottom
);
msg_Dbg
(
vd
,
"DirectXUpdateRects image_dst"
" coords: %li,%li,%li,%li"
,
rect_dest
.
left
,
rect_dest
.
top
,
rect_dest
.
right
,
rect_dest
.
bottom
);
msg_Dbg
(
vd
,
"DirectXUpdateRects image_dst_clipped"
" coords: %li,%li,%li,%li"
,
rect_dest_clipped
.
left
,
rect_dest_clipped
.
top
,
rect_dest_clipped
.
right
,
rect_dest_clipped
.
bottom
);
#endif
#ifdef MODULE_NAME_IS_directdraw
...
...
modules/video_output/msw/direct3d9.c
View file @
853861ca
...
...
@@ -981,6 +981,12 @@ static int Direct3D9CreatePool(vout_display_t *vd, video_format_t *fmt)
msg_Err
(
vd
,
"Failed to create picture surface. (hr=0x%lx)"
,
hr
);
return
VLC_EGENERIC
;
}
#ifndef NDEBUG
msg_Dbg
(
vd
,
"Direct3D created offscreen surface: %ix%i"
,
fmt
->
i_visible_width
,
fmt
->
i_visible_height
);
#endif
/* fill surface with black color */
IDirect3DDevice9_ColorFill
(
d3ddev
,
surface
,
NULL
,
D3DCOLOR_ARGB
(
0xFF
,
0
,
0
,
0
));
...
...
@@ -1067,6 +1073,11 @@ static int Direct3D9CreateScene(vout_display_t *vd, const video_format_t *fmt)
return
VLC_EGENERIC
;
}
#ifndef NDEBUG
msg_Dbg
(
vd
,
"Direct3D created texture: %ix%i"
,
fmt
->
i_visible_width
,
fmt
->
i_visible_height
);
#endif
/*
** Create a vertex buffer for use when rendering scene
*/
...
...
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