summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-05-01 13:15:28 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-05-01 13:15:28 +0000
commit5b976943ee1a5449e5f73d2a44ac3053b92c75d8 (patch)
treeff4779f7e5e6c531d6a691acc37ba5068a175544 /src
parentf4a003c3ca15513d69ac07af6403b54b55003af3 (diff)
removed debug
Diffstat (limited to 'src')
-rw-r--r--src/mesa/tnl/t_eval_api.c6
-rw-r--r--src/mesa/tnl/t_imm_eval.c23
-rw-r--r--src/mesa/tnl/t_imm_exec.c4
3 files changed, 15 insertions, 18 deletions
diff --git a/src/mesa/tnl/t_eval_api.c b/src/mesa/tnl/t_eval_api.c
index 798b8f46e2..837fb9e09c 100644
--- a/src/mesa/tnl/t_eval_api.c
+++ b/src/mesa/tnl/t_eval_api.c
@@ -1,4 +1,4 @@
-/* $Id: t_eval_api.c,v 1.5 2001/04/30 21:08:52 keithw Exp $ */
+/* $Id: t_eval_api.c,v 1.6 2001/05/01 13:18:03 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -61,7 +61,7 @@ _tnl_exec_EvalMesh1( GLenum mode, GLint i1, GLint i2 )
GLenum prim;
ASSERT_OUTSIDE_BEGIN_END(ctx);
- fprintf(stderr, "%s\n", __FUNCTION__);
+/* fprintf(stderr, "%s\n", __FUNCTION__); */
switch (mode) {
case GL_POINT:
@@ -131,7 +131,7 @@ _tnl_exec_EvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 )
GLfloat u, du, v, dv, v1, u1;
ASSERT_OUTSIDE_BEGIN_END(ctx);
- fprintf(stderr, "%s\n", __FUNCTION__);
+/* fprintf(stderr, "%s\n", __FUNCTION__); */
/* No effect if vertex maps disabled.
*/
diff --git a/src/mesa/tnl/t_imm_eval.c b/src/mesa/tnl/t_imm_eval.c
index 8a83ec1adb..e946dfd1bf 100644
--- a/src/mesa/tnl/t_imm_eval.c
+++ b/src/mesa/tnl/t_imm_eval.c
@@ -1,4 +1,4 @@
-/* $Id: t_imm_eval.c,v 1.9 2001/04/30 21:08:52 keithw Exp $ */
+/* $Id: t_imm_eval.c,v 1.10 2001/05/01 13:18:03 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -64,16 +64,13 @@ static void eval_points2( GLfloat outcoord[][4],
GLfloat dv, GLfloat v1 )
{
GLuint i;
- fprintf(stderr, "%p %p\n", coord, outcoord);
for (i = 0 ; !(flags[i] & VERT_END_VB) ; i++) {
if (flags[i] & VERT_EVAL_ANY) {
outcoord[i][0] = coord[i][0];
outcoord[i][1] = coord[i][1];
if (flags[i] & VERT_EVAL_P2) {
- fprintf(stderr, "point %f %f ==>", coord[i][0], coord[i][1]);
outcoord[i][0] = coord[i][0] * du + u1;
outcoord[i][1] = coord[i][1] * dv + v1;
- fprintf(stderr, "%f %f\n", outcoord[i][0], outcoord[i][1]);
}
}
}
@@ -193,7 +190,7 @@ static void eval2_obj_norm( GLvector4f *obj_ptr,
GLfloat (*normal)[3] = norm_ptr->data;
GLuint i;
- fprintf(stderr, "%s\n", __FUNCTION__);
+/* fprintf(stderr, "%s\n", __FUNCTION__); */
for (i = 0 ; !(flags[i] & VERT_END_VB) ; i++)
if (flags[i] & (VERT_EVAL_C2|VERT_EVAL_P2)) {
@@ -231,7 +228,7 @@ static void eval2_4f( GLvector4f *dest,
if (flags[i] & (VERT_EVAL_C2|VERT_EVAL_P2)) {
GLfloat u = (coord[i][0] - u1) * du;
GLfloat v = (coord[i][1] - v1) * dv;
- fprintf(stderr, "coord %d: %f %f\n", i, coord[i][0], coord[i][1]);
+/* fprintf(stderr, "coord %d: %f %f\n", i, coord[i][0], coord[i][1]); */
_math_horner_bezier_surf(map->Points, to[i], u, v, dimension,
map->Uorder, map->Vorder);
@@ -333,8 +330,8 @@ static void copy_4f_stride( GLfloat to[][4], GLfloat *from,
MEMCPY( to, from, count * sizeof(to[0]));
else {
int i;
- fprintf(stderr, "%s stride %d count %d\n", __FUNCTION__,
- stride, count);
+/* fprintf(stderr, "%s stride %d count %d\n", __FUNCTION__, */
+/* stride, count); */
for (i = 0 ; i < count ; i++, STRIDE_F(from, stride))
COPY_4FV( to[i], from );
}
@@ -441,8 +438,8 @@ void _tnl_eval_immediate( GLcontext *ctx, struct immediate *IM )
else
copycount = IM->Count - IM->CopyStart; /* copy all vertices */
- fprintf(stderr, "%s copystart %d start %d count %d copycount %d\n",
- __FUNCTION__, IM->CopyStart, IM->Start, IM->Count, copycount);
+/* fprintf(stderr, "%s copystart %d start %d count %d copycount %d\n", */
+/* __FUNCTION__, IM->CopyStart, IM->Start, IM->Count, copycount); */
if (!store)
store = tnl->eval.im = _tnl_alloc_immediate( ctx );
@@ -485,7 +482,7 @@ void _tnl_eval_immediate( GLcontext *ctx, struct immediate *IM )
}
- _tnl_print_vert_flags(__FUNCTION__, req);
+/* _tnl_print_vert_flags(__FUNCTION__, req); */
/* Perform the evaluations on active data elements.
*/
@@ -634,7 +631,7 @@ void _tnl_eval_immediate( GLcontext *ctx, struct immediate *IM )
GLuint generated = 0;
if (copycount) {
- fprintf(stderr, "%s: Copy normals\n", __FUNCTION__);
+/* fprintf(stderr, "%s: Copy normals\n", __FUNCTION__); */
copy_3f( store->Normal + IM->CopyStart, tmp->Normal.data,
copycount );
}
@@ -733,7 +730,7 @@ void _tnl_eval_immediate( GLcontext *ctx, struct immediate *IM )
struct vertex_buffer *VB = &tnl->vb;
GLuint i,j,count = VB->Count;
- fprintf(stderr, "PURGING\n");
+/* fprintf(stderr, "PURGING\n"); */
for (i = 0, j = 0 ; i < count ; i++) {
if (flags[i] & vertex) {
diff --git a/src/mesa/tnl/t_imm_exec.c b/src/mesa/tnl/t_imm_exec.c
index 4ee77b773f..c61e533d88 100644
--- a/src/mesa/tnl/t_imm_exec.c
+++ b/src/mesa/tnl/t_imm_exec.c
@@ -1,4 +1,4 @@
-/* $Id: t_imm_exec.c,v 1.19 2001/04/30 21:08:52 keithw Exp $ */
+/* $Id: t_imm_exec.c,v 1.20 2001/05/01 13:15:28 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -375,7 +375,7 @@ static void exec_vert_cassette( GLcontext *ctx, struct immediate *IM )
}
_tnl_fixup_input( ctx, IM );
- _tnl_print_cassette( IM );
+/* _tnl_print_cassette( IM ); */
_tnl_run_cassette( ctx, IM );
}