| 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 | 
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 75     inline void flushRunAsPaths(GrDrawContext*, GrRenderTarget*, | 75     inline void flushRunAsPaths(GrDrawContext*, GrRenderTarget*, | 
| 76                                 const SkTextBlobRunIterator&, const GrClip& clip
     , | 76                                 const SkTextBlobRunIterator&, const GrClip& clip
     , | 
| 77                                 const SkPaint&, SkDrawFilter*, | 77                                 const SkPaint&, SkDrawFilter*, | 
| 78                                 const SkMatrix& viewMatrix, const SkIRect& clipB
     ounds, SkScalar x, | 78                                 const SkMatrix& viewMatrix, const SkIRect& clipB
     ounds, SkScalar x, | 
| 79                                 SkScalar y); | 79                                 SkScalar y); | 
| 80     inline GrDrawBatch* createBatch(GrAtlasTextBlob*, const PerSubRunInfo&, | 80     inline GrDrawBatch* createBatch(GrAtlasTextBlob*, const PerSubRunInfo&, | 
| 81                                     int glyphCount, int run, int subRun, | 81                                     int glyphCount, int run, int subRun, | 
| 82                                     GrColor, SkScalar transX, SkScalar transY, | 82                                     GrColor, SkScalar transX, SkScalar transY, | 
| 83                                     const SkPaint&); | 83                                     const SkPaint&); | 
| 84     inline void flushRun(GrDrawContext*, GrPipelineBuilder*, GrAtlasTextBlob*, i
     nt run, GrColor, | 84     inline void flushRun(GrDrawContext*, GrPipelineBuilder*, GrAtlasTextBlob*, i
     nt run, GrColor, | 
| 85                          SkScalar transX, SkScalar transY, const SkPaint&); | 85                          SkScalar transX, SkScalar transY, const SkPaint&, GrRen
     derTarget* rt); | 
| 86     inline void flushBigGlyphs(GrAtlasTextBlob* cacheBlob, GrDrawContext*, GrRen
     derTarget*, | 86     inline void flushBigGlyphs(GrAtlasTextBlob* cacheBlob, GrDrawContext*, GrRen
     derTarget*, | 
| 87                                const GrClip& clip, const SkPaint& skPaint, | 87                                const GrClip& clip, const SkPaint& skPaint, | 
| 88                                SkScalar transX, SkScalar transY, const SkIRect& 
     clipBounds); | 88                                SkScalar transX, SkScalar transY, const SkIRect& 
     clipBounds); | 
| 89 | 89 | 
| 90     // We have to flush SkTextBlobs differently from drawText / drawPosText | 90     // We have to flush SkTextBlobs differently from drawText / drawPosText | 
| 91     void flush(const SkTextBlob*, GrAtlasTextBlob*, GrDrawContext*, GrRenderTarg
     et*, | 91     void flush(const SkTextBlob*, GrAtlasTextBlob*, GrDrawContext*, GrRenderTarg
     et*, | 
| 92                const SkPaint&, const GrPaint&, SkDrawFilter*, const GrClip&, | 92                const SkPaint&, const GrPaint&, SkDrawFilter*, const GrClip&, | 
| 93                const SkMatrix& viewMatrix, const SkIRect& clipBounds, SkScalar x
     , SkScalar y, | 93                const SkMatrix& viewMatrix, const SkIRect& clipBounds, SkScalar x
     , SkScalar y, | 
| 94                SkScalar transX, SkScalar transY); | 94                SkScalar transX, SkScalar transY); | 
| 95     void flush(GrAtlasTextBlob*, GrDrawContext*, GrRenderTarget*, const SkPaint&
     , | 95     void flush(GrAtlasTextBlob*, GrDrawContext*, GrRenderTarget*, const SkPaint&
     , | 
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 187     friend class TextBatch; | 187     friend class TextBatch; | 
| 188 | 188 | 
| 189 #ifdef GR_TEST_UTILS | 189 #ifdef GR_TEST_UTILS | 
| 190     DRAW_BATCH_TEST_FRIEND(TextBlobBatch); | 190     DRAW_BATCH_TEST_FRIEND(TextBlobBatch); | 
| 191 #endif | 191 #endif | 
| 192 | 192 | 
| 193     typedef GrTextContext INHERITED; | 193     typedef GrTextContext INHERITED; | 
| 194 }; | 194 }; | 
| 195 | 195 | 
| 196 #endif | 196 #endif | 
| OLD | NEW | 
|---|