Mesa (master): intel: Remove the remaining cliprects code from DRI1.
Eric Anholt
anholt at kemper.freedesktop.org
Wed Jan 27 02:27:30 UTC 2010
Module: Mesa
Branch: master
Commit: a389d6bd566ba241a285c3a33039d5e964bc8f30
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a389d6bd566ba241a285c3a33039d5e964bc8f30
Author: Eric Anholt <eric at anholt.net>
Date: Tue Jan 26 17:40:44 2010 -0800
intel: Remove the remaining cliprects code from DRI1.
---
src/mesa/drivers/dri/intel/intel_buffers.c | 18 ------------------
src/mesa/drivers/dri/intel/intel_context.h | 4 ----
2 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_buffers.c b/src/mesa/drivers/dri/intel/intel_buffers.c
index de75257..9171bab 100644
--- a/src/mesa/drivers/dri/intel/intel_buffers.c
+++ b/src/mesa/drivers/dri/intel/intel_buffers.c
@@ -94,24 +94,6 @@ intel_readbuf_region(struct intel_context *intel)
return NULL;
}
-void
-intel_get_cliprects(struct intel_context *intel,
- struct drm_clip_rect **cliprects,
- unsigned int *num_cliprects,
- int *x_off, int *y_off)
-{
- intel->fboRect.x1 = 0;
- intel->fboRect.y1 = 0;
- intel->fboRect.x2 = intel->ctx.DrawBuffer->Width;
- intel->fboRect.y2 = intel->ctx.DrawBuffer->Height;
-
- *cliprects = &intel->fboRect;
- *num_cliprects = 1;
- *x_off = 0;
- *y_off = 0;
-}
-
-
/**
* Check if we're about to draw into the front color buffer.
* If so, set the intel->front_buffer_dirty field to true.
diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h
index 57c3391..8d7c959 100644
--- a/src/mesa/drivers/dri/intel/intel_context.h
+++ b/src/mesa/drivers/dri/intel/intel_context.h
@@ -273,10 +273,6 @@ struct intel_context
GLboolean use_texture_tiling;
GLboolean use_early_z;
- drm_clip_rect_t fboRect; /**< cliprect for FBO rendering */
-
- drm_clip_rect_t draw_rect;
- drm_clip_rect_t scissor_rect;
int driFd;
More information about the mesa-commit
mailing list