summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_pixel.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-06-24 11:44:42 -0700
committerEric Anholt <eric@anholt.net>2008-06-24 11:44:42 -0700
commitf5eb62a1161f050925c5c0b4839c437b29bdbc6b (patch)
tree146cb9c4ef12a274045c9748c807174ef1393c22 /src/mesa/drivers/dri/intel/intel_pixel.h
parentf23adc504d8202bbcc78121567a61c0b24819422 (diff)
intel: Avoid glBitmap software fallback for blending when no blending occurs.
Mesa demos tend to leave blending on but in GL_ONE/GL_ZERO, or GL_SRC_ALPHA/GL_ONE_MINUS_SRC_ALPHA with a source alpha of 1.0.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_pixel.h')
-rw-r--r--src/mesa/drivers/dri/intel/intel_pixel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_pixel.h b/src/mesa/drivers/dri/intel/intel_pixel.h
index ea2319a01f..9c899b954c 100644
--- a/src/mesa/drivers/dri/intel/intel_pixel.h
+++ b/src/mesa/drivers/dri/intel/intel_pixel.h
@@ -32,7 +32,8 @@
void intelInitPixelFuncs(struct dd_function_table *functions);
-GLboolean intel_check_blit_fragment_ops(GLcontext * ctx);
+GLboolean intel_check_blit_fragment_ops(GLcontext * ctx,
+ GLboolean src_alpha_is_one);
GLboolean intel_check_meta_tex_fragment_ops(GLcontext * ctx);