Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Variables
PathTextBench.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/SkPath.h"
#include "src/base/SkRandom.h"
#include "src/core/SkStrike.h"
#include "src/core/SkStrikeCache.h"
#include "src/core/SkStrikeSpec.h"
#include "tools/ToolUtils.h"
#include "tools/fonts/FontToolUtils.h"

Go to the source code of this file.

Classes

class  PathTextBench
 

Variables

static constexpr int kScreenWidth = 1500
 
static constexpr int kScreenHeight = 1500
 
static constexpr int kNumDraws = 2000
 
static constexpr char kGlyphs [] = "ABCDEFGH7JKLMNOPQRSTUVWXYZabcdefghijk1mnopqrstuvwxyz"
 
static constexpr int kNumGlyphs = sizeof(kGlyphs) - 1
 

Variable Documentation

◆ kGlyphs

constexpr char kGlyphs[] = "ABCDEFGH7JKLMNOPQRSTUVWXYZabcdefghijk1mnopqrstuvwxyz"
staticconstexpr

Definition at line 26 of file PathTextBench.cpp.

◆ kNumDraws

constexpr int kNumDraws = 2000
staticconstexpr

Definition at line 23 of file PathTextBench.cpp.

◆ kNumGlyphs

constexpr int kNumGlyphs = sizeof(kGlyphs) - 1
staticconstexpr

Definition at line 27 of file PathTextBench.cpp.

◆ kScreenHeight

constexpr int kScreenHeight = 1500
staticconstexpr

Definition at line 21 of file PathTextBench.cpp.

◆ kScreenWidth

constexpr int kScreenWidth = 1500
staticconstexpr

Definition at line 20 of file PathTextBench.cpp.