OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 "SkData.h" | 10 #include "SkData.h" |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 this->testImage(canvas, image.get()); | 117 this->testImage(canvas, image.get()); |
118 } | 118 } |
119 canvas->translate(120, 0); | 119 canvas->translate(120, 0); |
120 } | 120 } |
121 } | 121 } |
122 | 122 |
123 private: | 123 private: |
124 typedef skiagm::GM INHERITED; | 124 typedef skiagm::GM INHERITED; |
125 }; | 125 }; |
126 DEF_GM( return new ImageShaderGM; ) | 126 DEF_GM( return new ImageShaderGM; ) |
127 | |
OLD | NEW |