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 <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
This commit is contained in:
Brian Salomon 2016-11-28 13:14:00 -05:00 committed by Skia Commit-Bot
parent 16dd6e6b80
commit 3ab83e2519

View File

@ -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