Mesa (master): intel: Remove pointless software fallback for glBitmap on Gen6.

Kenneth Graunke kwg at kemper.freedesktop.org
Sat May 5 00:20:25 UTC 2012


Module: Mesa
Branch: master
Commit: 3cd7bee48f7caf7850ea64d40f43875d4c975507
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3cd7bee48f7caf7850ea64d40f43875d4c975507

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Mar  5 13:54:29 2012 -0800

intel: Remove pointless software fallback for glBitmap on Gen6.

We already have a meta path below that works just fine; no apparent
regressions in oglconform.

NOTE: This is a candidate for the 8.0 branch.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46834
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

---

 src/mesa/drivers/dri/intel/intel_pixel_bitmap.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c b/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
index bdfb9ab..6821b69 100644
--- a/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
+++ b/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
@@ -337,9 +337,5 @@ intelBitmap(struct gl_context * ctx,
                           unpack, pixels))
       return;
 
-   /* FIXME */
-   if (intel->gen == 6)
-       return _swrast_Bitmap(ctx, x, y, width, height, unpack, pixels);
-
    _mesa_meta_Bitmap(ctx, x, y, width, height, unpack, pixels);
 }




More information about the mesa-commit mailing list