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

Unified Diff: tools/gpu/GrContextFactory.cpp

Issue 1850543003: Revert of rename sk_gpu_test::GLContext to sk_gpu_test::GLTestContext (Closed) Base URL: https://chromium.googlesource.com/skia.git@move
Patch Set: 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
« no previous file with comments | « tools/gpu/GrContextFactory.h ('k') | tools/gpu/gl/GLContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gpu/GrContextFactory.cpp
diff --git a/tools/gpu/GrContextFactory.cpp b/tools/gpu/GrContextFactory.cpp
index e5fa2c799e35e822da5d78d7590420080f333241..cb23014ad059a9907a292d10432fe524e462236a 100755
--- a/tools/gpu/GrContextFactory.cpp
+++ b/tools/gpu/GrContextFactory.cpp
@@ -7,19 +7,19 @@
*/
#include "GrContextFactory.h"
-#include "gl/GLTestContext.h"
+#include "gl/GLContext.h"
#if SK_ANGLE
- #include "gl/angle/GLTestContext_angle.h"
+ #include "gl/angle/GLContext_angle.h"
#endif
#if SK_COMMAND_BUFFER
- #include "gl/command_buffer/GLTestContext_command_buffer.h"
+ #include "gl/command_buffer/GLContext_command_buffer.h"
#endif
-#include "gl/debug/DebugGLTestContext.h"
+#include "gl/debug/DebugGLContext.h"
#if SK_MESA
- #include "gl/mesa/GLTestContext_mesa.h"
+ #include "gl/mesa/GLContext_mesa.h"
#endif
-#include "gl/null/NullGLTestContext.h"
+#include "gl/null/NullGLContext.h"
#include "gl/GrGLGpu.h"
#include "GrCaps.h"
@@ -73,43 +73,43 @@
return ContextInfo(context.fGrContext, context.fGLContext);
}
}
- SkAutoTDelete<GLTestContext> glCtx;
+ SkAutoTDelete<GLContext> glCtx;
SkAutoTUnref<GrContext> grCtx;
switch (type) {
case kNative_GLContextType:
- glCtx.reset(CreatePlatformGLTestContext(kNone_GrGLStandard));
+ glCtx.reset(CreatePlatformGLContext(kNone_GrGLStandard));
break;
case kGL_GLContextType:
- glCtx.reset(CreatePlatformGLTestContext(kGL_GrGLStandard));
+ glCtx.reset(CreatePlatformGLContext(kGL_GrGLStandard));
break;
case kGLES_GLContextType:
- glCtx.reset(CreatePlatformGLTestContext(kGLES_GrGLStandard));
+ glCtx.reset(CreatePlatformGLContext(kGLES_GrGLStandard));
break;
#if SK_ANGLE
#ifdef SK_BUILD_FOR_WIN
case kANGLE_GLContextType:
- glCtx.reset(CreateANGLEDirect3DGLTestContext());
+ glCtx.reset(CreateANGLEDirect3DGLContext());
break;
#endif
case kANGLE_GL_GLContextType:
- glCtx.reset(CreateANGLEOpenGLGLTestContext());
+ glCtx.reset(CreateANGLEOpenGLGLContext());
break;
#endif
#if SK_COMMAND_BUFFER
case kCommandBuffer_GLContextType:
- glCtx.reset(CommandBufferGLTestContext::Create());
+ glCtx.reset(CommandBufferGLContext::Create());
break;
#endif
#if SK_MESA
case kMESA_GLContextType:
- glCtx.reset(CreateMesaGLTestContext());
+ glCtx.reset(CreateMesaGLContext());
break;
#endif
case kNull_GLContextType:
- glCtx.reset(CreateNullGLTestContext());
+ glCtx.reset(CreateNullGLContext());
break;
case kDebug_GLContextType:
- glCtx.reset(CreateDebugGLTestContext());
+ glCtx.reset(CreateDebugGLContext());
break;
}
if (nullptr == glCtx.get()) {
« no previous file with comments | « tools/gpu/GrContextFactory.h ('k') | tools/gpu/gl/GLContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698