diff options
author | 2016-03-31 10:59:06 -0700 | |
---|---|---|
committer | 2016-03-31 10:59:06 -0700 | |
commit | 273c0f5e87397c40d22bb7e3ee078bb46a3f6860 (patch) | |
tree | 70436fd146c39be9702c6c295a8fd204a38d865f /tools/VisualBench | |
parent | a5598a40f82d69113fb4764dcb8de62151921807 (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
Committed: https://skia.googlesource.com/skia/+/4c7f0a16312c374eba4e8d5d46435ce9eb0b9971
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); |