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
75108443
Commit
75108443
authored
Apr 09, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Apr 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add a function to dump WINED3DTEXTUREFILTERTYPE values.
parent
c9b178b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
utils.c
dlls/wined3d/utils.c
+18
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-0
No files found.
dlls/wined3d/utils.c
View file @
75108443
...
...
@@ -571,6 +571,24 @@ const char* debug_d3dsamplerstate(DWORD state) {
}
}
const
char
*
debug_d3dtexturefiltertype
(
WINED3DTEXTUREFILTERTYPE
filter_type
)
{
switch
(
filter_type
)
{
#define D3DTEXTUREFILTERTYPE_TO_STR(u) case u: return #u
D3DTEXTUREFILTERTYPE_TO_STR
(
WINED3DTEXF_NONE
);
D3DTEXTUREFILTERTYPE_TO_STR
(
WINED3DTEXF_POINT
);
D3DTEXTUREFILTERTYPE_TO_STR
(
WINED3DTEXF_LINEAR
);
D3DTEXTUREFILTERTYPE_TO_STR
(
WINED3DTEXF_ANISOTROPIC
);
D3DTEXTUREFILTERTYPE_TO_STR
(
WINED3DTEXF_FLATCUBIC
);
D3DTEXTUREFILTERTYPE_TO_STR
(
WINED3DTEXF_GAUSSIANCUBIC
);
D3DTEXTUREFILTERTYPE_TO_STR
(
WINED3DTEXF_PYRAMIDALQUAD
);
D3DTEXTUREFILTERTYPE_TO_STR
(
WINED3DTEXF_GAUSSIANQUAD
);
#undef D3DTEXTUREFILTERTYPE_TO_STR
default:
FIXME
(
"Unrecognied texture filter type 0x%08x
\n
"
,
filter_type
);
return
"unrecognized"
;
}
}
const
char
*
debug_d3dtexturestate
(
DWORD
state
)
{
switch
(
state
)
{
#define D3DSTATE_TO_STR(u) case u: return #u
...
...
dlls/wined3d/wined3d_private.h
View file @
75108443
...
...
@@ -1397,6 +1397,7 @@ const char* debug_d3ddeclusage(BYTE usage);
const
char
*
debug_d3dprimitivetype
(
WINED3DPRIMITIVETYPE
PrimitiveType
);
const
char
*
debug_d3drenderstate
(
DWORD
state
);
const
char
*
debug_d3dsamplerstate
(
DWORD
state
);
const
char
*
debug_d3dtexturefiltertype
(
WINED3DTEXTUREFILTERTYPE
filter_type
);
const
char
*
debug_d3dtexturestate
(
DWORD
state
);
const
char
*
debug_d3dtstype
(
WINED3DTRANSFORMSTATETYPE
tstype
);
const
char
*
debug_d3dpool
(
WINED3DPOOL
pool
);
...
...
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