| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 Google Inc. | 2 * Copyright 2010 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 "GrAtlas.h" | |
| 9 #include "GrGpu.h" | 8 #include "GrGpu.h" |
| 10 #include "GrRectanizer.h" | 9 #include "GrRectanizer.h" |
| 11 #include "GrTextStrike.h" | 10 #include "GrTextStrike.h" |
| 12 #include "GrTextStrike_impl.h" | 11 #include "GrTextStrike_impl.h" |
| 13 #include "SkString.h" | 12 #include "SkString.h" |
| 14 | 13 |
| 15 #include "SkDistanceFieldGen.h" | 14 #include "SkDistanceFieldGen.h" |
| 16 | 15 |
| 17 /////////////////////////////////////////////////////////////////////////////// | 16 /////////////////////////////////////////////////////////////////////////////// |
| 18 | 17 |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 glyph->height(), storage.get(), | 319 glyph->height(), storage.get(), |
| 321 &glyph->fAtlasLocation); | 320 &glyph->fAtlasLocation); |
| 322 | 321 |
| 323 if (NULL == plot) { | 322 if (NULL == plot) { |
| 324 return false; | 323 return false; |
| 325 } | 324 } |
| 326 | 325 |
| 327 glyph->fPlot = plot; | 326 glyph->fPlot = plot; |
| 328 return true; | 327 return true; |
| 329 } | 328 } |
| OLD | NEW |