diff options
author | 2015-05-08 14:42:43 -0700 | |
---|---|---|
committer | 2015-05-08 14:42:44 -0700 | |
commit | 28eee1aa2e8e25a52a77ac89d2204738e120c17a (patch) | |
tree | ae57c616e02a367c4a7060cf1c50f6dc3e3c49ee /src/gpu/gl/GrGLCaps.cpp | |
parent | 7dfc27ca42795dd5e9dc779c10b1afda8440d492 (diff) |
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
Diffstat (limited to 'src/gpu/gl/GrGLCaps.cpp')
-rw-r--r-- | src/gpu/gl/GrGLCaps.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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. |