Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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}
const char * name
Definition fuchsia.cc:50