skia2/bench/SkGlyphCacheBench.h
Hal Canary 5dfefa2452 nanobench: option to execute directory of TextBlobTraces as benches
Follow on to https://review.skia.org/250259

Change-Id: I794a59dd8227042423c094bd5f7825cfa27da94c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/250756
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2019-10-25 13:28:49 +00:00

17 lines
518 B
C++

// Copyright 2019 Google LLC.
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#ifndef SkGlyphCacheBench_DEFINED
#define SkGlyphCacheBench_DEFINED
#include "bench/Benchmark.h"
#include "include/core/SkStream.h"
#include "include/core/SkString.h"
#include <functional>
#include <memory>
Benchmark* CreateDiffCanvasBench(SkString name,
std::function<std::unique_ptr<SkStreamAsset>()> dataSrc);
#endif // SkGlyphCacheBench_DEFINED