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

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

Issue 659993003: Revert of Change drawText() to generate positions and send to drawPosText() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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 | « expectations/gm/ignored-tests.txt ('k') | src/gpu/GrBitmapTextContext.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 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 static const SkScalar kMag2Max = kMaxSize * kMaxSize; 1095 static const SkScalar kMag2Max = kMaxSize * kMaxSize;
1096 return kMag2Max; 1096 return kMag2Max;
1097 } 1097 }
1098 1098
1099 friend class SkAutoGlyphCache; 1099 friend class SkAutoGlyphCache;
1100 friend class SkAutoGlyphCacheNoGamma; 1100 friend class SkAutoGlyphCacheNoGamma;
1101 friend class SkCanvas; 1101 friend class SkCanvas;
1102 friend class SkDraw; 1102 friend class SkDraw;
1103 friend class SkGraphics; // So Term() can be called. 1103 friend class SkGraphics; // So Term() can be called.
1104 friend class SkPDFDevice; 1104 friend class SkPDFDevice;
1105 friend class GrTextContext;
1106 friend class GrBitmapTextContext; 1105 friend class GrBitmapTextContext;
1107 friend class GrDistanceFieldTextContext; 1106 friend class GrDistanceFieldTextContext;
1108 friend class GrStencilAndCoverTextContext; 1107 friend class GrStencilAndCoverTextContext;
1109 friend class GrPathRendering; 1108 friend class GrPathRendering;
1110 friend class GrGLPathRendering; 1109 friend class GrGLPathRendering;
1111 friend class SkTextToPathIter; 1110 friend class SkTextToPathIter;
1112 friend class SkCanonicalizePaint; 1111 friend class SkCanonicalizePaint;
1113 1112
1114 #ifdef SK_BUILD_FOR_ANDROID 1113 #ifdef SK_BUILD_FOR_ANDROID
1115 // In order for the == operator to work properly this must be the last field 1114 // In order for the == operator to work properly this must be the last field
1116 // in the struct so that we can do a memcmp to this field's offset. 1115 // in the struct so that we can do a memcmp to this field's offset.
1117 uint32_t fGenerationID; 1116 uint32_t fGenerationID;
1118 #endif 1117 #endif
1119 }; 1118 };
1120 1119
1121 #endif 1120 #endif
OLDNEW
« no previous file with comments | « expectations/gm/ignored-tests.txt ('k') | src/gpu/GrBitmapTextContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698