[intel] Remove the dead intel->need_flush member.
authorEric Anholt <eric@anholt.net>
Wed, 9 Jan 2008 20:41:14 +0000 (12:41 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 9 Jan 2008 22:41:39 +0000 (14:41 -0800)
src/mesa/drivers/dri/i915/intel_pixel_bitmap.c
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/intel_context.c
src/mesa/drivers/dri/i965/intel_context.h
src/mesa/drivers/dri/i965/intel_pixel_copy.c
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c

index 65bf338589e9c7d7e55a10a49cb275d9081a30e2..066d5b1fd4f94211b3e83faf13f4922f03c7a614 100644 (file)
@@ -292,7 +292,6 @@ x      if (ctx->Scissor.Enabled)
            } 
         } 
       }
-      intel->need_flush = GL_TRUE;
    out:
       intel_batchbuffer_flush(intel->batch);
    }
index eeba8e0a17689388e6fd46d24a007a73b458d143..72ed7cdea3191ef01210d8fafc05bc045401b08a 100644 (file)
@@ -346,8 +346,7 @@ static GLboolean brw_try_draw_prims( GLcontext *ctx,
            }
         }
       }
-      
-      intel->need_flush = GL_TRUE;
+
       retval = GL_TRUE;
    }
 
index 0866c5ccc6e2df4837c81cf0d9c2bbac83568e27..abcd6d5aabeb010f6a53c19536c89020323dd258 100644 (file)
@@ -746,7 +746,6 @@ static void intelContendedLock( struct intel_context *intel, GLuint flags )
 
 
    intel->locked = 1;
-   intel->need_flush = 1;
 
    /* Lost context?
     */
index 52fee68d1a02b1432c5451858161044e4cf0a1d4..accb3069f02a03096fb7192dab5a12e5072929df 100644 (file)
@@ -176,7 +176,6 @@ struct intel_context
    GLboolean no_rast;
    GLboolean locked;
    GLboolean strict_conformance;
-   GLboolean need_flush;
 
    /* State for intelvb.c and inteltris.c.
     */
index 7583906dd09aa9c790bfe2f317cccc7e10858820..70da03da09e5dc6ff943ab8f6a7fdcbca655bf73 100644 (file)
@@ -315,7 +315,6 @@ do_blit_copypixels(GLcontext * ctx,
                           ctx->Color.LogicOp : GL_COPY);
       }
 
-      intel->need_flush = GL_TRUE;
    out:
       intel_batchbuffer_flush(intel->batch);
    }
index 3777422619bdf4ed3155bdf819609236d1ca5d55..05b5a44beaa4bd055b1c77fef59ff09ab5dcd56b 100644 (file)
@@ -299,7 +299,6 @@ do_blit_bitmap( GLcontext *ctx,
            } 
         } 
       }
-      intel->need_flush = GL_TRUE;
    out:
       intel_batchbuffer_flush(intel->batch);
    }