-
Notifications
You must be signed in to change notification settings - Fork 6k
Enable RasterCache for clipper layers using saveLayer #32899
Enable RasterCache for clipper layers using saveLayer #32899
Conversation
flar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes look fine other than the irony of spending effort on the deprecated PhysicalShapeLayer. We should probably remove it, but I think it needs to stay in case any apps are managing their own scene building from custom RenderObjects.
See flutter/flutter#102274 for more info on why PSL was recently deprecated.
flar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any benchmark already part of the flutter/flutter benchmarks that measures the gain for this? If not, then we need to create one before this PR is merged.
This reverts commit f3b2f89.
@flar Here is the benchmark flutter/flutter#102495 |
# Conflicts: # flow/layers/clip_path_layer.cc # flow/layers/clip_path_layer.h # flow/layers/clip_rect_layer.cc # flow/layers/clip_rect_layer.h # flow/layers/clip_rrect_layer.cc # flow/layers/clip_rrect_layer.h
hi, @flar. The benchmark (flutter/flutter#102495) has been merged. At the same time, because of #32889 has been merged, some conflicts are also resolved. |
flar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Pre-launch Checklist
writing and running engine tests.
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.