aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/GrContextFactory.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-03-31 10:07:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-31 10:07:24 -0700
commit4c7f0a16312c374eba4e8d5d46435ce9eb0b9971 (patch)
tree8b5e597a2577667fba4aa1e9d4eb8ede2c545ffb /tools/gpu/GrContextFactory.h
parent51a315eff9b86bd60e7884240c4efc199129d37a (diff)
rename sk_gpu_test::GLContext to sk_gpu_test::GLTestContext
rename subclasses Fix up the EGL native GLTestContext GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1849463002 TBR=jvanverth@google.com Review URL: https://codereview.chromium.org/1849463002
Diffstat (limited to 'tools/gpu/GrContextFactory.h')
-rw-r--r--tools/gpu/GrContextFactory.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/gpu/GrContextFactory.h b/tools/gpu/GrContextFactory.h
index b17460819d..14a2739815 100644
--- a/tools/gpu/GrContextFactory.h
+++ b/tools/gpu/GrContextFactory.h
@@ -11,7 +11,7 @@
#include "GrContext.h"
#include "GrContextOptions.h"
-#include "gl/GLContext.h"
+#include "gl/GLTestContext.h"
#include "SkTArray.h"
namespace sk_gpu_test {
@@ -111,10 +111,10 @@ public:
struct ContextInfo {
ContextInfo()
: fGrContext(nullptr), fGLContext(nullptr) { }
- ContextInfo(GrContext* grContext, GLContext* glContext)
+ ContextInfo(GrContext* grContext, GLTestContext* glContext)
: fGrContext(grContext), fGLContext(glContext) { }
GrContext* fGrContext;
- GLContext* fGLContext; //! Valid until the factory destroys it via abandonContexts() or
+ GLTestContext* fGLContext; //! Valid until the factory destroys it via abandonContexts() or
//! destroyContexts().
};
@@ -136,7 +136,7 @@ private:
struct Context {
GLContextType fType;
GLContextOptions fOptions;
- GLContext* fGLContext;
+ GLTestContext* fGLContext;
GrContext* fGrContext;
};
SkTArray<Context, true> fContexts;