Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index 65cef8989e2f3a5cc4fa471a72665d37dfd7c492..21aeef4b3c263f57616b58fd2b7b41ae783376b6 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -84,7 +84,7 @@ |
} |
#define HUMANIZE(ms) humanize(ms).c_str() |
-static double time(int loops, Benchmark* bench, SkCanvas* canvas, SkGLContext* gl) { |
+static double time(int loops, Benchmark* bench, SkCanvas* canvas, SkGLContextHelper* gl) { |
if (canvas) { |
canvas->clear(SK_ColorWHITE); |
} |
@@ -203,7 +203,7 @@ |
} |
#if SK_SUPPORT_GPU |
-static int gpu_bench(SkGLContext* gl, |
+static int gpu_bench(SkGLContextHelper* gl, |
Benchmark* bench, |
SkCanvas* canvas, |
double* samples) { |
@@ -274,7 +274,7 @@ |
const Config config; |
SkAutoTDelete<SkSurface> surface; |
#if SK_SUPPORT_GPU |
- SkGLContext* gl; |
+ SkGLContextHelper* gl; |
#endif |
}; |
@@ -389,7 +389,7 @@ |
} |
#if SK_SUPPORT_GPU |
-static void fill_gpu_options(ResultsWriter* log, SkGLContext* ctx) { |
+static void fill_gpu_options(ResultsWriter* log, SkGLContextHelper* ctx) { |
const GrGLubyte* version; |
SK_GL_RET(*ctx, version, GetString(GR_GL_VERSION)); |
log->configOption("GL_VERSION", (const char*)(version)); |