| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 #include "gm.h" | 8 #include "gm.h" |
| 9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
| 10 #include "SkPath.h" |
| 10 #include "SkRandom.h" | 11 #include "SkRandom.h" |
| 11 #include "SkShader.h" | 12 #include "SkShader.h" |
| 12 #include "SkXfermode.h" | 13 #include "SkXfermode.h" |
| 13 | 14 |
| 14 namespace skiagm { | 15 namespace skiagm { |
| 15 | 16 |
| 16 /** | 17 /** |
| 17 * Renders overlapping shapes with colorburn against a checkerboard. | 18 * Renders overlapping shapes with colorburn against a checkerboard. |
| 18 */ | 19 */ |
| 19 class DstReadShuffle : public GM { | 20 class DstReadShuffle : public GM { |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 static const int kHeight = 400; | 188 static const int kHeight = 400; |
| 188 typedef GM INHERITED; | 189 typedef GM INHERITED; |
| 189 }; | 190 }; |
| 190 | 191 |
| 191 ////////////////////////////////////////////////////////////////////////////// | 192 ////////////////////////////////////////////////////////////////////////////// |
| 192 | 193 |
| 193 static GM* MyFactory(void*) { return new DstReadShuffle; } | 194 static GM* MyFactory(void*) { return new DstReadShuffle; } |
| 194 static GMRegistry reg(MyFactory); | 195 static GMRegistry reg(MyFactory); |
| 195 | 196 |
| 196 } | 197 } |
| OLD | NEW |