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

Side by Side Diff: include/core/SkPaint.h

Issue 1551563003: Reland of Make draw* lines responsible for cache management (Closed) Base URL: https://skia.googlesource.com/skia.git@cleanuptext13reallytexutilsdf
Patch Set: Created 4 years, 12 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 | « no previous file | src/gpu/text/GrAtlasTextBlob.h » ('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 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 SkPaint_DEFINED 8 #ifndef SkPaint_DEFINED
9 #define SkPaint_DEFINED 9 #define SkPaint_DEFINED
10 10
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 static const SkScalar kMaxSize = SkIntToScalar(kMaxSizeForGlyphCache); 1082 static const SkScalar kMaxSize = SkIntToScalar(kMaxSizeForGlyphCache);
1083 static const SkScalar kMag2Max = kMaxSize * kMaxSize; 1083 static const SkScalar kMag2Max = kMaxSize * kMaxSize;
1084 return kMag2Max; 1084 return kMag2Max;
1085 } 1085 }
1086 1086
1087 friend class SkAutoGlyphCache; 1087 friend class SkAutoGlyphCache;
1088 friend class SkAutoGlyphCacheNoGamma; 1088 friend class SkAutoGlyphCacheNoGamma;
1089 friend class SkCanvas; 1089 friend class SkCanvas;
1090 friend class SkDraw; 1090 friend class SkDraw;
1091 friend class SkPDFDevice; 1091 friend class SkPDFDevice;
1092 friend class GrBitmapTextContext; 1092 friend class GrAtlasTextBlob;
1093 friend class GrAtlasTextContext; 1093 friend class GrAtlasTextContext;
1094 friend class GrDistanceFieldTextContext;
1095 friend class GrStencilAndCoverTextContext; 1094 friend class GrStencilAndCoverTextContext;
1096 friend class GrPathRendering; 1095 friend class GrPathRendering;
1097 friend class GrTextUtils; 1096 friend class GrTextUtils;
1098 friend class GrGLPathRendering; 1097 friend class GrGLPathRendering;
1099 friend class SkScalerContext; 1098 friend class SkScalerContext;
1100 friend class SkTextToPathIter; 1099 friend class SkTextToPathIter;
1101 friend class SkCanonicalizePaint; 1100 friend class SkCanonicalizePaint;
1102 }; 1101 };
1103 1102
1104 #endif 1103 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/text/GrAtlasTextBlob.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698