| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * 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 |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "gm.h" | 8 #include "gm.h" |
| 9 | 9 |
| 10 #include "SkLightingShader.h" | 10 #include "SkLightingShader.h" |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 SkBitmap fDiffuse; | 178 SkBitmap fDiffuse; |
| 179 SkBitmap fNormalMaps[kNormalMapCount]; | 179 SkBitmap fNormalMaps[kNormalMapCount]; |
| 180 | 180 |
| 181 SkAutoTUnref<const SkLightingShader::Lights> fLights; | 181 SkAutoTUnref<const SkLightingShader::Lights> fLights; |
| 182 | 182 |
| 183 typedef GM INHERITED; | 183 typedef GM INHERITED; |
| 184 }; | 184 }; |
| 185 | 185 |
| 186 ////////////////////////////////////////////////////////////////////////////// | 186 ////////////////////////////////////////////////////////////////////////////// |
| 187 | 187 |
| 188 DEF_GM( return SkNEW(LightingShaderGM); ) | 188 DEF_GM(return new LightingShaderGM;) |
| 189 | |
| 190 } | 189 } |
| OLD | NEW |