Flutter Engine
The Flutter Engine
Classes | Macros | Variables
BlendmodeBench.cpp File Reference
#include "bench/Benchmark.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkFont.h"
#include "include/core/SkPaint.h"
#include "include/core/SkString.h"
#include "include/core/SkTextBlob.h"
#include "src/base/SkRandom.h"
#include "src/core/SkBlendModePriv.h"
#include "tools/DecodeUtils.h"
#include "tools/Resources.h"
#include "tools/fonts/FontToolUtils.h"

Go to the source code of this file.

Classes

class  XfermodeBench
 

Macros

#define BENCH(mode)
 

Variables

const char * gTypeNames []
 

Macro Definition Documentation

◆ BENCH

#define BENCH (   mode)
Value:
DEF_BENCH( return new XfermodeBench(mode, kText); ) \
DEF_BENCH( return new XfermodeBench(mode, kRect); ) \
DEF_BENCH( return new XfermodeBench(mode, kSprite); )
#define DEF_BENCH(code)
Definition: Benchmark.h:20
constexpr char kText[]
Definition: glyph_pos.cpp:28
constexpr std::array< std::array< float, 2 >, 2 > kRect
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive mode
Definition: switches.h:228

Definition at line 110 of file BlendmodeBench.cpp.

Variable Documentation

◆ gTypeNames

const char* gTypeNames[]
Initial value:
= {
"mask", "rect", "sprite",
}

Definition at line 28 of file BlendmodeBench.cpp.