1cb93a386Sopenharmony_ci// Copyright 2019 Google LLC. 2cb93a386Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. 3cb93a386Sopenharmony_ci#ifndef SkGlyphCacheBench_DEFINED 4cb93a386Sopenharmony_ci#define SkGlyphCacheBench_DEFINED 5cb93a386Sopenharmony_ci 6cb93a386Sopenharmony_ci#include "bench/Benchmark.h" 7cb93a386Sopenharmony_ci#include "include/core/SkStream.h" 8cb93a386Sopenharmony_ci#include "include/core/SkString.h" 9cb93a386Sopenharmony_ci 10cb93a386Sopenharmony_ci#include <functional> 11cb93a386Sopenharmony_ci#include <memory> 12cb93a386Sopenharmony_ci 13cb93a386Sopenharmony_ciBenchmark* CreateDiffCanvasBench(SkString name, 14cb93a386Sopenharmony_ci std::function<std::unique_ptr<SkStreamAsset>()> dataSrc); 15cb93a386Sopenharmony_ci 16cb93a386Sopenharmony_ci#endif // SkGlyphCacheBench_DEFINED 17