8#ifndef nanobench_DEFINED
9#define nanobench_DEFINED
16#if defined(SK_GRAPHITE)
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
static void bench(NanoJSONResultsWriter *log, const char *name, int bytes)
sk_gpu_test::GrContextFactory::ContextType ctxType
Benchmark::Backend backend
sk_gpu_test::GrContextFactory::ContextOverrides ctxOverrides
sk_sp< SkColorSpace > colorSpace
virtual void submitWorkAndSyncCPU()
sk_sp< SkSurface > surface
virtual SkCanvas * beginTiming(SkCanvas *canvas)
virtual bool capturePixels(SkBitmap *bmp)
virtual bool needsFrameTiming(int *frameLag) const
virtual bool init(SkImageInfo info, Benchmark *bench)
SkCanvas * getCanvas() const