OLD | NEW |
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 "gm.h" | 8 #include "gm.h" |
9 #include "SkBlurDrawLooper.h" | 9 #include "SkBlurDrawLooper.h" |
10 #include "SkBlurMask.h" | 10 #include "SkBlurMask.h" |
11 #include "SkBlurMaskFilter.h" | 11 #include "SkBlurMaskFilter.h" |
| 12 #include "SkColorFilter.h" |
12 #include "SkGradientShader.h" | 13 #include "SkGradientShader.h" |
13 #include "SkMatrix.h" | 14 #include "SkMatrix.h" |
14 #include "SkTArray.h" | 15 #include "SkTArray.h" |
15 | 16 |
16 namespace skiagm { | 17 namespace skiagm { |
17 | 18 |
18 class RectsGM : public GM { | 19 class RectsGM : public GM { |
19 public: | 20 public: |
20 RectsGM() { | 21 RectsGM() { |
21 this->setBGColor(0xFF000000); | 22 this->setBGColor(0xFF000000); |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 | 280 |
280 typedef GM INHERITED; | 281 typedef GM INHERITED; |
281 }; | 282 }; |
282 | 283 |
283 ////////////////////////////////////////////////////////////////////////////// | 284 ////////////////////////////////////////////////////////////////////////////// |
284 | 285 |
285 static GM* MyFactory(void*) { return new RectsGM; } | 286 static GM* MyFactory(void*) { return new RectsGM; } |
286 static GMRegistry reg(MyFactory); | 287 static GMRegistry reg(MyFactory); |
287 | 288 |
288 } | 289 } |
OLD | NEW |