| 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 "SkTArray.h" | 9 #include "SkTArray.h" |
| 10 #include "SkRandom.h" | 10 #include "SkRandom.h" |
| 11 #include "SkMatrix.h" | 11 #include "SkMatrix.h" |
| 12 #include "SkBlurMaskFilter.h" | 12 #include "SkBlurMaskFilter.h" |
| 13 #include "SkColorFilter.h" |
| 13 #include "SkGradientShader.h" | 14 #include "SkGradientShader.h" |
| 14 #include "SkBlurDrawLooper.h" | 15 #include "SkBlurDrawLooper.h" |
| 15 #include "SkRect.h" | 16 #include "SkRect.h" |
| 16 | 17 |
| 17 namespace skiagm { | 18 namespace skiagm { |
| 18 | 19 |
| 19 class OvalGM : public GM { | 20 class OvalGM : public GM { |
| 20 public: | 21 public: |
| 21 OvalGM() { | 22 OvalGM() { |
| 22 this->setBGColor(0xFF000000); | 23 this->setBGColor(0xFF000000); |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 | 275 |
| 275 typedef GM INHERITED; | 276 typedef GM INHERITED; |
| 276 }; | 277 }; |
| 277 | 278 |
| 278 ////////////////////////////////////////////////////////////////////////////// | 279 ////////////////////////////////////////////////////////////////////////////// |
| 279 | 280 |
| 280 static GM* MyFactory(void*) { return new OvalGM; } | 281 static GM* MyFactory(void*) { return new OvalGM; } |
| 281 static GMRegistry reg(MyFactory); | 282 static GMRegistry reg(MyFactory); |
| 282 | 283 |
| 283 } | 284 } |
| OLD | NEW |