[Mesa-dev] [PATCH 05/12] i965: Remove empty brw_set_draw_region.

Eric Anholt eric at anholt.net
Tue Jul 12 15:22:41 PDT 2011


---
 src/mesa/drivers/dri/i965/brw_vtbl.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c
index 1609938..5f67239 100644
--- a/src/mesa/drivers/dri/i965/brw_vtbl.c
+++ b/src/mesa/drivers/dri/i965/brw_vtbl.c
@@ -230,8 +230,6 @@ brw_update_draw_buffer(struct intel_context *intel)
       intel->NewGLState |= (_NEW_DEPTH | _NEW_STENCIL);
    }
 
-   intel->vtbl.set_draw_region(intel, colorRegions, depthRegion,
-                               fb->_NumColorDrawBuffers);
    intel->NewGLState |= _NEW_BUFFERS;
 
    /* update viewport since it depends on window size */
@@ -262,17 +260,6 @@ brw_update_draw_buffer(struct intel_context *intel)
 }
 
 /**
- * called from intelDrawBuffer()
- */
-static void brw_set_draw_region( struct intel_context *intel, 
-                                 struct intel_region *color_regions[],
-                                 struct intel_region *depth_region,
-                                 GLuint num_color_regions)
-{
-}
-
-
-/**
  * called from intel_batchbuffer_flush and children before sending a
  * batchbuffer off.
  */
@@ -347,7 +334,6 @@ void brwInitVtbl( struct brw_context *brw )
    brw->intel.vtbl.finish_batch = brw_finish_batch;
    brw->intel.vtbl.destroy = brw_destroy_context;
    brw->intel.vtbl.update_draw_buffer = brw_update_draw_buffer;
-   brw->intel.vtbl.set_draw_region = brw_set_draw_region;
    brw->intel.vtbl.debug_batch = brw_debug_batch;
    brw->intel.vtbl.render_target_supported = brw_render_target_supported;
    brw->intel.vtbl.is_hiz_depth_format = brw_is_hiz_depth_format;
-- 
1.7.5.4



More information about the mesa-dev mailing list