diff options
author | Kevin Lubick <kjlubick@google.com> | 2017-05-24 15:30:35 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-24 20:30:05 +0000 |
commit | ffce079f4e0ca4ccb7f24aa647eee1de5feb6e02 (patch) | |
tree | cd5290fcc657d362dc491b4d28aafc94847dba18 /tools/gpu/GrContextFactory.cpp | |
parent | 56a1e6a1095567809cfb45f450dfbe104cad5aaf (diff) |
Enable chromecast gpu perf
The new #ifndef account for what the chromecast sdk
cannot handle (e.g. posix).
Bug: skia:6581
Change-Id: I3d64d25980d80185f8b95c05badee5f665d97cd3
Reviewed-on: https://skia-review.googlesource.com/13811
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'tools/gpu/GrContextFactory.cpp')
-rw-r--r-- | tools/gpu/GrContextFactory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gpu/GrContextFactory.cpp b/tools/gpu/GrContextFactory.cpp index 5aa57853b5..0238898d71 100644 --- a/tools/gpu/GrContextFactory.cpp +++ b/tools/gpu/GrContextFactory.cpp @@ -162,9 +162,11 @@ ContextInfo GrContextFactory::getContextInfoInternal(ContextType type, ContextOv glShareContext).release(); break; #endif +#ifndef SK_NO_COMMAND_BUFFER case kCommandBuffer_ContextType: glCtx = CommandBufferGLTestContext::Create(glShareContext); break; +#endif #if SK_MESA case kMESA_ContextType: glCtx = CreateMesaGLTestContext(glShareContext); |