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
fec9820e
Commit
fec9820e
authored
Dec 01, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Handle a few "silent" FIXMEs more consistent with the rest of the code.
Also avoids needlessly initializing static variables.
parent
d1076aea
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
30 deletions
+36
-30
device.c
dlls/wined3d/device.c
+16
-12
drawprim.c
dlls/wined3d/drawprim.c
+9
-9
state.c
dlls/wined3d/state.c
+7
-6
swapchain_base.c
dlls/wined3d/swapchain_base.c
+4
-3
No files found.
dlls/wined3d/device.c
View file @
fec9820e
...
...
@@ -5767,10 +5767,11 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetCurrentTexturePalette(IWineD3DDevi
static
HRESULT
WINAPI
IWineD3DDeviceImpl_SetSoftwareVertexProcessing
(
IWineD3DDevice
*
iface
,
BOOL
bSoftware
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
static
BOOL
showFixmes
=
TRUE
;
if
(
showFixmes
)
{
static
BOOL
warned
;
if
(
!
warned
)
{
FIXME
(
"(%p) : stub
\n
"
,
This
);
showFixmes
=
FALS
E
;
warned
=
TRU
E
;
}
This
->
softwareVertexProcessing
=
bSoftware
;
...
...
@@ -5780,10 +5781,11 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetSoftwareVertexProcessing(IWineD3DD
static
BOOL
WINAPI
IWineD3DDeviceImpl_GetSoftwareVertexProcessing
(
IWineD3DDevice
*
iface
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
static
BOOL
showFixmes
=
TRUE
;
if
(
showFixmes
)
{
static
BOOL
warned
;
if
(
!
warned
)
{
FIXME
(
"(%p) : stub
\n
"
,
This
);
showFixmes
=
FALS
E
;
warned
=
TRU
E
;
}
return
This
->
softwareVertexProcessing
;
}
...
...
@@ -5809,11 +5811,12 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetRasterStatus(IWineD3DDevice *iface
static
HRESULT
WINAPI
IWineD3DDeviceImpl_SetNPatchMode
(
IWineD3DDevice
*
iface
,
float
nSegments
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
static
BOOL
showfixmes
=
TRUE
;
static
BOOL
warned
;
if
(
nSegments
!=
0
.
0
f
)
{
if
(
showfixmes
)
{
if
(
!
warned
)
{
FIXME
(
"(%p) : stub nSegments(%f)
\n
"
,
This
,
nSegments
);
showfixmes
=
FALS
E
;
warned
=
TRU
E
;
}
}
return
WINED3D_OK
;
...
...
@@ -5821,10 +5824,11 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetNPatchMode(IWineD3DDevice *iface,
static
float
WINAPI
IWineD3DDeviceImpl_GetNPatchMode
(
IWineD3DDevice
*
iface
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
static
BOOL
showfixmes
=
TRUE
;
if
(
showfixmes
)
{
static
BOOL
warned
;
if
(
!
warned
)
{
FIXME
(
"(%p) : stub returning(%f)
\n
"
,
This
,
0
.
0
f
);
showfixmes
=
FALS
E
;
warned
=
TRU
E
;
}
return
0
.
0
f
;
}
...
...
dlls/wined3d/drawprim.c
View file @
fec9820e
...
...
@@ -864,10 +864,10 @@ void drawPrimitive(IWineD3DDevice *iface,
if
(
!
use_vs
(
This
))
{
if
(
!
This
->
strided_streams
.
u
.
s
.
position_transformed
&&
This
->
activeContext
->
num_untracked_materials
&&
This
->
stateBlock
->
renderState
[
WINED3DRS_LIGHTING
])
{
static
BOOL
first
=
TRUE
;
if
(
first
)
{
static
BOOL
warned
;
if
(
!
warned
)
{
FIXME
(
"Using software emulation because not all material properties could be tracked
\n
"
);
first
=
FALS
E
;
warned
=
TRU
E
;
}
else
{
TRACE
(
"Using software emulation because not all material properties could be tracked
\n
"
);
}
...
...
@@ -877,10 +877,10 @@ void drawPrimitive(IWineD3DDevice *iface,
/* Either write a pipeline replacement shader or convert the specular alpha from unsigned byte
* to a float in the vertex buffer
*/
static
BOOL
first
=
TRUE
;
if
(
first
)
{
static
BOOL
warned
;
if
(
!
warned
)
{
FIXME
(
"Using software emulation because manual fog coordinates are provided
\n
"
);
first
=
FALS
E
;
warned
=
TRU
E
;
}
else
{
TRACE
(
"Using software emulation because manual fog coordinates are provided
\n
"
);
}
...
...
@@ -897,10 +897,10 @@ void drawPrimitive(IWineD3DDevice *iface,
if
(
This
->
useDrawStridedSlow
||
emulation
)
{
/* Immediate mode drawing */
if
(
use_vs
(
This
))
{
static
BOOL
first
=
TRUE
;
if
(
first
)
{
static
BOOL
warned
;
if
(
!
warned
)
{
FIXME
(
"Using immediate mode with vertex shaders for half float emulation
\n
"
);
first
=
FALS
E
;
warned
=
TRU
E
;
}
else
{
TRACE
(
"Using immediate mode with vertex shaders for half float emulation
\n
"
);
}
...
...
dlls/wined3d/state.c
View file @
fec9820e
...
...
@@ -1566,10 +1566,10 @@ static void state_lastpixel(DWORD state, IWineD3DStateBlockImpl *stateblock, Win
if
(
stateblock
->
renderState
[
WINED3DRS_LASTPIXEL
])
{
TRACE
(
"Last Pixel Drawing Enabled
\n
"
);
}
else
{
static
BOOL
first
=
TRUE
;
if
(
first
)
{
static
BOOL
warned
;
if
(
!
warned
)
{
FIXME
(
"Last Pixel Drawing Disabled, not handled yet
\n
"
);
first
=
FALS
E
;
warned
=
TRU
E
;
}
else
{
TRACE
(
"Last Pixel Drawing Disabled, not handled yet
\n
"
);
}
...
...
@@ -4127,10 +4127,11 @@ static void loadVertexData(IWineD3DStateBlockImpl *stateblock, WineDirect3DVerte
checkGLcall
(
"glWeightPointerARB"
);
if
((
sd
->
u
.
s
.
blendMatrixIndices
.
lpData
)
||
(
sd
->
u
.
s
.
blendMatrixIndices
.
VBO
)){
static
BOOL
showfixme
=
TRUE
;
if
(
showfixme
){
static
BOOL
warned
;
if
(
!
warned
)
{
FIXME
(
"blendMatrixIndices support
\n
"
);
showfixme
=
FALS
E
;
warned
=
TRU
E
;
}
}
}
else
{
...
...
dlls/wined3d/swapchain_base.c
View file @
fec9820e
...
...
@@ -122,13 +122,14 @@ HRESULT WINAPI IWineD3DBaseSwapChainImpl_GetBackBuffer(IWineD3DSwapChain *iface,
HRESULT
WINAPI
IWineD3DBaseSwapChainImpl_GetRasterStatus
(
IWineD3DSwapChain
*
iface
,
WINED3DRASTER_STATUS
*
pRasterStatus
)
{
IWineD3DSwapChainImpl
*
This
=
(
IWineD3DSwapChainImpl
*
)
iface
;
static
BOOL
showFixmes
=
TRUE
;
static
BOOL
warned
;
pRasterStatus
->
InVBlank
=
TRUE
;
pRasterStatus
->
ScanLine
=
0
;
/* No openGL equivalent */
if
(
showFixmes
)
{
if
(
!
warned
)
{
FIXME
(
"(%p) : stub (once)
\n
"
,
This
);
showFixmes
=
FALS
E
;
warned
=
TRU
E
;
}
return
WINED3D_OK
;
}
...
...
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