drop some more code no longer needed
authorRoland Scheidegger <sroland@tungstengraphics.com>
Wed, 11 Jul 2007 14:08:14 +0000 (16:08 +0200)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Wed, 11 Jul 2007 14:08:14 +0000 (16:08 +0200)
src/mesa/drivers/dri/i915tex/intel_buffers.c
src/mesa/drivers/dri/i915tex/intel_context.c
src/mesa/drivers/dri/i915tex/intel_screen.c

index fbaa4ee4f31123f288706552ea595412ca12eda2..4e4f0d14c65c1d6ee2c88443a4a2ee9e1e911754 100644 (file)
@@ -500,6 +500,7 @@ void
 intelRotateWindow(struct intel_context *intel,
                   __DRIdrawablePrivate * dPriv, GLuint srcBuf)
 {
+
    intelScreenPrivate *screen = intel->intelScreen;
    drm_clip_rect_t fullRect;
    struct intel_framebuffer *intel_fb;
index 76426e3c882eec8f68852691acdee74c68e5c129..4b96cd7b7eca5ff7eb5c03a70b0fe9ea97d6892f 100644 (file)
@@ -682,6 +682,7 @@ intelContendedLock(struct intel_context *intel, GLuint flags)
       intelUpdateScreenRotation(sPriv, sarea);
    }
 
+#if 0
    if (sarea->width != intel->width ||
        sarea->height != intel->height ||
        sarea->rotation != intel->current_rotation) {
@@ -724,6 +725,7 @@ intelContendedLock(struct intel_context *intel, GLuint flags)
       intel->height = sarea->height;
       intel->current_rotation = sarea->rotation;
    }
+#endif
 
    /* Drawable changed?
     */
index 82b65ea8420021f69c50035e411a14d4f0246d43..08057a6600623095626fe694c92e60d775af144a 100644 (file)
@@ -88,6 +88,7 @@ intelMapScreenRegions(__DRIscreenPrivate * sPriv)
       _mesa_warning(NULL, "no front buffer handle in intelMapScreenRegions!");
    }
 
+#if 0
    if (0)
       _mesa_printf("Back 0x%08x ", intelScreen->back.handle);
    if (drmMap(sPriv->fd,
@@ -119,6 +120,7 @@ intelMapScreenRegions(__DRIscreenPrivate * sPriv)
       intelUnmapScreenRegions(intelScreen);
       return GL_FALSE;
    }
+#endif
 
 #if 0
    _mesa_printf("TEX 0x%08x ", intelScreen->tex.handle);