OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 "gm.h" | 8 #include "gm.h" |
| 9 #include "SkBlurMaskFilter.h" |
9 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
| 11 #include "SkPath.h" |
10 #include "SkShader.h" | 12 #include "SkShader.h" |
11 #include "SkBlurMaskFilter.h" | |
12 | 13 |
13 namespace skiagm { | 14 namespace skiagm { |
14 | 15 |
15 /** | 16 /** |
16 * Stress test the GPU samplers by rendering a textured glyph with a mask and | 17 * Stress test the GPU samplers by rendering a textured glyph with a mask and |
17 * an AA clip | 18 * an AA clip |
18 */ | 19 */ |
19 class SamplerStressGM : public GM { | 20 class SamplerStressGM : public GM { |
20 public: | 21 public: |
21 SamplerStressGM() | 22 SamplerStressGM() |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 147 |
147 typedef GM INHERITED; | 148 typedef GM INHERITED; |
148 }; | 149 }; |
149 | 150 |
150 ////////////////////////////////////////////////////////////////////////////// | 151 ////////////////////////////////////////////////////////////////////////////// |
151 | 152 |
152 static GM* MyFactory(void*) { return new SamplerStressGM; } | 153 static GM* MyFactory(void*) { return new SamplerStressGM; } |
153 static GMRegistry reg(MyFactory); | 154 static GMRegistry reg(MyFactory); |
154 | 155 |
155 } | 156 } |
OLD | NEW |