intel: Remove the remaining cliprects code from DRI1.
authorEric Anholt <eric@anholt.net>
Wed, 27 Jan 2010 01:40:44 +0000 (17:40 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 27 Jan 2010 02:02:20 +0000 (18:02 -0800)
src/mesa/drivers/dri/intel/intel_buffers.c
src/mesa/drivers/dri/intel/intel_context.h

index de75257349541eaa847ceefe2e965da231160201..9171bab63a847ba294bc741066e2ce549869496b 100644 (file)
@@ -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.
index 57c3391130c22ba830432c37a467dc18c0b10271..8d7c95976f87d613d7ef7dd8af8a67698b929fd7 100644 (file)
@@ -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;