Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: tools/gpu/gl/command_buffer/GLTestContext_command_buffer.h

Issue 1849463002: rename sk_gpu_test::GLContext to sk_gpu_test::GLTestContext (Closed) Base URL: https://chromium.googlesource.com/skia.git@move
Patch Set: readd gpu.gypi Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « tools/gpu/gl/command_buffer/GLContext_command_buffer.cpp ('k') | tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698