| Index: tools/kilobench/kilobench.cpp
|
| diff --git a/tools/kilobench/kilobench.cpp b/tools/kilobench/kilobench.cpp
|
| index dc7f938a5d97729cec13a144b01efc2467d0049e..f4c2999b9111d725971d0ef8b8293c9090fd179b 100644
|
| --- a/tools/kilobench/kilobench.cpp
|
| +++ b/tools/kilobench/kilobench.cpp
|
| @@ -175,8 +175,8 @@
|
| }
|
|
|
| bool init(Benchmark* bench, GrContextFactory* factory, bool useDfText,
|
| - GrContextFactory::ContextType ctxType,
|
| - GrContextFactory::ContextOptions ctxOptions, int numSamples) {
|
| + GrContextFactory::GLContextType ctxType,
|
| + GrContextFactory::GLContextOptions ctxOptions, int numSamples) {
|
| GrContext* context = factory->get(ctxType, ctxOptions);
|
| int maxRTSize = context->caps()->maxRenderTargetSize();
|
| SkImageInfo info = SkImageInfo::Make(SkTMin(bench->getSize().fX, maxRTSize),
|
| @@ -478,8 +478,8 @@
|
| fCtxFactory.reset(new GrContextFactory(grContextOpts));
|
|
|
| SkAssertResult(fTarget.init(bench, fCtxFactory, false,
|
| - GrContextFactory::kNativeGL_ContextType,
|
| - GrContextFactory::kNone_ContextOptions, 0));
|
| + GrContextFactory::kNative_GLContextType,
|
| + GrContextFactory::kNone_GLContextOptions, 0));
|
|
|
| fCanvas = fTarget.getCanvas();
|
| fTarget.setup();
|
|
|