aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/gl/null
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-03-31 10:59:06 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-31 10:59:06 -0700
commit273c0f5e87397c40d22bb7e3ee078bb46a3f6860 (patch)
tree70436fd146c39be9702c6c295a8fd204a38d865f /tools/gpu/gl/null
parenta5598a40f82d69113fb4764dcb8de62151921807 (diff)
rename sk_gpu_test::GLContext to sk_gpu_test::GLTestContext
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