-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
As we all know, saveLayer has a bad impact on performance, related discussions include: #92874 (comment)
Now that, ClipPathLayer/ClipRectLayer/ClipRRectLayer/PhysicalShapeLayer will use saveLayer when clipBehavior is set to Clip::antiAliasWithSaveLayer. Although Clip::antiAliasWithSaveLayer is not recommended and should be less needed, in fact, we found that some of our developers still use it in daily development.
Therefore, it will help to optimize performance if the raster cache can be used to reduce the use of saveLayer in those cases.
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version