Index: src/gpu/gl/GrGLUtil.cpp |
diff --git a/src/gpu/gl/GrGLUtil.cpp b/src/gpu/gl/GrGLUtil.cpp |
index ed4b50c49f2acabe3f6f60706c8cee95ad9e8cf7..96679fcfd5cd558e78b17101c2f060e9056e912f 100644 |
--- a/src/gpu/gl/GrGLUtil.cpp |
+++ b/src/gpu/gl/GrGLUtil.cpp |
@@ -129,6 +129,10 @@ bool GrGLIsMesaFromVersionString(const char* versionString) { |
return 4 == n; |
} |
+bool GrGLIsChromiumFromRendererString(const char* rendererString) { |
+ return 0 == strcmp(rendererString, "Chromium"); |
+} |
+ |
GrGLVersion GrGLGetVersionFromString(const char* versionString) { |
if (NULL == versionString) { |
SkDEBUGFAIL("NULL GL version string."); |