OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 #include "Benchmark.h" | 8 #include "Benchmark.h" |
10 #include "Resources.h" | 9 #include "Resources.h" |
11 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 private: | 65 private: |
67 | 66 |
68 SkAutoTUnref<const SkTextBlob> fBlob; | 67 SkAutoTUnref<const SkTextBlob> fBlob; |
69 SkTDArray<uint16_t> fGlyphs; | 68 SkTDArray<uint16_t> fGlyphs; |
70 SkAutoTUnref<SkTypeface> fTypeface; | 69 SkAutoTUnref<SkTypeface> fTypeface; |
71 | 70 |
72 typedef Benchmark INHERITED; | 71 typedef Benchmark INHERITED; |
73 }; | 72 }; |
74 | 73 |
75 DEF_BENCH( return new TextBlobBench(); ) | 74 DEF_BENCH( return new TextBlobBench(); ) |
OLD | NEW |