diff options
author | 2016-03-31 10:07:23 -0700 | |
---|---|---|
committer | 2016-03-31 10:07:24 -0700 | |
commit | 4c7f0a16312c374eba4e8d5d46435ce9eb0b9971 (patch) | |
tree | 8b5e597a2577667fba4aa1e9d4eb8ede2c545ffb /tools/VisualBench | |
parent | 51a315eff9b86bd60e7884240c4efc199129d37a (diff) |
rename sk_gpu_test::GLContext to sk_gpu_test::GLTestContext
rename subclasses
Fix up the EGL native GLTestContext
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1849463002
TBR=jvanverth@google.com
Review URL: https://codereview.chromium.org/1849463002
Diffstat (limited to 'tools/VisualBench')
-rw-r--r-- | tools/VisualBench/VisualBench.cpp | 2 | ||||
-rw-r--r-- | tools/VisualBench/VisualBench.h | 2 | ||||
-rw-r--r-- | tools/VisualBench/VisualStreamTimingModule.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/VisualBench/VisualBench.cpp b/tools/VisualBench/VisualBench.cpp index 578ff92e3d..154c84b6f2 100644 --- a/tools/VisualBench/VisualBench.cpp +++ b/tools/VisualBench/VisualBench.cpp @@ -118,7 +118,7 @@ void VisualBench::setupContext() { fInterface.reset(GrGLCreateNativeInterface()); - // TODO use the GLContext creation factories and also set this all up in configs + // TODO use the GLTestContext creation factories and also set this all up in configs if (!FLAGS_nvpr) { fInterface.reset(GrGLInterfaceRemoveNVPR(fInterface)); } diff --git a/tools/VisualBench/VisualBench.h b/tools/VisualBench/VisualBench.h index e9fbdfb8ae..e965b094d9 100644 --- a/tools/VisualBench/VisualBench.h +++ b/tools/VisualBench/VisualBench.h @@ -16,7 +16,7 @@ #include "SkSurface.h" #include "VisualFlags.h" #include "VisualModule.h" -#include "gl/GLContext.h" +#include "gl/GLTestContext.h" class GrContext; struct GrGLInterface; diff --git a/tools/VisualBench/VisualStreamTimingModule.cpp b/tools/VisualBench/VisualStreamTimingModule.cpp index 0ac698eff2..b5726219dd 100644 --- a/tools/VisualBench/VisualStreamTimingModule.cpp +++ b/tools/VisualBench/VisualStreamTimingModule.cpp @@ -23,7 +23,7 @@ inline void VisualStreamTimingModule::handleInitState(SkCanvas* canvas) { fBenchmarkStream->current()->delayedSetup(); // fallthrough case kReset_InitState: - // This will flicker unfortunately, but as we are reseting the GLContext each bench, + // This will flicker unfortunately, but as we are reseting the GLTestContext each bench, // we unfortunately don't have a choice fOwner->clear(canvas, SK_ColorWHITE, 3); fBenchmarkStream->current()->preTimingHooks(canvas); |