aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-05-13 08:46:51 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-13 08:46:51 -0700
commitb72f920ef581e9cf50a6c1afc80ed04bb086488e (patch)
treee2193ce0363ca87216a23f276857ae615c14ab79 /src/gpu/gl
parentbca19f77479adfd8ba2171753382bc8bf4c2b4ca (diff)
Revert of Revert of Remove workaround to for lower glsl support for qualcomm (patchset #1 id:1 of https://codereview.chromium.org/1135393003/)
Reason for revert: trying once more Original issue's description: > Revert of Remove workaround to for lower glsl support for qualcomm (patchset #1 id:1 of https://codereview.chromium.org/1133543004/) > > Reason for revert: > breaks many qualcomm gms > > Original issue's description: > > Remove workaround to for lower glsl support for qualcomm > > > > BUG=skia: > > > > Committed: https://skia.googlesource.com/skia/+/9770bdce776f45367c419b8dd82219eece26ca5c > > TBR=bsalomon@google.com > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/0cfe1242ee284290bde1ebe3f48626c555fdac51 TBR=bsalomon@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1138013004
Diffstat (limited to 'src/gpu/gl')
-rw-r--r--src/gpu/gl/GrGLContext.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gpu/gl/GrGLContext.cpp b/src/gpu/gl/GrGLContext.cpp
index fc8b195fd3..537363493f 100644
--- a/src/gpu/gl/GrGLContext.cpp
+++ b/src/gpu/gl/GrGLContext.cpp
@@ -47,16 +47,6 @@ bool GrGLContextInfo::initialize(const GrGLInterface* interface) {
fVendor = GrGLGetVendor(interface);
- /*
- * Qualcomm drivers have a horrendous bug with some drivers. Though they claim to
- * support GLES 3.00, some perfectly valid GLSL300 shaders will only compile with
- * #version 100, and will fail to compile with #version 300 es. In the long term, we
- * need to lock this down to a specific driver version.
- */
- if (kQualcomm_GrGLVendor == fVendor) {
- fGLSLGeneration = k110_GrGLSLGeneration;
- }
-
fRenderer = GrGLGetRendererFromString(renderer);
fIsMesa = GrGLIsMesaFromVersionString(ver);