Index: src/gpu/gl/GrGLContext.cpp |
diff --git a/src/gpu/gl/GrGLContext.cpp b/src/gpu/gl/GrGLContext.cpp |
index 335986508df69f5a01474adefbad0d3896d3dac8..6f23eca847c6f7503bec4872e5fb7ef293b08389 100644 |
--- a/src/gpu/gl/GrGLContext.cpp |
+++ b/src/gpu/gl/GrGLContext.cpp |
@@ -52,9 +52,8 @@ GrGLContext* GrGLContext::Create(const GrGLInterface* interface, const GrContext |
args.fRenderer = GrGLGetRendererFromString(renderer); |
- args.fIsMesa = GrGLIsMesaFromVersionString(ver); |
- |
- args.fIsChromium = GrGLIsChromiumFromRendererString(renderer); |
+ GrGLGetDriverInfo(interface->fStandard, args.fVendor, renderer, ver, |
+ &args.fDriver, &args.fDriverVersion); |
args.fContextOptions = &options; |
@@ -67,8 +66,8 @@ GrGLContextInfo::GrGLContextInfo(const ConstructorArgs& args) { |
fGLSLGeneration = args.fGLSLGeneration; |
fVendor = args.fVendor; |
fRenderer = args.fRenderer; |
- fIsMesa = args.fIsMesa; |
- fIsChromium = args.fIsChromium; |
+ fDriver = args.fDriver; |
+ fDriverVersion = args.fDriverVersion; |
fGLCaps.reset(SkNEW_ARGS(GrGLCaps, (*args.fContextOptions, *this, fInterface))); |
} |