aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/GrContextFactory.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-09-21 14:01:32 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-21 14:01:32 -0700
commit605d95289379a07aad50b38ca6badbee45813d56 (patch)
tree23cef452ba2c78352e36a62382731fc5c4289ddb /tools/gpu/GrContextFactory.cpp
parent0e4a466a613fa02292dfdbd8d4097fc14f191c42 (diff)
GN: take over CommandBuffer bot
As you suspected, I see nothing preventing us from building our side of things unconditionally. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2358173002 NOTREECHECKS=true Review-Url: https://codereview.chromium.org/2358173002
Diffstat (limited to 'tools/gpu/GrContextFactory.cpp')
-rw-r--r--tools/gpu/GrContextFactory.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/gpu/GrContextFactory.cpp b/tools/gpu/GrContextFactory.cpp
index c40764b109..5e6494f778 100644
--- a/tools/gpu/GrContextFactory.cpp
+++ b/tools/gpu/GrContextFactory.cpp
@@ -12,9 +12,7 @@
#if SK_ANGLE
#include "gl/angle/GLTestContext_angle.h"
#endif
-#if SK_COMMAND_BUFFER
- #include "gl/command_buffer/GLTestContext_command_buffer.h"
-#endif
+#include "gl/command_buffer/GLTestContext_command_buffer.h"
#include "gl/debug/DebugGLTestContext.h"
#if SK_MESA
#include "gl/mesa/GLTestContext_mesa.h"
@@ -128,11 +126,9 @@ ContextInfo GrContextFactory::getContextInfo(ContextType type, ContextOptions op
glCtx = CreateANGLEOpenGLGLTestContext();
break;
#endif
-#if SK_COMMAND_BUFFER
case kCommandBuffer_ContextType:
glCtx = CommandBufferGLTestContext::Create();
break;
-#endif
#if SK_MESA
case kMESA_ContextType:
glCtx = CreateMesaGLTestContext();