wined3d: Kill VTRACE.
This commit is contained in:
parent
f2bcd32bff
commit
135f364110
|
@ -102,7 +102,6 @@ static void drawStridedSlow(IWineD3DDevice *iface, const struct wined3d_context
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start drawing in GL */
|
/* Start drawing in GL */
|
||||||
VTRACE(("glBegin(%x)\n", glPrimType));
|
|
||||||
glBegin(glPrimType);
|
glBegin(glPrimType);
|
||||||
|
|
||||||
if (si->use_map & (1 << WINED3D_FFP_POSITION))
|
if (si->use_map & (1 << WINED3D_FFP_POSITION))
|
||||||
|
@ -226,14 +225,11 @@ static void drawStridedSlow(IWineD3DDevice *iface, const struct wined3d_context
|
||||||
if (idxData != NULL) {
|
if (idxData != NULL) {
|
||||||
|
|
||||||
/* Indexed so work out the number of strides to skip */
|
/* Indexed so work out the number of strides to skip */
|
||||||
if (idxSize == 2) {
|
if (idxSize == 2)
|
||||||
VTRACE(("Idx for vertex %u = %u\n", vx_index, pIdxBufS[startIdx+vx_index]));
|
|
||||||
SkipnStrides = pIdxBufS[startIdx + vx_index] + This->stateBlock->loadBaseVertexIndex;
|
SkipnStrides = pIdxBufS[startIdx + vx_index] + This->stateBlock->loadBaseVertexIndex;
|
||||||
} else {
|
else
|
||||||
VTRACE(("Idx for vertex %u = %u\n", vx_index, pIdxBufL[startIdx+vx_index]));
|
|
||||||
SkipnStrides = pIdxBufL[startIdx + vx_index] + This->stateBlock->loadBaseVertexIndex;
|
SkipnStrides = pIdxBufL[startIdx + vx_index] + This->stateBlock->loadBaseVertexIndex;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
tmp_tex_mask = tex_mask;
|
tmp_tex_mask = tex_mask;
|
||||||
for (texture = 0; tmp_tex_mask; tmp_tex_mask >>= 1, ++texture)
|
for (texture = 0; tmp_tex_mask; tmp_tex_mask >>= 1, ++texture)
|
||||||
|
@ -451,21 +447,17 @@ static void drawStridedSlowVs(IWineD3DDevice *iface, const struct wined3d_stream
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start drawing in GL */
|
/* Start drawing in GL */
|
||||||
VTRACE(("glBegin(%x)\n", glPrimitiveType));
|
|
||||||
glBegin(glPrimitiveType);
|
glBegin(glPrimitiveType);
|
||||||
|
|
||||||
for (vx_index = 0; vx_index < numberOfVertices; ++vx_index) {
|
for (vx_index = 0; vx_index < numberOfVertices; ++vx_index) {
|
||||||
if (idxData != NULL) {
|
if (idxData != NULL) {
|
||||||
|
|
||||||
/* Indexed so work out the number of strides to skip */
|
/* Indexed so work out the number of strides to skip */
|
||||||
if (idxSize == 2) {
|
if (idxSize == 2)
|
||||||
VTRACE(("Idx for vertex %d = %d\n", vx_index, pIdxBufS[startIdx+vx_index]));
|
|
||||||
SkipnStrides = pIdxBufS[startIdx + vx_index] + stateblock->loadBaseVertexIndex;
|
SkipnStrides = pIdxBufS[startIdx + vx_index] + stateblock->loadBaseVertexIndex;
|
||||||
} else {
|
else
|
||||||
VTRACE(("Idx for vertex %d = %d\n", vx_index, pIdxBufL[startIdx+vx_index]));
|
|
||||||
SkipnStrides = pIdxBufL[startIdx + vx_index] + stateblock->loadBaseVertexIndex;
|
SkipnStrides = pIdxBufL[startIdx + vx_index] + stateblock->loadBaseVertexIndex;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
for (i = MAX_ATTRIBS - 1; i >= 0; i--)
|
for (i = MAX_ATTRIBS - 1; i >= 0; i--)
|
||||||
{
|
{
|
||||||
|
|
|
@ -830,13 +830,6 @@ extern const float identity[16] DECLSPEC_HIDDEN;
|
||||||
* Compilable extra diagnostics
|
* 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 */
|
/* TODO: Confirm each of these works when wined3d move completed */
|
||||||
#if 0 /* NOTE: Must be 0 in cvs */
|
#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
|
/* To avoid having to get gigabytes of trace, the following can be compiled in, and at the start
|
||||||
|
|
Loading…
Reference in New Issue