OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 #include "gm.h" | 7 #include "gm.h" |
9 #include "SkGradientShader.h" | 8 #include "SkGradientShader.h" |
10 | 9 |
11 using namespace skiagm; | 10 using namespace skiagm; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 } | 90 } |
92 | 91 |
93 private: | 92 private: |
94 typedef GM INHERITED; | 93 typedef GM INHERITED; |
95 }; | 94 }; |
96 | 95 |
97 /////////////////////////////////////////////////////////////////////////////// | 96 /////////////////////////////////////////////////////////////////////////////// |
98 | 97 |
99 static GM* MyFactory(void*) { return new GradientsGM; } | 98 static GM* MyFactory(void*) { return new GradientsGM; } |
100 static GMRegistry reg(MyFactory); | 99 static GMRegistry reg(MyFactory); |
OLD | NEW |