aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/nanobench.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-03-31 10:07:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-31 10:07:24 -0700
commit4c7f0a16312c374eba4e8d5d46435ce9eb0b9971 (patch)
tree8b5e597a2577667fba4aa1e9d4eb8ede2c545ffb /bench/nanobench.cpp
parent51a315eff9b86bd60e7884240c4efc199129d37a (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 'bench/nanobench.cpp')
-rw-r--r--bench/nanobench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 235de02f57..521824e97b 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -58,7 +58,7 @@
#include "GrContextFactory.h"
#include "gl/GrGLUtil.h"
using sk_gpu_test::GrContextFactory;
- using sk_gpu_test::GLContext;
+ using sk_gpu_test::GLTestContext;
SkAutoTDelete<GrContextFactory> gGrFactory;
#endif
@@ -158,7 +158,7 @@ bool Target::capturePixels(SkBitmap* bmp) {
#if SK_SUPPORT_GPU
struct GPUTarget : public Target {
explicit GPUTarget(const Config& c) : Target(c), gl(nullptr) { }
- GLContext* gl;
+ GLTestContext* gl;
void setup() override {
this->gl->makeCurrent();