Flutter Engine
The Flutter Engine
Classes | Macros | Enumerations | Variables
MorphologyBench.cpp File Reference
#include "bench/Benchmark.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkPaint.h"
#include "include/core/SkShader.h"
#include "include/core/SkString.h"
#include "include/effects/SkImageFilters.h"
#include "src/base/SkRandom.h"

Go to the source code of this file.

Classes

class  MorphologyBench
 

Macros

#define SMALL   SkIntToScalar(2)
 
#define REAL   1.5f
 
#define BIG   SkIntToScalar(10)
 

Enumerations

enum  MorphologyType { kErode_MT , kDilate_MT }
 

Variables

static const char * gStyleName []
 

Macro Definition Documentation

◆ BIG

#define BIG   SkIntToScalar(10)

Definition at line 18 of file MorphologyBench.cpp.

◆ REAL

#define REAL   1.5f

Definition at line 17 of file MorphologyBench.cpp.

◆ SMALL

#define SMALL   SkIntToScalar(2)

Definition at line 16 of file MorphologyBench.cpp.

Enumeration Type Documentation

◆ MorphologyType

Enumerator
kErode_MT 
kDilate_MT 

Definition at line 20 of file MorphologyBench.cpp.

20 {
23};
@ kErode_MT
@ kDilate_MT

Variable Documentation

◆ gStyleName

const char* gStyleName[]
static
Initial value:
= {
"erode",
"dilate"
}

Definition at line 25 of file MorphologyBench.cpp.