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 | 8 |
10 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
11 #include "SkPaint.h" | 10 #include "SkPaint.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 103 |
105 typedef GM INHERITED; | 104 typedef GM INHERITED; |
106 }; | 105 }; |
107 | 106 |
108 ////////////////////////////////////////////////////////////////////////////// | 107 ////////////////////////////////////////////////////////////////////////////// |
109 | 108 |
110 static GM* MyFactory(void*) { return new BitmapShaderGM; } | 109 static GM* MyFactory(void*) { return new BitmapShaderGM; } |
111 static GMRegistry reg(MyFactory); | 110 static GMRegistry reg(MyFactory); |
112 | 111 |
113 } | 112 } |
OLD | NEW |