OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Intel Inc. | 2 * Copyright 2012 Intel 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 #include "gm.h" | 7 #include "gm.h" |
8 #include "SkBlurDrawLooper.h" | 8 #include "SkBlurDrawLooper.h" |
9 #include "SkBlurMask.h" | 9 #include "SkBlurMask.h" |
10 #include "SkBlurMaskFilter.h" | 10 #include "SkBlurMaskFilter.h" |
| 11 #include "SkColorFilter.h" |
11 #include "SkGradientShader.h" | 12 #include "SkGradientShader.h" |
12 #include "SkMatrix.h" | 13 #include "SkMatrix.h" |
13 #include "SkRandom.h" | 14 #include "SkRandom.h" |
14 #include "SkTArray.h" | 15 #include "SkTArray.h" |
15 | 16 |
16 namespace skiagm { | 17 namespace skiagm { |
17 | 18 |
18 class CircleGM : public GM { | 19 class CircleGM : public GM { |
19 public: | 20 public: |
20 CircleGM() { | 21 CircleGM() { |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 SkTArray<SkPaint> fPaints; | 201 SkTArray<SkPaint> fPaints; |
201 SkTArray<SkMatrix> fMatrices; | 202 SkTArray<SkMatrix> fMatrices; |
202 }; | 203 }; |
203 | 204 |
204 ////////////////////////////////////////////////////////////////////////////// | 205 ////////////////////////////////////////////////////////////////////////////// |
205 | 206 |
206 static GM* MyFactory(void*) { return new CircleGM; } | 207 static GM* MyFactory(void*) { return new CircleGM; } |
207 static GMRegistry reg(MyFactory); | 208 static GMRegistry reg(MyFactory); |
208 | 209 |
209 } | 210 } |
OLD | NEW |