aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLContext.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-05-22 12:41:05 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-22 12:41:05 -0700
commit08bf86d1b7b03cc6829f2488d9adcb0502e84b97 (patch)
tree8f500d64bce505989fec53c8e4164cdda44df363 /src/gpu/gl/GrGLContext.h
parentf28cff71db2cbb1ff18a8fbf1e80ca761d1f69bc (diff)
Revert of Store context options on caps. (patchset #3 id:40001 of https://codereview.chromium.org/1158433006/)
Reason for revert: breaking chromeos build (???) Original issue's description: > Store context options on caps. > > Committed: https://skia.googlesource.com/skia/+/f28cff71db2cbb1ff18a8fbf1e80ca761d1f69bc TBR=joshualitt@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1151603005
Diffstat (limited to 'src/gpu/gl/GrGLContext.h')
-rw-r--r--src/gpu/gl/GrGLContext.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gpu/gl/GrGLContext.h b/src/gpu/gl/GrGLContext.h
index 50262cf44a..e84c8ecffc 100644
--- a/src/gpu/gl/GrGLContext.h
+++ b/src/gpu/gl/GrGLContext.h
@@ -15,7 +15,7 @@
#include "GrGLSL.h"
#include "GrGLUtil.h"
-struct GrContextOptions;
+#include "SkString.h"
/**
* Encapsulates information about an OpenGL context including the OpenGL
@@ -51,7 +51,6 @@ protected:
GrGLRenderer fRenderer;
bool fIsMesa;
bool fIsChromium;
- const GrContextOptions* fContextOptions;
};
GrGLContextInfo(const ConstructorArgs& args);
@@ -75,7 +74,7 @@ public:
* Creates a GrGLContext from a GrGLInterface and the currently
* bound OpenGL context accessible by the GrGLInterface.
*/
- static GrGLContext* Create(const GrGLInterface* interface, const GrContextOptions& options);
+ static GrGLContext* Create(const GrGLInterface* interface);
const GrGLInterface* interface() const { return fInterface; }