OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SkBenchmark
(Results
1 - 14
of
14
) sorted by null
/external/skia/bench/
SkBenchmark.cpp
1
#include "
SkBenchmark
.h"
7
SkBenchmark
::
SkBenchmark
(void* defineDict) {
15
const char*
SkBenchmark
::getName() {
19
SkIPoint
SkBenchmark
::getSize() {
23
void
SkBenchmark
::draw(SkCanvas* canvas) {
27
void
SkBenchmark
::setupPaint(SkPaint* paint) {
37
const char*
SkBenchmark
::findDefine(const char* key) const {
47
bool
SkBenchmark
::findDefine32(const char* key, int32_t* value) const {
56
bool
SkBenchmark
::findDefineScalar(const char* key, SkScalar* value) const
[
all
...]
DecodeBench.cpp
1
#include "
SkBenchmark
.h"
10
class DecodeBench : public
SkBenchmark
{
16
DecodeBench(void* param, SkBitmap::Config c) :
SkBenchmark
(param) {
46
typedef
SkBenchmark
INHERITED;
49
static
SkBenchmark
* Fact0(void* p) { return new DecodeBench(p, SkBitmap::kARGB_8888_Config); }
50
static
SkBenchmark
* Fact1(void* p) { return new DecodeBench(p, SkBitmap::kRGB_565_Config); }
51
static
SkBenchmark
* Fact2(void* p) { return new DecodeBench(p, SkBitmap::kARGB_4444_Config); }
FPSBench.cpp
1
#include "
SkBenchmark
.h"
7
class FPSBench : public
SkBenchmark
{
25
typedef
SkBenchmark
INHERITED;
91
static
SkBenchmark
* FillFactory(void* p) { return SkNEW_ARGS(Color_FPSBench, (p, 0xFFFF0000, "fps_fill")); }
92
static
SkBenchmark
* BlendFactory(void* p) { return SkNEW_ARGS(Color_FPSBench, (p, 0x80FF0000, "fps_blend")); }
93
static
SkBenchmark
* BMFactory0(void* p) { return SkNEW_ARGS(Bitmap_FPSBench, (p, SkBitmap::kARGB_8888_Config, false, false)); }
94
static
SkBenchmark
* BMFactory1(void* p) { return SkNEW_ARGS(Bitmap_FPSBench, (p, SkBitmap::kARGB_8888_Config, false, true)); }
95
static
SkBenchmark
* BMFactory2(void* p) { return SkNEW_ARGS(Bitmap_FPSBench, (p, SkBitmap::kARGB_8888_Config, true, false)); }
96
static
SkBenchmark
* BMFactory3(void* p) { return SkNEW_ARGS(Bitmap_FPSBench, (p, SkBitmap::kARGB_8888_Config, true, true)); }
97
static
SkBenchmark
* BMFactory4(void* p) { return SkNEW_ARGS(Bitmap_FPSBench, (p, SkBitmap::kRGB_565_Config, false, fa (…)
[
all
...]
TextBench.cpp
1
#include "
SkBenchmark
.h"
19
class TextBench : public
SkBenchmark
{
98
typedef
SkBenchmark
INHERITED;
107
static
SkBenchmark
* Fact0(void* p) { return new TextBench(p, STR, SMALL, false, false); }
108
static
SkBenchmark
* Fact01(void* p) { return new TextBench(p, STR, SMALL, false, false, 0xFFFF0000); }
109
static
SkBenchmark
* Fact02(void* p) { return new TextBench(p, STR, SMALL, false, false, 0x88FF0000); }
111
static
SkBenchmark
* Fact1(void* p) { return new TextBench(p, STR, SMALL, false, true); }
112
static
SkBenchmark
* Fact2(void* p) { return new TextBench(p, STR, SMALL, true, false); }
113
static
SkBenchmark
* Fact3(void* p) { return new TextBench(p, STR, SMALL, true, true); }
115
static
SkBenchmark
* Fact4(void* p) { return new TextBench(p, STR, BIG, false, false);
[
all
...]
SkBenchmark.h
21
class
SkBenchmark
: public SkRefCnt {
23
SkBenchmark
(void* defineDict);
80
typedef SkTRegistry<
SkBenchmark
*, void*> BenchRegistry;
PathBench.cpp
1
#include "
SkBenchmark
.h"
19
class PathBench : public
SkBenchmark
{
71
typedef
SkBenchmark
INHERITED;
154
static
SkBenchmark
* FactT00(void* p) { return new TrianglePathBench(p, FLAGS00); }
155
static
SkBenchmark
* FactT01(void* p) { return new TrianglePathBench(p, FLAGS01); }
156
static
SkBenchmark
* FactT10(void* p) { return new TrianglePathBench(p, FLAGS10); }
157
static
SkBenchmark
* FactT11(void* p) { return new TrianglePathBench(p, FLAGS11); }
159
static
SkBenchmark
* FactR00(void* p) { return new RectPathBench(p, FLAGS00); }
160
static
SkBenchmark
* FactR01(void* p) { return new RectPathBench(p, FLAGS01); }
161
static
SkBenchmark
* FactR10(void* p) { return new RectPathBench(p, FLAGS10);
[
all
...]
ScalarBench.cpp
1
#include "
SkBenchmark
.h"
6
class ScalarBench : public
SkBenchmark
{
31
typedef
SkBenchmark
INHERITED;
93
static
SkBenchmark
* S0(void* p) { return new FloatComparisonBench(p); }
94
static
SkBenchmark
* S1(void* p) { return new ForcedIntComparisonBench(p); }
RectBench.cpp
1
#include "
SkBenchmark
.h"
8
class RectBench : public
SkBenchmark
{
66
typedef
SkBenchmark
INHERITED;
203
static
SkBenchmark
* RectFactory1F(void* p) { return SkNEW_ARGS(RectBench, (p, 1)); }
204
static
SkBenchmark
* RectFactory1S(void* p) { return SkNEW_ARGS(RectBench, (p, 1, 4)); }
205
static
SkBenchmark
* RectFactory2F(void* p) { return SkNEW_ARGS(RectBench, (p, 3)); }
206
static
SkBenchmark
* RectFactory2S(void* p) { return SkNEW_ARGS(RectBench, (p, 3, 4)); }
207
static
SkBenchmark
* OvalFactory1(void* p) { return SkNEW_ARGS(OvalBench, (p, 1)); }
208
static
SkBenchmark
* OvalFactory2(void* p) { return SkNEW_ARGS(OvalBench, (p, 3)); }
209
static
SkBenchmark
* RRectFactory1(void* p) { return SkNEW_ARGS(RRectBench, (p, 1));
[
all
...]
RepeatTileBench.cpp
1
#include "
SkBenchmark
.h"
79
class RepeatTileBench : public
SkBenchmark
{
127
typedef
SkBenchmark
INHERITED;
130
static
SkBenchmark
* Fact0(void* p) { return new RepeatTileBench(p, SkBitmap::kARGB_8888_Config); }
131
static
SkBenchmark
* Fact1(void* p) { return new RepeatTileBench(p, SkBitmap::kRGB_565_Config); }
132
static
SkBenchmark
* Fact2(void* p) { return new RepeatTileBench(p, SkBitmap::kARGB_4444_Config); }
133
static
SkBenchmark
* Fact3(void* p) { return new RepeatTileBench(p, SkBitmap::kIndex8_Config); }
BitmapBench.cpp
1
#include "
SkBenchmark
.h"
92
class BitmapBench : public
SkBenchmark
{
162
typedef
SkBenchmark
INHERITED;
165
static
SkBenchmark
* Fact0(void* p) { return new BitmapBench(p, false, SkBitmap::kARGB_8888_Config); }
166
static
SkBenchmark
* Fact1(void* p) { return new BitmapBench(p, true, SkBitmap::kARGB_8888_Config); }
167
static
SkBenchmark
* Fact2(void* p) { return new BitmapBench(p, true, SkBitmap::kRGB_565_Config); }
168
static
SkBenchmark
* Fact3(void* p) { return new BitmapBench(p, false, SkBitmap::kARGB_4444_Config); }
169
static
SkBenchmark
* Fact4(void* p) { return new BitmapBench(p, true, SkBitmap::kARGB_4444_Config); }
170
static
SkBenchmark
* Fact5(void* p) { return new BitmapBench(p, false, SkBitmap::kIndex8_Config); }
171
static
SkBenchmark
* Fact6(void* p) { return new BitmapBench(p, true, SkBitmap::kIndex8_Config);
[
all
...]
MatrixBench.cpp
1
#include "
SkBenchmark
.h"
6
class MatrixBench : public
SkBenchmark
{
31
typedef
SkBenchmark
INHERITED;
301
static
SkBenchmark
* M0(void* p) { return new EqualsMatrixBench(p); }
302
static
SkBenchmark
* M1(void* p) { return new ScaleMatrixBench(p); }
303
static
SkBenchmark
* M2(void* p) { return new FloatConcatMatrixBench(p); }
304
static
SkBenchmark
* M3(void* p) { return new FloatDoubleConcatMatrixBench(p); }
305
static
SkBenchmark
* M4(void* p) { return new DoubleConcatMatrixBench(p); }
314
static
SkBenchmark
* FlM0(void* p) { return new ScaleTransMixedMatrixBench(p); }
315
static
SkBenchmark
* FlM1(void* p) { return new ScaleTransDoubleMatrixBench(p);
[
all
...]
GradientBench.cpp
1
#include "
SkBenchmark
.h"
94
class GradientBench : public
SkBenchmark
{
139
typedef
SkBenchmark
INHERITED;
142
static
SkBenchmark
* Fact0(void* p) { return new GradientBench(p, kLinear_GradType); }
143
static
SkBenchmark
* Fact1(void* p) { return new GradientBench(p, kRadial_GradType); }
144
static
SkBenchmark
* Fact2(void* p) { return new GradientBench(p, kSweep_GradType); }
145
static
SkBenchmark
* Fact3(void* p) { return new GradientBench(p, kRadial2_GradType); }
Android.mk
18
SkBenchmark
.cpp \
benchmain.cpp
12
#include "
SkBenchmark
.h"
61
SkBenchmark
* next() {
372
SkBenchmark
* bench;
Completed in 42 milliseconds