Flutter Engine
The Flutter Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
SkGlyphCacheBench.h File Reference
#include "bench/Benchmark.h"
#include "include/core/SkStream.h"
#include "include/core/SkString.h"
#include <functional>
#include <memory>

Go to the source code of this file.

Functions

BenchmarkCreateDiffCanvasBench (SkString name, std::function< std::unique_ptr< SkStreamAsset >()> dataSrc)
 

Function Documentation

◆ CreateDiffCanvasBench()

Benchmark * CreateDiffCanvasBench ( SkString  name,
std::function< std::unique_ptr< SkStreamAsset >()>  dataSrc 
)

Definition at line 255 of file SkGlyphCacheBench.cpp.

256 {
257 return new DiffCanvasBench(std::move(name), std::move(dataSrc));
258}
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32