| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 | 8 |
| 9 /* Tests text rendering with LCD and subpixel rendering turned on and off. | 9 /* Tests text rendering with LCD and subpixel rendering turned on and off. |
| 10 */ | 10 */ |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 DrawText(surf->getCanvas()); | 164 DrawText(surf->getCanvas()); |
| 165 surf->draw(canvas, SkIntToScalar(i * (info.width() + 10)), 0, NULL); | 165 surf->draw(canvas, SkIntToScalar(i * (info.width() + 10)), 0, NULL); |
| 166 } | 166 } |
| 167 } | 167 } |
| 168 }; | 168 }; |
| 169 | 169 |
| 170 /////////////////////////////////////////////////////////////////////////////// | 170 /////////////////////////////////////////////////////////////////////////////// |
| 171 | 171 |
| 172 DEF_GM( return new LcdTextGM; ) | 172 DEF_GM( return new LcdTextGM; ) |
| 173 DEF_GM( return new LcdTextSizeGM; ) | 173 DEF_GM( return new LcdTextSizeGM; ) |
| 174 DEF_GM( return new LcdTextProps; ) | 174 // Temporarily disabled (dftext interference) |
| 175 // DEF_GM( return new LcdTextProps; ) |
| OLD | NEW |