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
135f3641
Commit
135f3641
authored
Mar 17, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Kill VTRACE.
parent
f2bcd32b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
19 deletions
+4
-19
drawprim.c
dlls/wined3d/drawprim.c
+4
-12
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-7
No files found.
dlls/wined3d/drawprim.c
View file @
135f3641
...
...
@@ -102,7 +102,6 @@ static void drawStridedSlow(IWineD3DDevice *iface, const struct wined3d_context
}
/* Start drawing in GL */
VTRACE
((
"glBegin(%x)
\n
"
,
glPrimType
));
glBegin
(
glPrimType
);
if
(
si
->
use_map
&
(
1
<<
WINED3D_FFP_POSITION
))
...
...
@@ -226,13 +225,10 @@ static void drawStridedSlow(IWineD3DDevice *iface, const struct wined3d_context
if
(
idxData
!=
NULL
)
{
/* Indexed so work out the number of strides to skip */
if
(
idxSize
==
2
)
{
VTRACE
((
"Idx for vertex %u = %u
\n
"
,
vx_index
,
pIdxBufS
[
startIdx
+
vx_index
]));
if
(
idxSize
==
2
)
SkipnStrides
=
pIdxBufS
[
startIdx
+
vx_index
]
+
This
->
stateBlock
->
loadBaseVertexIndex
;
}
else
{
VTRACE
((
"Idx for vertex %u = %u
\n
"
,
vx_index
,
pIdxBufL
[
startIdx
+
vx_index
]));
else
SkipnStrides
=
pIdxBufL
[
startIdx
+
vx_index
]
+
This
->
stateBlock
->
loadBaseVertexIndex
;
}
}
tmp_tex_mask
=
tex_mask
;
...
...
@@ -451,20 +447,16 @@ static void drawStridedSlowVs(IWineD3DDevice *iface, const struct wined3d_stream
}
/* Start drawing in GL */
VTRACE
((
"glBegin(%x)
\n
"
,
glPrimitiveType
));
glBegin
(
glPrimitiveType
);
for
(
vx_index
=
0
;
vx_index
<
numberOfVertices
;
++
vx_index
)
{
if
(
idxData
!=
NULL
)
{
/* Indexed so work out the number of strides to skip */
if
(
idxSize
==
2
)
{
VTRACE
((
"Idx for vertex %d = %d
\n
"
,
vx_index
,
pIdxBufS
[
startIdx
+
vx_index
]));
if
(
idxSize
==
2
)
SkipnStrides
=
pIdxBufS
[
startIdx
+
vx_index
]
+
stateblock
->
loadBaseVertexIndex
;
}
else
{
VTRACE
((
"Idx for vertex %d = %d
\n
"
,
vx_index
,
pIdxBufL
[
startIdx
+
vx_index
]));
else
SkipnStrides
=
pIdxBufL
[
startIdx
+
vx_index
]
+
stateblock
->
loadBaseVertexIndex
;
}
}
for
(
i
=
MAX_ATTRIBS
-
1
;
i
>=
0
;
i
--
)
...
...
dlls/wined3d/wined3d_private.h
View file @
135f3641
...
...
@@ -830,13 +830,6 @@ extern const float identity[16] DECLSPEC_HIDDEN;
* Compilable extra diagnostics
*/
/* Trace information per-vertex: (extremely high amount of trace) */
#if 0 /* NOTE: Must be 0 in cvs */
# define VTRACE(A) TRACE A
#else
# define VTRACE(A)
#endif
/* TODO: Confirm each of these works when wined3d move completed */
#if 0 /* NOTE: Must be 0 in cvs */
/* To avoid having to get gigabytes of trace, the following can be compiled in, and at the start
...
...
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