New issue
Advanced search Search tips
Starred by 8 users
Status: Accepted
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, 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, Oct 9 2014
Labels: Area-AndroidFramework
Project Member Comment 2 by, Dec 7 2015
Labels: Hotlist-Fixit
Project Member Comment 3 by, Jan 5 2016
Please assign an owner or close
Comment 4 Deleted
Sign in to add a comment