Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: src/gpu/GrAtlasTextContext.h

Issue 1225923010: Refugee from Dead Machine 4: MDB Monster Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Last update from dead machine Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/GrAtlas.cpp ('k') | src/gpu/GrAtlasTextContext.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/gpu/GrAtlas.cpp ('k') | src/gpu/GrAtlasTextContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698