| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 "SkCanvas.h" | 9 #include "SkCanvas.h" |
| 10 #include "SkColorFilter.h" | 10 #include "SkColorFilter.h" |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 } | 190 } |
| 191 } | 191 } |
| 192 | 192 |
| 193 private: | 193 private: |
| 194 SkBitmap fCheckerboard; | 194 SkBitmap fCheckerboard; |
| 195 typedef GM INHERITED; | 195 typedef GM INHERITED; |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 /////////////////////////////////////////////////////////////////////////////// | 198 /////////////////////////////////////////////////////////////////////////////// |
| 199 | 199 |
| 200 static skiagm::GM* MyFactory(void*) { return new ImageFiltersCroppedGM; } | 200 DEF_GM( return new ImageFiltersCroppedGM; ) |
| 201 static skiagm::GMRegistry reg(MyFactory); | |
| OLD | NEW |