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