Home
last modified time | relevance | path

Searched refs:SkBenchmark (Results 1 – 10 of 10) sorted by relevance

/external/skia/bench/
DSkBenchmark.cpp6 SkBenchmark::SkBenchmark(void* defineDict) { in SkBenchmark() function in SkBenchmark
12 const char* SkBenchmark::getName() { in getName()
16 SkIPoint SkBenchmark::getSize() { in getSize()
20 void SkBenchmark::draw(SkCanvas* canvas) { in draw()
24 void SkBenchmark::setupPaint(SkPaint* paint) { in setupPaint()
30 const char* SkBenchmark::findDefine(const char* key) const { in findDefine()
42 SkIPoint SkBenchmark::onGetSize() { in onGetSize()
DRectBench.cpp7 class RectBench : public SkBenchmark {
57 typedef SkBenchmark INHERITED;
110 static SkBenchmark* RectFactory1(void* p) { return SkNEW_ARGS(RectBench, (p, 1)); } in RectFactory1()
111 static SkBenchmark* RectFactory2(void* p) { return SkNEW_ARGS(RectBench, (p, 3)); } in RectFactory2()
112 static SkBenchmark* OvalFactory1(void* p) { return SkNEW_ARGS(OvalBench, (p, 1)); } in OvalFactory1()
113 static SkBenchmark* OvalFactory2(void* p) { return SkNEW_ARGS(OvalBench, (p, 3)); } in OvalFactory2()
114 static SkBenchmark* RRectFactory1(void* p) { return SkNEW_ARGS(RRectBench, (p, 1)); } in RRectFactory1()
115 static SkBenchmark* RRectFactory2(void* p) { return SkNEW_ARGS(RRectBench, (p, 3)); } in RRectFactory2()
116 static SkBenchmark* PointsFactory(void* p) { in PointsFactory()
119 static SkBenchmark* LinesFactory(void* p) { in LinesFactory()
[all …]
DTextBench.cpp19 class TextBench : public SkBenchmark {
92 typedef SkBenchmark INHERITED;
101 static SkBenchmark* Fact0(void* p) { return new TextBench(p, STR, SMALL, false, false); } in Fact0()
102 static SkBenchmark* Fact1(void* p) { return new TextBench(p, STR, SMALL, false, true); } in Fact1()
103 static SkBenchmark* Fact2(void* p) { return new TextBench(p, STR, SMALL, true, false); } in Fact2()
104 static SkBenchmark* Fact3(void* p) { return new TextBench(p, STR, SMALL, true, true); } in Fact3()
105 static SkBenchmark* Fact4(void* p) { return new TextBench(p, STR, BIG, false, false); } in Fact4()
106 static SkBenchmark* Fact5(void* p) { return new TextBench(p, STR, BIG, false, true); } in Fact5()
107 static SkBenchmark* Fact6(void* p) { return new TextBench(p, STR, BIG, true, false); } in Fact6()
108 static SkBenchmark* Fact7(void* p) { return new TextBench(p, STR, BIG, true, true); } in Fact7()
DDecodeBench.cpp10 class DecodeBench : public SkBenchmark {
16 DecodeBench(void* param, SkBitmap::Config c) : SkBenchmark(param) { in DecodeBench()
44 typedef SkBenchmark INHERITED;
47 static SkBenchmark* Fact0(void* p) { return new DecodeBench(p, SkBitmap::kARGB_8888_Config); } in Fact0()
48 static SkBenchmark* Fact1(void* p) { return new DecodeBench(p, SkBitmap::kRGB_565_Config); } in Fact1()
49 static SkBenchmark* Fact2(void* p) { return new DecodeBench(p, SkBitmap::kARGB_4444_Config); } in Fact2()
DRepeatTileBench.cpp79 class RepeatTileBench : public SkBenchmark {
127 typedef SkBenchmark INHERITED;
130 static SkBenchmark* Fact0(void* p) { return new RepeatTileBench(p, SkBitmap::kARGB_8888_Config); } in Fact0()
131 static SkBenchmark* Fact1(void* p) { return new RepeatTileBench(p, SkBitmap::kRGB_565_Config); } in Fact1()
132 static SkBenchmark* Fact2(void* p) { return new RepeatTileBench(p, SkBitmap::kARGB_4444_Config); } in Fact2()
133 static SkBenchmark* Fact3(void* p) { return new RepeatTileBench(p, SkBitmap::kIndex8_Config); } in Fact3()
DBitmapBench.cpp92 class BitmapBench : public SkBenchmark {
154 typedef SkBenchmark INHERITED;
157 static SkBenchmark* Fact0(void* p) { return new BitmapBench(p, SkBitmap::kARGB_8888_Config); } in Fact0()
158 static SkBenchmark* Fact1(void* p) { return new BitmapBench(p, SkBitmap::kRGB_565_Config); } in Fact1()
159 static SkBenchmark* Fact2(void* p) { return new BitmapBench(p, SkBitmap::kARGB_4444_Config); } in Fact2()
160 static SkBenchmark* Fact3(void* p) { return new BitmapBench(p, SkBitmap::kIndex8_Config); } in Fact3()
DSkBenchmark.h12 class SkBenchmark : public SkRefCnt {
14 SkBenchmark(void* defineDict);
55 typedef SkTRegistry<SkBenchmark*, void*> BenchRegistry;
DAndroid.mk11 SkBenchmark.cpp \
DMakefile.am6 SkBenchmark.cpp \
Dbenchmain.cpp57 SkBenchmark* next() { in next()
296 SkBenchmark* bench; in main()