Index: src/gpu/gl/GrGLContext.h |
diff --git a/src/gpu/gl/GrGLContext.h b/src/gpu/gl/GrGLContext.h |
index e84c8ecffc265cc0ab651b6a0da2da69f8e3a500..50262cf44a106ca9c6742ae7555fbe2f52002f85 100644 |
--- a/src/gpu/gl/GrGLContext.h |
+++ b/src/gpu/gl/GrGLContext.h |
@@ -15,7 +15,7 @@ |
#include "GrGLSL.h" |
#include "GrGLUtil.h" |
-#include "SkString.h" |
+struct GrContextOptions; |
/** |
* Encapsulates information about an OpenGL context including the OpenGL |
@@ -51,6 +51,7 @@ protected: |
GrGLRenderer fRenderer; |
bool fIsMesa; |
bool fIsChromium; |
+ const GrContextOptions* fContextOptions; |
}; |
GrGLContextInfo(const ConstructorArgs& args); |
@@ -74,7 +75,7 @@ public: |
* Creates a GrGLContext from a GrGLInterface and the currently |
* bound OpenGL context accessible by the GrGLInterface. |
*/ |
- static GrGLContext* Create(const GrGLInterface* interface); |
+ static GrGLContext* Create(const GrGLInterface* interface, const GrContextOptions& options); |
const GrGLInterface* interface() const { return fInterface; } |