Mesa (master): i915: Remove some long-dead i830 code.

Eric Anholt anholt at kemper.freedesktop.org
Thu Jun 4 10:39:37 UTC 2009


Module: Mesa
Branch: master
Commit: 1b6f7fb7d5a9756c97e2ac2f5390b0d2333acf55
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b6f7fb7d5a9756c97e2ac2f5390b0d2333acf55

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jun  4 09:40:44 2009 +0000

i915: Remove some long-dead i830 code.

---

 src/mesa/drivers/dri/i915/i830_vtbl.c |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/src/mesa/drivers/dri/i915/i830_vtbl.c b/src/mesa/drivers/dri/i915/i830_vtbl.c
index 3bf02de..a725c7a 100644
--- a/src/mesa/drivers/dri/i915/i830_vtbl.c
+++ b/src/mesa/drivers/dri/i915/i830_vtbl.c
@@ -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




More information about the mesa-commit mailing list