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
3920d42f
Commit
3920d42f
authored
Dec 30, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 31, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Convert some BOOLs to bitfields in struct SAVEDSTATES.
parent
29a0d065
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
wined3d_private.h
dlls/wined3d/wined3d_private.h
+12
-11
No files found.
dlls/wined3d/wined3d_private.h
View file @
3920d42f
...
@@ -1760,27 +1760,28 @@ extern const IWineD3DVertexDeclarationVtbl IWineD3DVertexDeclaration_Vtbl;
...
@@ -1760,27 +1760,28 @@ extern const IWineD3DVertexDeclarationVtbl IWineD3DVertexDeclaration_Vtbl;
/* Note: Very long winded but gl Lists are not flexible enough */
/* Note: Very long winded but gl Lists are not flexible enough */
/* to resolve everything we need, so doing it manually for now */
/* to resolve everything we need, so doing it manually for now */
typedef
struct
SAVEDSTATES
{
typedef
struct
SAVEDSTATES
{
BOOL
indices
;
BOOL
material
;
BOOL
streamSource
[
MAX_STREAMS
];
BOOL
streamSource
[
MAX_STREAMS
];
BOOL
streamFreq
[
MAX_STREAMS
];
BOOL
streamFreq
[
MAX_STREAMS
];
BOOL
textures
[
MAX_COMBINED_SAMPLERS
];
BOOL
textures
[
MAX_COMBINED_SAMPLERS
];
BOOL
transform
[
HIGHEST_TRANSFORMSTATE
+
1
];
BOOL
transform
[
HIGHEST_TRANSFORMSTATE
+
1
];
BOOL
viewport
;
BOOL
renderState
[
WINEHIGHEST_RENDER_STATE
+
1
];
BOOL
renderState
[
WINEHIGHEST_RENDER_STATE
+
1
];
BOOL
textureState
[
MAX_TEXTURES
][
WINED3D_HIGHEST_TEXTURE_STATE
+
1
];
BOOL
textureState
[
MAX_TEXTURES
][
WINED3D_HIGHEST_TEXTURE_STATE
+
1
];
BOOL
samplerState
[
MAX_COMBINED_SAMPLERS
][
WINED3D_HIGHEST_SAMPLER_STATE
+
1
];
BOOL
samplerState
[
MAX_COMBINED_SAMPLERS
][
WINED3D_HIGHEST_SAMPLER_STATE
+
1
];
BOOL
clipplane
[
MAX_CLIPPLANES
];
BOOL
clipplane
[
MAX_CLIPPLANES
];
BOOL
vertexDecl
;
WORD
pixelShaderConstantsB
;
/* MAX_CONST_B, 16 */
BOOL
pixelShader
;
WORD
pixelShaderConstantsI
;
/* MAX_CONST_I, 16 */
WORD
pixelShaderConstantsB
;
WORD
pixelShaderConstantsI
;
BOOL
*
pixelShaderConstantsF
;
BOOL
*
pixelShaderConstantsF
;
BOOL
vertexShader
;
WORD
vertexShaderConstantsB
;
/* MAX_CONST_B, 16 */
WORD
vertexShaderConstantsB
;
WORD
vertexShaderConstantsI
;
/* MAX_CONST_I, 16 */
WORD
vertexShaderConstantsI
;
BOOL
*
vertexShaderConstantsF
;
BOOL
*
vertexShaderConstantsF
;
BOOL
scissorRect
;
BYTE
indices
:
1
;
BYTE
material
:
1
;
BYTE
viewport
:
1
;
BYTE
vertexDecl
:
1
;
BYTE
pixelShader
:
1
;
BYTE
vertexShader
:
1
;
BYTE
scissorRect
:
1
;
BYTE
padding
:
1
;
}
SAVEDSTATES
;
}
SAVEDSTATES
;
struct
StageState
{
struct
StageState
{
...
...
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