| 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 "GrFontCache.h" | 
|    8 #include "GrGpu.h" |    9 #include "GrGpu.h" | 
|    9 #include "GrRectanizer.h" |   10 #include "GrRectanizer.h" | 
|   10 #include "GrSurfacePriv.h" |   11 #include "GrSurfacePriv.h" | 
|   11 #include "GrTextStrike.h" |  | 
|   12 #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  | 
|   19 #define GR_ATLAS_TEXTURE_WIDTH 1024 |   18 #define GR_ATLAS_TEXTURE_WIDTH 1024 | 
|   20 #define GR_ATLAS_TEXTURE_HEIGHT 2048 |   19 #define GR_ATLAS_TEXTURE_HEIGHT 2048 | 
|   21  |   20  | 
|   22 #define GR_PLOT_WIDTH  256 |   21 #define GR_PLOT_WIDTH  256 | 
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  336                                           glyph->width(), glyph->height(), |  335                                           glyph->width(), glyph->height(), | 
|  337                                           storage.get(), &glyph->fAtlasLocation)
     ; |  336                                           storage.get(), &glyph->fAtlasLocation)
     ; | 
|  338  |  337  | 
|  339     if (NULL == plot) { |  338     if (NULL == plot) { | 
|  340         return false; |  339         return false; | 
|  341     } |  340     } | 
|  342  |  341  | 
|  343     glyph->fPlot = plot; |  342     glyph->fPlot = plot; | 
|  344     return true; |  343     return true; | 
|  345 } |  344 } | 
| OLD | NEW |