From 273c0f5e87397c40d22bb7e3ee078bb46a3f6860 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Thu, 31 Mar 2016 10:59:06 -0700 Subject: 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 --- tools/VisualBench/VisualBench.cpp | 2 +- tools/VisualBench/VisualBench.h | 2 +- tools/VisualBench/VisualStreamTimingModule.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/VisualBench') 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); -- cgit v1.2.3