| 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 #ifndef GrAtlasTextContext_DEFINED | 8 #ifndef GrAtlasTextContext_DEFINED |
| 9 #define GrAtlasTextContext_DEFINED | 9 #define GrAtlasTextContext_DEFINED |
| 10 | 10 |
| 11 #include "GrAtlasTextBlob.h" | 11 #include "GrAtlasTextBlob.h" |
| 12 #include "GrDistanceFieldAdjustTable.h" | 12 #include "GrDistanceFieldAdjustTable.h" |
| 13 #include "GrGeometryProcessor.h" | 13 #include "GrGeometryProcessor.h" |
| 14 #include "SkTextBlobRunIterator.h" | 14 #include "SkTextBlobRunIterator.h" |
| 15 | 15 |
| 16 #ifdef GR_TEST_UTILS | 16 #ifdef GR_TEST_UTILS |
| 17 #include "GrBatchTest.h" | 17 #include "GrBatchTest.h" |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 class GrDrawBatch; | 20 class GrDrawBatch; |
| 21 class GrDrawContext; | 21 class GrDrawContext; |
| 22 class GrDrawTarget; | |
| 23 class GrPipelineBuilder; | 22 class GrPipelineBuilder; |
| 24 class GrTextBlobCache; | 23 class GrTextBlobCache; |
| 25 class SkGlyph; | 24 class SkGlyph; |
| 26 | 25 |
| 27 /* | 26 /* |
| 28 * Renders text using some kind of an atlas, ie BitmapText or DistanceField text | 27 * Renders text using some kind of an atlas, ie BitmapText or DistanceField text |
| 29 */ | 28 */ |
| 30 class GrAtlasTextContext { | 29 class GrAtlasTextContext { |
| 31 public: | 30 public: |
| 32 static GrAtlasTextContext* Create(); | 31 static GrAtlasTextContext* Create(); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 SkAutoTUnref<const GrDistanceFieldAdjustTable> fDistanceAdjustTable; | 89 SkAutoTUnref<const GrDistanceFieldAdjustTable> fDistanceAdjustTable; |
| 91 | 90 |
| 92 #ifdef GR_TEST_UTILS | 91 #ifdef GR_TEST_UTILS |
| 93 static const uint32_t kTextBlobBatchScalerContextFlags = | 92 static const uint32_t kTextBlobBatchScalerContextFlags = |
| 94 SkPaint::kFakeGammaAndBoostContrast_ScalerContextFlags; | 93 SkPaint::kFakeGammaAndBoostContrast_ScalerContextFlags; |
| 95 DRAW_BATCH_TEST_FRIEND(TextBlobBatch); | 94 DRAW_BATCH_TEST_FRIEND(TextBlobBatch); |
| 96 #endif | 95 #endif |
| 97 }; | 96 }; |
| 98 | 97 |
| 99 #endif | 98 #endif |
| OLD | NEW |