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 #include "GrAtlasTextContext.h" | 7 #include "GrAtlasTextContext.h" |
8 | 8 |
9 #include "GrDrawContext.h" | 9 #include "GrDrawContext.h" |
10 #include "GrDrawTarget.h" | 10 #include "GrDrawTarget.h" |
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 | 813 |
814 SkScalar transX = static_cast<SkScalar>(random->nextU()); | 814 SkScalar transX = static_cast<SkScalar>(random->nextU()); |
815 SkScalar transY = static_cast<SkScalar>(random->nextU()); | 815 SkScalar transY = static_cast<SkScalar>(random->nextU()); |
816 const GrAtlasTextBlob::Run::SubRunInfo& info = blob->fRuns[0].fSubRunInfo[0]
; | 816 const GrAtlasTextBlob::Run::SubRunInfo& info = blob->fRuns[0].fSubRunInfo[0]
; |
817 return blob->createBatch(info, textLen, 0, 0, color, transX, transY, skPaint
, | 817 return blob->createBatch(info, textLen, 0, 0, color, transX, transY, skPaint
, |
818 gSurfaceProps, gTextContext->dfAdjustTable(), | 818 gSurfaceProps, gTextContext->dfAdjustTable(), |
819 context->getBatchFontCache()); | 819 context->getBatchFontCache()); |
820 } | 820 } |
821 | 821 |
822 #endif | 822 #endif |
OLD | NEW |