Mesa (mesa_7_7_branch): intel: Fix more front-buffer rendering after Brian' s less flushing patch.

Eric Anholt anholt at kemper.freedesktop.org
Wed Dec 2 11:59:26 PST 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: a7e4a311e971005f7b23572ff3ca93f6d3c17edf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7e4a311e971005f7b23572ff3ca93f6d3c17edf

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Dec  2 11:56:18 2009 -0800

intel: Fix more front-buffer rendering after Brian's less flushing patch.

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 |    2 ++
 src/mesa/drivers/dri/intel/intel_pixel_copy.c   |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c b/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
index 99330b6..204a233 100644
--- a/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
+++ b/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
@@ -336,6 +336,8 @@ out:
                               unpack->BufferObj);
    }
 
+   intel_check_front_buffer_rendering(intel);
+
    return GL_TRUE;
 }
 
diff --git a/src/mesa/drivers/dri/intel/intel_pixel_copy.c b/src/mesa/drivers/dri/intel/intel_pixel_copy.c
index f058b3c..622aaa2 100644
--- a/src/mesa/drivers/dri/intel/intel_pixel_copy.c
+++ b/src/mesa/drivers/dri/intel/intel_pixel_copy.c
@@ -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;
 }



More information about the mesa-commit mailing list