Index: src/gpu/gl/GrGLCaps.h |
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h |
index 742a74d360cbac28a99db268723ad926997fde3b..e924c60efb945796be098d138ec8fcede51b897c 100644 |
--- a/src/gpu/gl/GrGLCaps.h |
+++ b/src/gpu/gl/GrGLCaps.h |
@@ -264,7 +264,7 @@ public: |
GrGLSLCaps* glslCaps() const { return reinterpret_cast<GrGLSLCaps*>(fShaderCaps.get()); } |
private: |
- void init(const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface); |
+ void init(const GrContextOptions&, const GrGLContextInfo&, const GrGLInterface*); |
/** |
* Maintains a bit per GrPixelConfig. It is used to avoid redundantly |
@@ -428,8 +428,6 @@ public: |
SkString dump() const override; |
private: |
- void init(const GrGLContextInfo&, const GrGLInterface*, const GrGLCaps&); |
- |
// Must be called after fGeometryShaderSupport is initialized. |
void initShaderPrecisionTable(const GrGLContextInfo&, const GrGLInterface*); |
@@ -444,6 +442,8 @@ private: |
AdvBlendEqInteraction fAdvBlendEqInteraction; |
+ friend class GrGLCaps; // For initialization. |
+ |
typedef GrShaderCaps INHERITED; |
}; |