Make SkPath::getGenerationID return a value that is independent of the fill type.
Project Member Reported by bsalo...@google.com, Oct 28 2013
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.
Oct 9 2014,
Dec 7 2015,
Jan 5 2016,
Please assign an owner or close
Sep 6 2016,
Sign in to add a comment