From 64492c43c3faee7ab0f69b1c84e0267616f85e52 Mon Sep 17 00:00:00 2001 From: kkinnunen Date: Tue, 8 Dec 2015 01:24:40 -0800 Subject: 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 Committed: https://skia.googlesource.com/skia/+/eeebdb538d476c1bfc8b63a946094ca1b505ecd1 Review URL: https://codereview.chromium.org/1448883002 --- bench/nanobench.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bench/nanobench.h') 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 }; -- cgit v1.2.3