Flutter Engine
The Flutter Engine
Macros
ParagraphBench.cpp File Reference
#include "bench/Benchmark.h"
#include "modules/skparagraph/include/FontCollection.h"
#include "modules/skparagraph/include/Paragraph.h"
#include "modules/skparagraph/src/ParagraphBuilderImpl.h"
#include "modules/skparagraph/src/ParagraphImpl.h"
#include "tools/Resources.h"
#include "tools/fonts/FontToolUtils.h"
#include <cfloat>
#include "include/core/SkPictureRecorder.h"
#include "modules/skparagraph/utils/TestFontCollection.h"

Go to the source code of this file.

Macros

#define PARAGRAPH_BENCH(X)   DEF_BENCH(return new ParagraphBench(50000, "text/" #X ".txt", "paragraph_" #X);)
 

Macro Definition Documentation

◆ PARAGRAPH_BENCH

#define PARAGRAPH_BENCH (   X)    DEF_BENCH(return new ParagraphBench(50000, "text/" #X ".txt", "paragraph_" #X);)

Definition at line 59 of file ParagraphBench.cpp.