Mesa (master): intel: Don't glBitmap fallback with scissoring enabled.
Eric Anholt
anholt at kemper.freedesktop.org
Fri Nov 21 05:25:55 UTC 2008
Module: Mesa
Branch: master
Commit: a6aa926e3f0b6237679db0d3331690d2a96adbc2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6aa926e3f0b6237679db0d3331690d2a96adbc2
Author: Eric Anholt <eric at anholt.net>
Date: Fri Nov 21 12:05:21 2008 +0800
intel: Don't glBitmap fallback with scissoring enabled.
The blit bitmap code already handles scissoring. This is a 15-100% speedup on
blender benchmark.blend thanks to avoiding fallbacks. Bug #17951.
---
src/mesa/drivers/dri/intel/intel_pixel.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_pixel.c b/src/mesa/drivers/dri/intel/intel_pixel.c
index b267ffd..5702ad9 100644
--- a/src/mesa/drivers/dri/intel/intel_pixel.c
+++ b/src/mesa/drivers/dri/intel/intel_pixel.c
@@ -112,12 +112,6 @@ intel_check_blit_fragment_ops(GLcontext * ctx, GLboolean src_alpha_is_one)
return GL_FALSE;
}
- if (ctx->Scissor.Enabled) {
- /* XXX Note: Scissor could be done with the blitter */
- DBG("fallback due to image scissor\n");
- return GL_FALSE;
- }
-
if (ctx->RenderMode != GL_RENDER) {
DBG("fallback due to render mode\n");
return GL_FALSE;
More information about the mesa-commit
mailing list