Index: src/gpu/gl/GrGLContext.h |
diff --git a/src/gpu/gl/GrGLContext.h b/src/gpu/gl/GrGLContext.h |
index ac9e9ed900e3fcac845bb60179ba7913f5f11a52..b6e1ab3942ce803155963a27d9c5eea9b81273e2 100644 |
--- a/src/gpu/gl/GrGLContext.h |
+++ b/src/gpu/gl/GrGLContext.h |
@@ -47,6 +47,7 @@ public: |
GrGLVersion version() const { return fGLVersion; } |
GrGLSLGeneration glslGeneration() const { return fGLSLGeneration; } |
GrGLVendor vendor() const { return fVendor; } |
+ GrGLRenderer renderer() const { return fRenderer; } |
jvanverth1
2013/09/17 17:59:12
Why renderer rather than GPU?
bsalomon
2013/09/17 18:00:38
I was just mimicking the GL terminology.
|
/** Is this a mesa-based driver. Does not mean it is the osmesa software rasterizer. */ |
bool isMesa() const { return fIsMesa; } |
const GrGLCaps* caps() const { return fGLCaps.get(); } |
@@ -74,6 +75,7 @@ private: |
GrGLVersion fGLVersion; |
GrGLSLGeneration fGLSLGeneration; |
GrGLVendor fVendor; |
+ GrGLRenderer fRenderer; |
GrGLExtensions fExtensions; |
bool fIsMesa; |
SkAutoTUnref<GrGLCaps> fGLCaps; |