Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: bench/FontCacheBench.cpp

Issue 803733006: Cleanup: Remove a bunch of SkFontHost.h includes (unused). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | bench/ShaderMaskBench.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "Benchmark.h" 8 #include "Benchmark.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkChecksum.h" 10 #include "SkChecksum.h"
11 #include "SkFontHost.h"
12 #include "SkPaint.h" 11 #include "SkPaint.h"
13 #include "SkString.h" 12 #include "SkString.h"
14 #include "SkTemplates.h" 13 #include "SkTemplates.h"
15 14
16 #include "gUniqueGlyphIDs.h" 15 #include "gUniqueGlyphIDs.h"
17 #define gUniqueGlyphIDs_Sentinel 0xFFFF 16 #define gUniqueGlyphIDs_Sentinel 0xFFFF
18 17
19 static int count_glyphs(const uint16_t start[]) { 18 static int count_glyphs(const uint16_t start[]) {
20 const uint16_t* curr = start; 19 const uint16_t* curr = start;
21 while (*curr != gUniqueGlyphIDs_Sentinel) { 20 while (*curr != gUniqueGlyphIDs_Sentinel) {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 private: 138 private:
140 typedef Benchmark INHERITED; 139 typedef Benchmark INHERITED;
141 }; 140 };
142 141
143 /////////////////////////////////////////////////////////////////////////////// 142 ///////////////////////////////////////////////////////////////////////////////
144 143
145 DEF_BENCH( return new FontCacheBench(); ) 144 DEF_BENCH( return new FontCacheBench(); )
146 145
147 // undefine this to run the efficiency test 146 // undefine this to run the efficiency test
148 //DEF_BENCH( return new FontCacheEfficiency(); ) 147 //DEF_BENCH( return new FontCacheEfficiency(); )
OLDNEW
« no previous file with comments | « no previous file | bench/ShaderMaskBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698