i915: Remove some long-dead i830 code.
authorEric Anholt <eric@anholt.net>
Thu, 4 Jun 2009 09:40:44 +0000 (09:40 +0000)
committerEric Anholt <eric@anholt.net>
Thu, 4 Jun 2009 10:34:52 +0000 (10:34 +0000)
src/mesa/drivers/dri/i915/i830_vtbl.c

index 3bf02de61f8d29263a43cf9697a360271650535b..a725c7afa85bde5bbc38c95c784fd028af1832a5 100644 (file)
@@ -718,26 +718,6 @@ i830_set_draw_region(struct intel_context *intel,
    i830_state_draw_region(intel, &i830->state, color_regions[0], depth_region);
 }
 
-#if 0
-static void
-i830_update_color_z_regions(intelContextPtr intel,
-                            const intelRegion * colorRegion,
-                            const intelRegion * depthRegion)
-{
-   i830ContextPtr i830 = I830_CONTEXT(intel);
-
-   i830->state.Buffer[I830_DESTREG_CBUFADDR1] =
-      (BUF_3D_ID_COLOR_BACK | BUF_3D_PITCH(colorRegion->pitch) |
-       BUF_3D_USE_FENCE);
-   i830->state.Buffer[I830_DESTREG_CBUFADDR2] = colorRegion->offset;
-
-   i830->state.Buffer[I830_DESTREG_DBUFADDR1] =
-      (BUF_3D_ID_DEPTH | BUF_3D_PITCH(depthRegion->pitch) | BUF_3D_USE_FENCE);
-   i830->state.Buffer[I830_DESTREG_DBUFADDR2] = depthRegion->offset;
-}
-#endif
-
-
 /* This isn't really handled at the moment.
  */
 static void