summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/unichrome/via_render.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2004-12-23 18:26:40 +0000
committerKeith Whitwell <[email protected]>2004-12-23 18:26:40 +0000
commit3deaf2174544f25df812af886c424383ba1dafdf (patch)
treec586a0b616b26523befebdf79f8637d8a705785e /src/mesa/drivers/dri/unichrome/via_render.c
parent9876730f7ac0497dcb6342997006be752536b0e3 (diff)
Remove the VIA_PERFORMANCE code. A step towards moving the driver
back to using the shared template files.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_render.c')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_render.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_render.c b/src/mesa/drivers/dri/unichrome/via_render.c
index 9c97d1981c1..a59126d3ad0 100644
--- a/src/mesa/drivers/dri/unichrome/via_render.c
+++ b/src/mesa/drivers/dri/unichrome/via_render.c
@@ -141,10 +141,6 @@ static GLboolean via_run_fastrender(GLcontext *ctx,
/* Don't handle clipping or indexed vertices.
*/
-#ifdef PERFORMANCE_MEASURE
- if (VIA_PERFORMANCE) P_M;
-#endif
-
if (VB->ClipOrMask || vmesa->renderIndex != 0 || VB->Elts) {
if (VIA_DEBUG) {
fprintf(stderr, "slow path\n");
@@ -352,9 +348,6 @@ static void clip_elt_triangles(GLcontext *ctx,
GLuint last = count-2;
GLuint j;
(void)flags;
-#ifdef PERFORMANCE_MEASURE
- if (VIA_PERFORMANCE) P_M;
-#endif
tnl->Driver.Render.PrimitiveNotify(ctx, GL_TRIANGLES);
for (j = start; j < last; j += 3) {
@@ -417,9 +410,6 @@ static GLboolean via_run_render(GLcontext *ctx,
GLuint pass = 0;
if (VIA_DEBUG) fprintf(stderr, "%s - in\n", __FUNCTION__);
-#ifdef PERFORMANCE_MEASURE
- if (VIA_PERFORMANCE) P_M;
-#endif
tnl->Driver.Render.Start(ctx);
tnl->Driver.Render.BuildVertices(ctx, 0, VB->Count, newInputs);
if (VB->ClipOrMask) {