aosp12/external/skia/bench/SkGlyphCacheBench.h

17 lines
518 B
C
Raw Permalink Normal View History

2023-01-09 17:11:35 +08:00
// 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