projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
490ab64
)
intel: Don't glBitmap fallback with scissoring enabled.
author
Eric Anholt
<eric@anholt.net>
Fri, 21 Nov 2008 04:05:21 +0000
(12:05 +0800)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 24 Nov 2008 20:09:50 +0000
(13:09 -0700)
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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_pixel.c
b/src/mesa/drivers/dri/intel/intel_pixel.c
index b267ffd890c76b9fe072e7aa576fe01cbbaacfd2..5702ad9bb575862ac3b659724c162633e3d0643d 100644
(file)
--- 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;