| Index: src/gpu/gl/GrGLCaps.cpp
|
| diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
|
| index 6522e1b14bce63256dd822c3ecb973934c50d1e5..0291be9fc02b3933e20baf01b5decfd6d7bd67fb 100644
|
| --- a/src/gpu/gl/GrGLCaps.cpp
|
| +++ b/src/gpu/gl/GrGLCaps.cpp
|
| @@ -304,6 +304,8 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
|
| }
|
| }
|
|
|
| + fBindUniformLocationSupport = ctxInfo.hasExtension("GL_CHROMIUM_bind_uniform_location");
|
| +
|
| #ifdef SK_BUILD_FOR_WIN
|
| // We're assuming that on Windows Chromium we're using ANGLE.
|
| bool isANGLE = kANGLE_GrGLDriver == ctxInfo.driver() ||
|
| @@ -1109,6 +1111,7 @@ SkString GrGLCaps::dump() const {
|
| r.appendf("SRGB write contol: %s\n", (fSRGBWriteControl ? "YES" : "NO"));
|
| r.appendf("RGBA 8888 pixel ops are slow: %s\n", (fRGBA8888PixelsOpsAreSlow ? "YES" : "NO"));
|
| r.appendf("Partial FBO read is slow: %s\n", (fPartialFBOReadIsSlow ? "YES" : "NO"));
|
| + r.appendf("Bind uniform location support: %s\n", (fBindUniformLocationSupport ? "YES" : "NO"));
|
| return r;
|
| }
|
|
|
|
|