| 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" | |
| 11 #include "SkRandom.h" | 10 #include "SkRandom.h" |
| 12 #include "SkShader.h" | 11 #include "SkShader.h" |
| 13 #include "SkXfermode.h" | 12 #include "SkXfermode.h" |
| 14 | 13 |
| 15 namespace skiagm { | 14 namespace skiagm { |
| 16 | 15 |
| 17 /** | 16 /** |
| 18 * Renders overlapping shapes with colorburn against a checkerboard. | 17 * Renders overlapping shapes with colorburn against a checkerboard. |
| 19 */ | 18 */ |
| 20 class DstReadShuffle : public GM { | 19 class DstReadShuffle : public GM { |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 static const int kHeight = 400; | 187 static const int kHeight = 400; |
| 189 typedef GM INHERITED; | 188 typedef GM INHERITED; |
| 190 }; | 189 }; |
| 191 | 190 |
| 192 ////////////////////////////////////////////////////////////////////////////// | 191 ////////////////////////////////////////////////////////////////////////////// |
| 193 | 192 |
| 194 static GM* MyFactory(void*) { return new DstReadShuffle; } | 193 static GM* MyFactory(void*) { return new DstReadShuffle; } |
| 195 static GMRegistry reg(MyFactory); | 194 static GMRegistry reg(MyFactory); |
| 196 | 195 |
| 197 } | 196 } |
| OLD | NEW |