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

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

Issue 1473973003: Obtain conic weights for GrPath cache keys from SkPathRef Base URL: https://skia.googlesource.com/skia.git@path-cache-fix-conic-weights
Patch Set: remove runtime consistency checks of internal values Created 5 years 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/GrPath.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 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 SkPath_DEFINED 8 #ifndef SkPath_DEFINED
9 #define SkPath_DEFINED 9 #define SkPath_DEFINED
10 10
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 SkPathRef::Editor ed(&fPathRef); 1074 SkPathRef::Editor ed(&fPathRef);
1075 1075
1076 ed.setBounds(rect); 1076 ed.setBounds(rect);
1077 } 1077 }
1078 1078
1079 void setPt(int index, SkScalar x, SkScalar y); 1079 void setPt(int index, SkScalar x, SkScalar y);
1080 1080
1081 friend class SkAutoPathBoundsUpdate; 1081 friend class SkAutoPathBoundsUpdate;
1082 friend class SkAutoDisableOvalCheck; 1082 friend class SkAutoDisableOvalCheck;
1083 friend class SkAutoDisableDirectionCheck; 1083 friend class SkAutoDisableDirectionCheck;
1084 friend class GrPath; // For fPathRef conic weights.
1084 friend class SkBench_AddPathTest; // perf test reversePathTo 1085 friend class SkBench_AddPathTest; // perf test reversePathTo
1085 friend class PathTest_Private; // unit test reversePathTo 1086 friend class PathTest_Private; // unit test reversePathTo
1086 friend class ForceIsRRect_Private; // unit test isRRect 1087 friend class ForceIsRRect_Private; // unit test isRRect
1087 }; 1088 };
1088 1089
1089 #endif 1090 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698