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

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

Issue 1244093004: Remove some fields from BitmapTextBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: friendship Created 5 years, 5 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/GrBatchFontCache.cpp ('k') | no next file » | 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 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 #ifndef GrTextContext_DEFINED 8 #ifndef GrTextContext_DEFINED
9 #define GrTextContext_DEFINED 9 #define GrTextContext_DEFINED
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const char text[], size_t byteLength, 75 const char text[], size_t byteLength,
76 const SkScalar pos[], int scalarsPerPosition, 76 const SkScalar pos[], int scalarsPerPosition,
77 const SkPoint& offset, const SkIRect& clipBounds); 77 const SkPoint& offset, const SkIRect& clipBounds);
78 78
79 static GrFontScaler* GetGrFontScaler(SkGlyphCache* cache); 79 static GrFontScaler* GetGrFontScaler(SkGlyphCache* cache);
80 // sets extent in stopVector and returns glyph count 80 // sets extent in stopVector and returns glyph count
81 static int MeasureText(SkGlyphCache* cache, SkDrawCacheProc glyphCacheProc, 81 static int MeasureText(SkGlyphCache* cache, SkDrawCacheProc glyphCacheProc,
82 const char text[], size_t byteLength, SkVector* stopV ector); 82 const char text[], size_t byteLength, SkVector* stopV ector);
83 static uint32_t FilterTextFlags(const SkSurfaceProps& surfaceProps, const Sk Paint& paint); 83 static uint32_t FilterTextFlags(const SkSurfaceProps& surfaceProps, const Sk Paint& paint);
84 84
85 friend class BitmapTextBatch; 85 friend class TextBatch;
86 }; 86 };
87 87
88 #endif 88 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrBatchFontCache.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698