diff options
author | bsalomon <bsalomon@google.com> | 2016-03-31 10:59:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-31 10:59:06 -0700 |
commit | 273c0f5e87397c40d22bb7e3ee078bb46a3f6860 (patch) | |
tree | 70436fd146c39be9702c6c295a8fd204a38d865f /tools/gpu/gl/null | |
parent | a5598a40f82d69113fb4764dcb8de62151921807 (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
Committed: https://skia.googlesource.com/skia/+/4c7f0a16312c374eba4e8d5d46435ce9eb0b9971
Review URL: https://codereview.chromium.org/1849463002
Diffstat (limited to 'tools/gpu/gl/null')
-rw-r--r-- | tools/gpu/gl/null/NullGLTestContext.cpp (renamed from tools/gpu/gl/null/NullGLContext.cpp) | 8 | ||||
-rw-r--r-- | tools/gpu/gl/null/NullGLTestContext.h (renamed from tools/gpu/gl/null/NullGLContext.h) | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/gpu/gl/null/NullGLContext.cpp b/tools/gpu/gl/null/NullGLTestContext.cpp index 4781c90e4f..44abf59370 100644 --- a/tools/gpu/gl/null/NullGLContext.cpp +++ b/tools/gpu/gl/null/NullGLTestContext.cpp @@ -6,7 +6,7 @@ * found in the LICENSE file. */ -#include "NullGLContext.h" +#include "NullGLTestContext.h" #include "gl/GrGLTestInterface.h" #include "gl/GrGLDefines.h" #include "gl/GrGLInterface.h" @@ -605,7 +605,7 @@ const char* NullInterface::kExtensions[] = { nullptr, // signifies the end of the array. }; -class NullGLContext : public sk_gpu_test::GLContext { +class NullGLContext : public sk_gpu_test::GLTestContext { public: NullGLContext() { this->init(new NullInterface); } ~NullGLContext() override { this->teardown(); } @@ -618,8 +618,8 @@ private: } // anonymous namespace namespace sk_gpu_test { -GLContext* CreateNullGLContext() { - GLContext* ctx = new NullGLContext(); +GLTestContext* CreateNullGLTestContext() { + GLTestContext* ctx = new NullGLContext(); if (ctx->isValid()) { return ctx; } diff --git a/tools/gpu/gl/null/NullGLContext.h b/tools/gpu/gl/null/NullGLTestContext.h index 16fb9fd1df..ebde61a4c2 100644 --- a/tools/gpu/gl/null/NullGLContext.h +++ b/tools/gpu/gl/null/NullGLTestContext.h @@ -8,10 +8,10 @@ #ifndef NullGLContext_DEFINED #define NullGLContext_DEFINED -#include "gl/GLContext.h" +#include "gl/GLTestContext.h" namespace sk_gpu_test { -GLContext* CreateNullGLContext(); +GLTestContext* CreateNullGLTestContext(); } // namespace sk_gpu_test #endif |