Chromium Code Reviews| Index: src/gpu/gl/GrGLCaps.cpp |
| diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
| index 5ee75460cf1664476d1c1e0a78260839c95692df..1f1c5a50ae84601d23805004348096e2e0f68828 100644 |
| --- a/src/gpu/gl/GrGLCaps.cpp |
| +++ b/src/gpu/gl/GrGLCaps.cpp |
| @@ -219,9 +219,12 @@ bool GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) { |
| fUseNonVBOVertexAndIndexDynamicData = true; |
| } |
| - if ((kGL_GrGLStandard == standard && version >= GR_GL_VER(4,3)) || |
| - (kGLES_GrGLStandard == standard && version >= GR_GL_VER(3,0)) || |
| - ctxInfo.hasExtension("GL_ARB_invalidate_subdata")) { |
| + // A driver but on the nexus 6 causes incorrect dst copies when invalidate is called beforehand. |
| + // We are blacklisting this exxtension for now on Adreno4xx. |
|
bsalomon
2015/05/18 19:02:04
exxxtension?
egdaniel
2015/05/18 19:09:58
Done.
|
| + if (kAdreno4xx_GrGLRenderer != ctxInfo.renderer() && |
| + ((kGL_GrGLStandard == standard && version >= GR_GL_VER(4,3)) || |
| + (kGLES_GrGLStandard == standard && version >= GR_GL_VER(3,0)) || |
| + ctxInfo.hasExtension("GL_ARB_invalidate_subdata"))) { |
| fDiscardRenderTargetSupport = true; |
| fInvalidateFBType = kInvalidate_InvalidateFBType; |
| } else if (ctxInfo.hasExtension("GL_EXT_discard_framebuffer")) { |