OLD | NEW |
| 1 |
1 /* | 2 /* |
2 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
3 * | 4 * |
4 * 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 |
5 * found in the LICENSE file. | 6 * found in the LICENSE file. |
6 */ | 7 */ |
7 | |
8 #include "gm.h" | 8 #include "gm.h" |
9 | 9 |
10 #include "SkColorPriv.h" | 10 #include "SkColorPriv.h" |
11 #include "SkPath.h" | |
12 #include "SkShader.h" | 11 #include "SkShader.h" |
13 | 12 |
14 namespace skiagm { | 13 namespace skiagm { |
15 | 14 |
16 class BigMatrixGM : public GM { | 15 class BigMatrixGM : public GM { |
17 public: | 16 public: |
18 BigMatrixGM() { | 17 BigMatrixGM() { |
19 this->setBGColor(sk_tool_utils::color_to_565(0xFF66AA99)); | 18 this->setBGColor(sk_tool_utils::color_to_565(0xFF66AA99)); |
20 } | 19 } |
21 | 20 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 private: | 86 private: |
88 typedef GM INHERITED; | 87 typedef GM INHERITED; |
89 }; | 88 }; |
90 | 89 |
91 ////////////////////////////////////////////////////////////////////////////// | 90 ////////////////////////////////////////////////////////////////////////////// |
92 | 91 |
93 static GM* MyFactory(void*) { return new BigMatrixGM; } | 92 static GM* MyFactory(void*) { return new BigMatrixGM; } |
94 static GMRegistry reg(MyFactory); | 93 static GMRegistry reg(MyFactory); |
95 | 94 |
96 } | 95 } |
OLD | NEW |