Index: src/gpu/gl/GrGpuGL.h |
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h |
index 2a0587be11b3e7845f369681273ae5ed37063bb2..677e48cb0fd9f46bdf1ef623914dd11f0411f320 100644 |
--- a/src/gpu/gl/GrGpuGL.h |
+++ b/src/gpu/gl/GrGpuGL.h |
@@ -31,6 +31,8 @@ public: |
GrGpuGL(const GrGLContext& ctx, GrContext* context); |
virtual ~GrGpuGL(); |
+ const GrGLContext& glContext() const { return fGLContext; } |
+ |
const GrGLInterface* glInterface() const { return fGLContext.interface(); } |
const GrGLContextInfo& ctxInfo() const { return fGLContext.info(); } |
GrGLBinding glBinding() const { return fGLContext.info().binding(); } |
@@ -177,8 +179,6 @@ private: |
bool hasExtension(const char* ext) const { return fGLContext.info().hasExtension(ext); } |
- const GrGLContext& glContext() const { return fGLContext; } |
- |
static bool BlendCoeffReferencesConstant(GrBlendCoeff coeff); |
class ProgramCache : public ::SkNoncopyable { |