diff options
author | bsalomon <bsalomon@google.com> | 2016-03-31 10:07:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-31 10:07:24 -0700 |
commit | 4c7f0a16312c374eba4e8d5d46435ce9eb0b9971 (patch) | |
tree | 8b5e597a2577667fba4aa1e9d4eb8ede2c545ffb /tools/gpu/gl/debug | |
parent | 51a315eff9b86bd60e7884240c4efc199129d37a (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/gl/debug')
-rw-r--r-- | tools/gpu/gl/debug/DebugGLTestContext.cpp (renamed from tools/gpu/gl/debug/DebugGLContext.cpp) | 8 | ||||
-rw-r--r-- | tools/gpu/gl/debug/DebugGLTestContext.h (renamed from tools/gpu/gl/debug/DebugGLContext.h) | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/gpu/gl/debug/DebugGLContext.cpp b/tools/gpu/gl/debug/DebugGLTestContext.cpp index f4cbbea680..96640c5908 100644 --- a/tools/gpu/gl/debug/DebugGLContext.cpp +++ b/tools/gpu/gl/debug/DebugGLTestContext.cpp @@ -6,7 +6,7 @@ * found in the LICENSE file. */ -#include "DebugGLContext.h" +#include "DebugGLTestContext.h" #include "GrBufferObj.h" #include "GrFrameBufferObj.h" @@ -1229,7 +1229,7 @@ const char* DebugInterface::kExtensions[] = { nullptr, // signifies the end of the array. }; -class DebugGLContext : public sk_gpu_test::GLContext { +class DebugGLContext : public sk_gpu_test::GLTestContext { public: DebugGLContext() { this->init(new DebugInterface()); @@ -1245,8 +1245,8 @@ private: } // anonymous namespace namespace sk_gpu_test { -GLContext* CreateDebugGLContext() { - GLContext* ctx = new DebugGLContext(); +GLTestContext* CreateDebugGLTestContext() { + GLTestContext* ctx = new DebugGLContext(); if (ctx->isValid()) { return ctx; } diff --git a/tools/gpu/gl/debug/DebugGLContext.h b/tools/gpu/gl/debug/DebugGLTestContext.h index 0ac505b632..3f2646bb8c 100644 --- a/tools/gpu/gl/debug/DebugGLContext.h +++ b/tools/gpu/gl/debug/DebugGLTestContext.h @@ -8,10 +8,10 @@ #ifndef DebugGLContext_DEFINED #define DebugGLContext_DEFINED -#include "gl/GLContext.h" +#include "gl/GLTestContext.h" namespace sk_gpu_test { -GLContext* CreateDebugGLContext(); +GLTestContext* CreateDebugGLTestContext(); } // namespace sk_gpu_test #endif |