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
ce6fb666
Commit
ce6fb666
authored
Mar 23, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
D3D: debug device information
This is necessary to track the issues we have on XP with some GPU.
parent
c8864a0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
modules/video_output/msw/direct3d.c
modules/video_output/msw/direct3d.c
+9
-0
No files found.
modules/video_output/msw/direct3d.c
View file @
ce6fb666
...
...
@@ -614,6 +614,15 @@ static int Direct3DOpen(vout_display_t *vd, video_format_t *fmt)
}
#endif
/* */
D3DADAPTER_IDENTIFIER9
d3dai
;
if
(
FAILED
(
IDirect3D9_GetAdapterIdentifier
(
d3dobj
,
AdapterToUse
,
0
,
&
d3dai
)))
{
msg_Warn
(
vd
,
"IDirect3D9_GetAdapterIdentifier failed"
);
}
else
{
msg_Dbg
(
vd
,
"Direct3d Device: %s %lu %lu %lu"
,
d3dai
.
Description
,
d3dai
.
VendorId
,
d3dai
.
DeviceId
,
d3dai
.
Revision
);
}
HRESULT
hr
=
IDirect3D9_CreateDevice
(
d3dobj
,
AdapterToUse
,
DeviceType
,
sys
->
hvideownd
,
D3DCREATE_SOFTWARE_VERTEXPROCESSING
|
...
...
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