From: Keith Whitwell Date: Tue, 10 May 2005 18:09:17 +0000 (+0000) Subject: Double-buffer generated instructions and only notify driver when the X-Git-Tag: mesa-7.8~9274 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ffe8731e6cc07692be5ba1114d080bd4383477c;p=platform%2Fupstream%2Fmesa.git Double-buffer generated instructions and only notify driver when the generated program differs from the previous one. --- diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index eb7842c..caedb20 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -789,7 +789,6 @@ void _mesa_UpdateTexEnvProgram( GLcontext *ctx ) db_NumInstructions != p.program->Base.NumInstructions || memcmp(db_Instructions, p.program->Instructions, db_NumInstructions * sizeof(*db_Instructions)) != 0) { - _mesa_printf("new program string\n"); ctx->Driver.ProgramStringNotify( ctx, GL_FRAGMENT_PROGRAM_ARB, &p.program->Base ); }