New issue
Advanced search Search tips
Starred by 8 users
Status: Accepted
Owner:
Cc:
Area: AndroidFramework
Priority: Medium
Type: Enhancement



Sign in to add a comment
Make SkPath::getGenerationID return a value that is independent of the fill type.
Project Member Reported by bsalo...@google.com, Oct 28 2013 Back to list
We are replacing the Android-specific SkPath generation ID with the SkPathRef generation ID. Android currently relies on the generation ID changing when the fill type changes. However, not all path caches are invalidated by the fill type changing (e.g. NV path rendering). Android is already building a compound key based on the path generation ID and SkPaint generation ID. 

For the time being we will make SkPath combine the fil with SkPathRef's gen ID. However, we should make Android bake the fill type into their cache ID explicitly and allow SkPath to return a fill-agnostic gen ID.
 
Project Member Comment 1 by hcm@google.com, Oct 9 2014
Labels: Area-AndroidFramework
Project Member Comment 2 by hcm@google.com, Dec 7 2015
Labels: Hotlist-Fixit
Project Member Comment 3 by caryclark@google.com, Jan 5 2016
Cc: -djsollen@google.com
Owner: djsollen@google.com
Please assign an owner or close
Comment 4 Deleted
12540973_1236626006365223_5663794702489545037_n
Sign in to add a comment