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
0271be18
Commit
0271be18
authored
Oct 20, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Add a debug function for D3D10_PRIMITIVE_TOPOLOGY.
parent
f4bc3fe7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
d3d10_private.h
dlls/d3d10/d3d10_private.h
+1
-0
utils.c
dlls/d3d10/utils.c
+20
-0
No files found.
dlls/d3d10/d3d10_private.h
View file @
0271be18
...
...
@@ -29,6 +29,7 @@
/* TRACE helper functions */
const
char
*
debug_d3d10_driver_type
(
D3D10_DRIVER_TYPE
driver_type
);
const
char
*
debug_d3d10_primitive_topology
(
D3D10_PRIMITIVE_TOPOLOGY
topology
);
const
char
*
debug_dxgi_format
(
DXGI_FORMAT
format
);
#endif
/* __WINE_D3D10_PRIVATE_H */
dlls/d3d10/utils.c
View file @
0271be18
...
...
@@ -40,6 +40,26 @@ const char *debug_d3d10_driver_type(D3D10_DRIVER_TYPE driver_type)
}
}
const
char
*
debug_d3d10_primitive_topology
(
D3D10_PRIMITIVE_TOPOLOGY
topology
)
{
switch
(
topology
)
{
WINE_D3D10_TO_STR
(
D3D10_PRIMITIVE_TOPOLOGY_UNDEFINED
);
WINE_D3D10_TO_STR
(
D3D10_PRIMITIVE_TOPOLOGY_POINTLIST
);
WINE_D3D10_TO_STR
(
D3D10_PRIMITIVE_TOPOLOGY_LINELIST
);
WINE_D3D10_TO_STR
(
D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP
);
WINE_D3D10_TO_STR
(
D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST
);
WINE_D3D10_TO_STR
(
D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP
);
WINE_D3D10_TO_STR
(
D3D10_PRIMITIVE_TOPOLOGY_LINELIST_ADJ
);
WINE_D3D10_TO_STR
(
D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ
);
WINE_D3D10_TO_STR
(
D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ
);
WINE_D3D10_TO_STR
(
D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ
);
default:
FIXME
(
"Unrecognized D3D10_PRIMITIVE_TOPOLOGY %#x
\n
"
,
topology
);
return
"unrecognized"
;
}
}
const
char
*
debug_dxgi_format
(
DXGI_FORMAT
format
)
{
switch
(
format
)
...
...
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