Index: tools/gpu/gl/command_buffer/GLTestContext_command_buffer.h |
diff --git a/tools/gpu/gl/command_buffer/GLContext_command_buffer.h b/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.h |
similarity index 60% |
rename from tools/gpu/gl/command_buffer/GLContext_command_buffer.h |
rename to tools/gpu/gl/command_buffer/GLTestContext_command_buffer.h |
index 73f02e2c784f970fdb919705c5e47f6193cddaa4..0994c98c8b2db5b6925807ad66773a61860560a3 100644 |
--- a/tools/gpu/gl/command_buffer/GLContext_command_buffer.h |
+++ b/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.h |
@@ -6,18 +6,18 @@ |
* found in the LICENSE file. |
*/ |
-#ifndef GLContext_command_buffer_DEFINED |
-#define GLContext_command_buffer_DEFINED |
+#ifndef GLTestContext_command_buffer_DEFINED |
+#define GLTestContext_command_buffer_DEFINED |
-#include "gl/GLContext.h" |
+#include "gl/GLTestContext.h" |
namespace sk_gpu_test { |
-class CommandBufferGLContext : public GLContext { |
+class CommandBufferGLTestContext : public GLTestContext { |
public: |
- ~CommandBufferGLContext() override; |
+ ~CommandBufferGLTestContext() override; |
- static CommandBufferGLContext *Create() { |
- CommandBufferGLContext *ctx = new CommandBufferGLContext; |
+ static CommandBufferGLTestContext *Create() { |
+ CommandBufferGLTestContext *ctx = new CommandBufferGLTestContext; |
if (!ctx->isValid()) { |
delete ctx; |
return nullptr; |
@@ -25,8 +25,8 @@ public: |
return ctx; |
} |
- static CommandBufferGLContext *Create(void *nativeWindow, int msaaSampleCount) { |
- CommandBufferGLContext *ctx = new CommandBufferGLContext(nativeWindow, msaaSampleCount); |
+ static CommandBufferGLTestContext *Create(void *nativeWindow, int msaaSampleCount) { |
+ CommandBufferGLTestContext *ctx = new CommandBufferGLTestContext(nativeWindow, msaaSampleCount); |
if (!ctx->isValid()) { |
delete ctx; |
return nullptr; |
@@ -43,9 +43,9 @@ public: |
int getSampleCount(); |
private: |
- CommandBufferGLContext(); |
+ CommandBufferGLTestContext(); |
- CommandBufferGLContext(void *nativeWindow, int msaaSampleCount); |
+ CommandBufferGLTestContext(void *nativeWindow, int msaaSampleCount); |
void initializeGLContext(void *nativeWindow, const int *configAttribs, |
const int *surfaceAttribs); |