OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 "SkColorPriv.h" | 8 #include "SkColorPriv.h" |
10 #include "SkShader.h" | 9 #include "SkShader.h" |
11 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 private: | 53 private: |
55 typedef GM INHERITED; | 54 typedef GM INHERITED; |
56 }; | 55 }; |
57 | 56 |
58 ////////////////////////////////////////////////////////////////////////////// | 57 ////////////////////////////////////////////////////////////////////////////// |
59 | 58 |
60 static GM* MyFactory(void*) { return new TinyBitmapGM; } | 59 static GM* MyFactory(void*) { return new TinyBitmapGM; } |
61 static GMRegistry reg(MyFactory); | 60 static GMRegistry reg(MyFactory); |
62 | 61 |
63 } | 62 } |
OLD | NEW |