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
313b0107
Commit
313b0107
authored
Aug 11, 2005
by
Oliver Stieber
Committed by
Alexandre Julliard
Aug 11, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Track the state of softwareVertexProcessing.
parent
12a4bda6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
device.c
dlls/wined3d/device.c
+13
-3
stateblock.c
dlls/wined3d/stateblock.c
+2
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-0
No files found.
dlls/wined3d/device.c
View file @
313b0107
...
...
@@ -4487,15 +4487,25 @@ HRESULT WINAPI IWineD3DDeviceImpl_GetCurrentTexturePalette(IWineD3DDevice *ifa
HRESULT
WINAPI
IWineD3DDeviceImpl_SetSoftwareVertexProcessing
(
IWineD3DDevice
*
iface
,
BOOL
bSoftware
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
FIXME
(
"(%p) : stub
\n
"
,
This
);
static
BOOL
showFixmes
=
TRUE
;
if
(
showFixmes
)
{
FIXME
(
"(%p) : stub
\n
"
,
This
);
showFixmes
=
FALSE
;
}
This
->
updateStateBlock
->
softwareVertexProcessing
=
bSoftware
;
return
D3D_OK
;
}
BOOL
WINAPI
IWineD3DDeviceImpl_GetSoftwareVertexProcessing
(
IWineD3DDevice
*
iface
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
FIXME
(
"(%p) : stub
\n
"
,
This
);
return
FALSE
;
static
BOOL
showFixmes
=
TRUE
;
if
(
showFixmes
)
{
FIXME
(
"(%p) : stub
\n
"
,
This
);
showFixmes
=
FALSE
;
}
return
This
->
updateStateBlock
->
softwareVertexProcessing
;
}
...
...
dlls/wined3d/stateblock.c
View file @
313b0107
...
...
@@ -367,6 +367,8 @@ should really perform a delta so that only the changes get updated*/
IWineD3DDevice_SetVertexDeclaration
(
pDevice
,
This
->
vertexDecl
);
}
IWineD3DDevice_SetSoftwareVertexProcessing
(
pDevice
,
This
->
softwareVertexProcessing
);
/* Others + Render & Texture */
if
(
/*TODO: 'magic' statetype, replace with BOOL This->blockType == D3DSBT_RECORDED || */
This
->
blockType
==
D3DSBT_ALL
)
{
for
(
i
=
1
;
i
<=
HIGHEST_TRANSFORMSTATE
;
i
++
)
{
...
...
dlls/wined3d/wined3d_private.h
View file @
313b0107
...
...
@@ -890,6 +890,8 @@ struct IWineD3DStateBlockImpl
void
*
vertexShader
;
/* @TODO: Replace void * with IWineD3DVertexShader * */
BOOL
softwareVertexProcessing
;
/* Stream Source */
BOOL
streamIsUP
;
UINT
streamStride
[
MAX_STREAMS
];
...
...
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