8#ifndef BitmapRegionDecoderBench_DEFINED
9#define BitmapRegionDecoderBench_DEFINED
12#ifdef SK_ENABLE_ANDROID_UTILS
20class BitmapRegionDecoder;
30class BitmapRegionDecoderBench :
public Benchmark {
34 uint32_t sampleSize,
const SkIRect& subset);
44 std::unique_ptr<android::skia::BitmapRegionDecoder> fBRD;
47 const uint32_t fSampleSize;
static SkColorType colorType(AImageDecoder *decoder, const AImageDecoderHeaderInfo *headerInfo)
#define INHERITED(method,...)
virtual void onDraw(int loops, SkCanvas *)=0
virtual bool isSuitableFor(Backend backend)
virtual void onDelayedSetup()
virtual const char * onGetName()=0