Index: include/gpu/gl/SkGLContextHelper.h |
diff --git a/include/gpu/gl/SkGLContextHelper.h b/include/gpu/gl/SkGLContextHelper.h |
index ea940c8bc05e2590e5daa86ea2482ec4650d6c77..9da874184005a4f2abaa03c3968786779b1dfc22 100644 |
--- a/include/gpu/gl/SkGLContextHelper.h |
+++ b/include/gpu/gl/SkGLContextHelper.h |
@@ -25,7 +25,7 @@ public: |
/** |
* Initializes the context and makes it current. |
*/ |
- bool init(const int width, const int height); |
+ bool init(GrGLStandard forcedGpuAPI, const int width, const int height); |
int getFBOID() const { return fFBO; } |
@@ -57,7 +57,7 @@ protected: |
* format and size of backbuffers does not matter since an FBO will be |
* created. |
*/ |
- virtual const GrGLInterface* createGLContext() = 0; |
+ virtual const GrGLInterface* createGLContext(GrGLStandard forcedGpuAPI) = 0; |
/** |
* Subclass should destroy the underlying GL context. |