Chromium Code Reviews| Index: src/gpu/gl/GrGLContext.h |
| diff --git a/src/gpu/gl/GrGLContext.h b/src/gpu/gl/GrGLContext.h |
| index 172cd8b86402a597659da979c1579a005afb0fbb..e4fb3bdf937b72376b180a29aeae60eedf630b46 100644 |
| --- a/src/gpu/gl/GrGLContext.h |
| +++ b/src/gpu/gl/GrGLContext.h |
| @@ -47,6 +47,8 @@ public: |
| GrGLVersion version() const { return fGLVersion; } |
| GrGLSLGeneration glslGeneration() const { return fGLSLGeneration; } |
| GrGLVendor vendor() const { return fVendor; } |
|
robertphillips
2013/06/13 13:33:04
sowftware -> software
|
| + /** Is this a mesa-based driver. Does not mean it is the osmesa sowftware rasterizer. */ |
| + bool isMesa() const { return fIsMesa; } |
| const GrGLCaps* caps() const { return fGLCaps.get(); } |
| GrGLCaps* caps() { return fGLCaps; } |
| const GrGLExtensions& extensions() const { return fExtensions; } |
| @@ -73,6 +75,7 @@ private: |
| GrGLSLGeneration fGLSLGeneration; |
| GrGLVendor fVendor; |
| GrGLExtensions fExtensions; |
| + bool fIsMesa; |
| SkAutoTUnref<GrGLCaps> fGLCaps; |
| }; |