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
f661a828
Commit
f661a828
authored
Dec 17, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 19, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add WINED3DRS_STIPPLEPATTERNxy.
parent
f154f543
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
98 additions
and
33 deletions
+98
-33
state.c
dlls/wined3d/state.c
+32
-33
utils.c
dlls/wined3d/utils.c
+32
-0
wined3d_types.h
include/wine/wined3d_types.h
+34
-0
No files found.
dlls/wined3d/state.c
View file @
f661a828
...
...
@@ -1364,42 +1364,41 @@ const struct StateEntry StateTable[] =
{
/* 58, WINED3DRS_STENCILMASK */
STATE_RENDER
(
WINED3DRS_STENCILENABLE
),
state_stencil
},
{
/* 59, WINED3DRS_STENCILWRITEMASK */
STATE_RENDER
(
WINED3DRS_STENCILWRITEMASK
),
state_stencilwrite
},
{
/* 60, WINED3DRS_TEXTUREFACTOR */
STATE_RENDER
(
WINED3DRS_TEXTUREFACTOR
),
state_texfactor
},
/* A BIG hole. If wanted, 'fixed' states like the vertex type or the bound shaders can be put here */
{
/* 61, Undefined */
0
,
state_undefined
},
{
/* 62, Undefined */
0
,
state_undefined
},
{
/* 63, Undefined */
0
,
state_undefined
},
{
/* 64,
Undefined */
0
,
state_undefined
},
{
/* 65,
Undefined */
0
,
state_undefined
},
{
/* 66,
Undefined */
0
,
state_undefined
},
{
/* 67,
Undefined */
0
,
state_undefined
},
{
/* 68,
Undefined */
0
,
state_undefined
},
{
/* 69,
Undefined */
0
,
state_undefined
},
{
/* 70,
Undefined */
0
,
state_undefined
},
{
/* 71,
Undefined */
0
,
state_undefined
},
{
/* 72,
Undefined */
0
,
state_undefined
},
{
/* 73,
Undefined */
0
,
state_undefined
},
{
/* 74,
Undefined */
0
,
state_undefined
},
{
/* 75,
Undefined */
0
,
state_undefined
},
{
/* 76,
Undefined */
0
,
state_undefined
},
{
/* 77,
Undefined */
0
,
state_undefined
},
{
/* 78,
Undefined */
0
,
state_undefined
},
{
/* 79,
Undefined */
0
,
state_undefined
},
{
/* 80,
Undefined */
0
,
state_undefined
},
{
/* 81,
Undefined */
0
,
state_undefined
},
{
/* 82,
Undefined */
0
,
state_undefined
},
{
/* 83,
Undefined */
0
,
state_undefined
},
{
/* 84,
Undefined */
0
,
state_undefined
},
{
/* 85,
Undefined */
0
,
state_undefined
},
{
/* 86,
Undefined */
0
,
state_undefined
},
{
/* 87,
Undefined */
0
,
state_undefined
},
{
/* 88,
Undefined */
0
,
state_undefined
},
{
/* 89,
Undefined */
0
,
state_undefined
},
{
/* 90,
Undefined */
0
,
state_undefined
},
{
/* 91,
Undefined */
0
,
state_undefined
},
{
/* 92,
Undefined */
0
,
state_undefined
},
{
/* 93,
Undefined */
0
,
state_undefined
},
{
/* 94,
Undefined */
0
,
state_undefined
},
{
/* 95,
Undefined */
0
,
state_undefined
},
{
/* 64,
WINED3DRS_STIPPLEPATTERN00 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 65,
WINED3DRS_STIPPLEPATTERN01 */
0
/* Obsolete, should he handled by ddraw */
,
state_undefined
},
{
/* 66,
WINED3DRS_STIPPLEPATTERN02 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 67,
WINED3DRS_STIPPLEPATTERN03 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 68,
WINED3DRS_STIPPLEPATTERN04 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 69,
WINED3DRS_STIPPLEPATTERN05 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 70,
WINED3DRS_STIPPLEPATTERN06 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 71,
WINED3DRS_STIPPLEPATTERN07 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 72,
WINED3DRS_STIPPLEPATTERN08 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 73,
WINED3DRS_STIPPLEPATTERN09 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 74,
WINED3DRS_STIPPLEPATTERN10 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 75,
WINED3DRS_STIPPLEPATTERN11 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 76,
WINED3DRS_STIPPLEPATTERN12 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 77,
WINED3DRS_STIPPLEPATTERN13 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 78,
WINED3DRS_STIPPLEPATTERN14 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 79,
WINED3DRS_STIPPLEPATTERN15 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 80,
WINED3DRS_STIPPLEPATTERN16 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 81,
WINED3DRS_STIPPLEPATTERN17 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 82,
WINED3DRS_STIPPLEPATTERN18 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 83,
WINED3DRS_STIPPLEPATTERN19 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 84,
WINED3DRS_STIPPLEPATTERN20 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 85,
WINED3DRS_STIPPLEPATTERN21 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 86,
WINED3DRS_STIPPLEPATTERN22 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 87,
WINED3DRS_STIPPLEPATTERN23 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 88,
WINED3DRS_STIPPLEPATTERN24 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 89,
WINED3DRS_STIPPLEPATTERN25 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 90,
WINED3DRS_STIPPLEPATTERN26 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 91,
WINED3DRS_STIPPLEPATTERN27 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 92,
WINED3DRS_STIPPLEPATTERN28 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 93,
WINED3DRS_STIPPLEPATTERN29 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 94,
WINED3DRS_STIPPLEPATTERN30 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 95,
WINED3DRS_STIPPLEPATTERN31 */
0
/* Obsolete, should be handled by ddraw */
,
state_undefined
},
{
/* 96, Undefined */
0
,
state_undefined
},
{
/* 97, Undefined */
0
,
state_undefined
},
{
/* 98, Undefined */
0
,
state_undefined
},
...
...
dlls/wined3d/utils.c
View file @
f661a828
...
...
@@ -433,6 +433,38 @@ const char* debug_d3drenderstate(DWORD state) {
D3DSTATE_TO_STR
(
WINED3DRS_STENCILMASK
);
D3DSTATE_TO_STR
(
WINED3DRS_STENCILWRITEMASK
);
D3DSTATE_TO_STR
(
WINED3DRS_TEXTUREFACTOR
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN00
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN01
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN02
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN03
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN04
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN05
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN06
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN07
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN08
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN09
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN10
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN11
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN12
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN13
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN14
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN15
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN16
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN17
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN18
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN19
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN20
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN21
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN22
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN23
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN24
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN25
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN26
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN27
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN28
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN29
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN30
);
D3DSTATE_TO_STR
(
WINED3DRS_STIPPLEPATTERN31
);
D3DSTATE_TO_STR
(
WINED3DRS_WRAP0
);
D3DSTATE_TO_STR
(
WINED3DRS_WRAP1
);
D3DSTATE_TO_STR
(
WINED3DRS_WRAP2
);
...
...
include/wine/wined3d_types.h
View file @
f661a828
...
...
@@ -362,6 +362,40 @@ typedef enum _WINED3DRENDERSTATETYPE {
WINED3DRS_STENCILMASK
=
58
,
WINED3DRS_STENCILWRITEMASK
=
59
,
WINED3DRS_TEXTUREFACTOR
=
60
,
WINED3DRS_STIPPLEPATTERN00
=
64
,
WINED3DRS_STIPPLEPATTERN01
=
65
,
WINED3DRS_STIPPLEPATTERN02
=
66
,
WINED3DRS_STIPPLEPATTERN03
=
67
,
WINED3DRS_STIPPLEPATTERN04
=
68
,
WINED3DRS_STIPPLEPATTERN05
=
69
,
WINED3DRS_STIPPLEPATTERN06
=
70
,
WINED3DRS_STIPPLEPATTERN07
=
71
,
WINED3DRS_STIPPLEPATTERN08
=
72
,
WINED3DRS_STIPPLEPATTERN09
=
73
,
WINED3DRS_STIPPLEPATTERN10
=
74
,
WINED3DRS_STIPPLEPATTERN11
=
75
,
WINED3DRS_STIPPLEPATTERN12
=
76
,
WINED3DRS_STIPPLEPATTERN13
=
77
,
WINED3DRS_STIPPLEPATTERN14
=
78
,
WINED3DRS_STIPPLEPATTERN15
=
79
,
WINED3DRS_STIPPLEPATTERN16
=
80
,
WINED3DRS_STIPPLEPATTERN17
=
81
,
WINED3DRS_STIPPLEPATTERN18
=
82
,
WINED3DRS_STIPPLEPATTERN19
=
83
,
WINED3DRS_STIPPLEPATTERN20
=
84
,
WINED3DRS_STIPPLEPATTERN21
=
85
,
WINED3DRS_STIPPLEPATTERN22
=
86
,
WINED3DRS_STIPPLEPATTERN23
=
87
,
WINED3DRS_STIPPLEPATTERN24
=
88
,
WINED3DRS_STIPPLEPATTERN25
=
89
,
WINED3DRS_STIPPLEPATTERN26
=
90
,
WINED3DRS_STIPPLEPATTERN27
=
91
,
WINED3DRS_STIPPLEPATTERN28
=
92
,
WINED3DRS_STIPPLEPATTERN29
=
93
,
WINED3DRS_STIPPLEPATTERN30
=
94
,
WINED3DRS_STIPPLEPATTERN31
=
95
,
WINED3DRS_WRAP0
=
128
,
WINED3DRS_WRAP1
=
129
,
WINED3DRS_WRAP2
=
130
,
...
...
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