aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/nanobench.h
diff options
context:
space:
mode:
authorGravatar kkinnunen <kkinnunen@nvidia.com>2015-12-01 05:10:48 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-01 05:10:48 -0800
commiteeebdb538d476c1bfc8b63a946094ca1b505ecd1 (patch)
treed93b4fa64b8ea8e2aaed1f797bb45ea9b5bfbb7c /bench/nanobench.h
parent1e2913e7cb8c8122151cabd0aa6c77011253e95b (diff)
Make NVPR a GL context option instead of a GL context
Make NVPR a GL context option instead of a GL context. This may enable NVPR to be run with command buffer interface. No functionality change in DM or nanobench. NVPR can only be run with normal GL APIs. BUG=skia:2992 Review URL: https://codereview.chromium.org/1448883002
Diffstat (limited to 'bench/nanobench.h')
-rw-r--r--bench/nanobench.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bench/nanobench.h b/bench/nanobench.h
index 36f5ad5b75..2dac30a927 100644
--- a/bench/nanobench.h
+++ b/bench/nanobench.h
@@ -29,9 +29,11 @@ struct Config {
int samples;
#if SK_SUPPORT_GPU
GrContextFactory::GLContextType ctxType;
+ GrContextFactory::GLContextOptions ctxOptions;
bool useDFText;
#else
int bogusInt;
+ int bogusIntOption;
bool bogusBool;
#endif
};