intel: Fix more front-buffer rendering after Brian's less flushing patch.
authorEric Anholt <eric@anholt.net>
Wed, 2 Dec 2009 19:56:18 +0000 (11:56 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 2 Dec 2009 19:58:57 +0000 (11:58 -0800)
bcbfda71b03303d3f008a6f3cf8cb7d9667bf8d2 left out many blit paths.
This fixes up more of them to get Blender to work again.

Bug #25030.

src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
src/mesa/drivers/dri/intel/intel_pixel_copy.c

index 99330b6ddfed6cd8363c156d667dbbe48964484b..204a233173778b7cc5990c5b04f74b108552eea1 100644 (file)
@@ -336,6 +336,8 @@ out:
                               unpack->BufferObj);
    }
 
+   intel_check_front_buffer_rendering(intel);
+
    return GL_TRUE;
 }
 
index f058b3c8e4dfa21f748297d8f1f016d9f219dedf..622aaa22d67932cf68ba6a036db9af0cf71d143c 100644 (file)
@@ -222,6 +222,8 @@ do_blit_copypixels(GLcontext * ctx,
 out:
    UNLOCK_HARDWARE(intel);
 
+   intel_check_front_buffer_rendering(intel);
+
    DBG("%s: success\n", __FUNCTION__);
    return GL_TRUE;
 }