From 3ab83e25194ab47dacfd83cad422b82ec9954680 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Mon, 28 Nov 2016 13:14:00 -0500 Subject: Remove old driver bug workaround for glTexStorage. Apparently we had issues with this on Qualcomm over 3 years ago. Today it works fine on a Nexus 6P. If we still need this on some devices we should add back a narrower filter. Change-Id: I0ccbb4918e4df7a8045b9033b9f121aca3c8d8ef Reviewed-on: https://skia-review.googlesource.com/5278 Commit-Queue: Brian Salomon Reviewed-by: Greg Daniel --- src/gpu/gl/GrGLCaps.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/gpu/gl') diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp index 9f24e5099d..3e9f82a79c 100644 --- a/src/gpu/gl/GrGLCaps.cpp +++ b/src/gpu/gl/GrGLCaps.cpp @@ -1466,10 +1466,8 @@ void GrGLCaps::initConfigTable(const GrGLContextInfo& ctxInfo, const GrGLInterfa ctxInfo.hasExtension("GL_ARB_texture_storage") || ctxInfo.hasExtension("GL_EXT_texture_storage"); } else { - // Qualcomm Adreno drivers appear to have issues with texture storage. - texStorageSupported = (version >= GR_GL_VER(3,0) && - kQualcomm_GrGLVendor != ctxInfo.vendor()) && - ctxInfo.hasExtension("GL_EXT_texture_storage"); + texStorageSupported = version >= GR_GL_VER(3,0) || + ctxInfo.hasExtension("GL_EXT_texture_storage"); } // TODO: remove after command buffer supports full ES 3.0 -- cgit v1.2.3