OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2015 Google Inc. | 3 * Copyright 2015 Google Inc. |
4 * | 4 * |
5 * 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 |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 // This test only works with the GPU backend. | 9 // This test only works with the GPU backend. |
10 | 10 |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 static const SkScalar kRectSize; | 185 static const SkScalar kRectSize; |
186 static const int kWidth = 820; | 186 static const int kWidth = 820; |
187 static const int kHeight = 500; | 187 static const int kHeight = 500; |
188 | 188 |
189 typedef GM INHERITED; | 189 typedef GM INHERITED; |
190 }; | 190 }; |
191 | 191 |
192 const SkScalar ConstColorProcessor::kPad = 10.f; | 192 const SkScalar ConstColorProcessor::kPad = 10.f; |
193 const SkScalar ConstColorProcessor::kRectSize = 20.f; | 193 const SkScalar ConstColorProcessor::kRectSize = 20.f; |
194 | 194 |
195 DEF_GM( return SkNEW(ConstColorProcessor); ) | 195 DEF_GM(return new ConstColorProcessor;) |
196 } | 196 } |
197 | 197 |
198 #endif | 198 #endif |
OLD | NEW |