i965/state: Rename brw_clear_dirty_bits to brw_render_state_finished
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 18 Mar 2015 22:43:34 +0000 (15:43 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 31 Mar 2015 23:40:23 +0000 (16:40 -0700)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c

index 9b4d8e0869078754b24456f7c636b57f2351e714..c573b5064922f9f8cdae12d50db8f38774dbf62b 100644 (file)
@@ -534,7 +534,7 @@ retry:
        * reset the dirty bits.
        */
       if (brw->state.dirty.brw)
-         brw_clear_dirty_bits(brw);
+         brw_render_state_finished(brw);
    }
 
    if (brw->always_flush_batch)
index ae5ef1f812aafa650aad73389de73fa120baaed2..f175c29d790e5e23cac6e1b43e89eb746c0a3176 100644 (file)
@@ -169,7 +169,7 @@ brw_depthbuffer_format(struct brw_context *brw);
  * brw_state.c
  */
 void brw_upload_render_state(struct brw_context *brw);
-void brw_clear_dirty_bits(struct brw_context *brw);
+void brw_render_state_finished(struct brw_context *brw);
 void brw_init_state(struct brw_context *brw);
 void brw_destroy_state(struct brw_context *brw);
 
index 542600f1d1c66caa6e4596e2401c4e12c6840d0d..f0d0bac398a7121c9c0eb26c84ba0e0cb6b33cbf 100644 (file)
@@ -693,7 +693,7 @@ void brw_upload_render_state(struct brw_context *brw)
  * it had before the brw_upload_render_state() call.
  */
 void
-brw_clear_dirty_bits(struct brw_context *brw)
+brw_render_state_finished(struct brw_context *brw)
 {
    struct brw_state_flags *state = &brw->state.dirty;
    memset(state, 0, sizeof(*state));