From 28eee1aa2e8e25a52a77ac89d2204738e120c17a Mon Sep 17 00:00:00 2001 From: egdaniel Date: Fri, 8 May 2015 14:42:43 -0700 Subject: Disable advance blend equations. This is a temporary disabling of advanced blend equations till we can fix the various bugs associated with it. BUG=skia:3822 Review URL: https://codereview.chromium.org/1130003003 --- src/gpu/gl/GrGLCaps.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gpu/gl/GrGLCaps.cpp') diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp index 1781f3db49..06ebe3d34d 100644 --- a/src/gpu/gl/GrGLCaps.cpp +++ b/src/gpu/gl/GrGLCaps.cpp @@ -269,6 +269,8 @@ bool GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) { fStencilWrapOpsSupport = true; } +// Disabling advanced blend until we can resolve various bugs +#if 0 if (kIntel_GrGLVendor != ctxInfo.vendor()) { if (ctxInfo.hasExtension("GL_KHR_blend_equation_advanced_coherent") || ctxInfo.hasExtension("GL_NV_blend_equation_advanced_coherent")) { @@ -283,7 +285,7 @@ bool GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) { // On Intel platforms, KHR_blend_equation_advanced is not conformant. fBlendEquationSupport = kBasic_BlendEquationSupport; } - +#endif if (kGL_GrGLStandard == standard) { fMapBufferFlags = kCanMap_MapFlag; // we require VBO support and the desktop VBO // extension includes glMapBuffer. -- cgit v1.2.3