cc: Support ClipRRect in SolidColorAnalyzer
We used to unconditionally return not_solid_color when analyzing the op ClipRRect. This lead to huge memory usage of composited border-radius scrolling because we need to store the texture for the whole mask layer. This CL makes SolidColorAnalyzer capable of determining whether a tile is fully covered by the clip rrect, so we can save memory by not storing textures of solid color quads. Bug: 567293, 567296, 740720 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: I24b10a2d68c0c608aec8e5a8bafaabb9800cd466 Reviewed-on: https://chromium-review.googlesource.com/591913Reviewed-by:Robert Flack <flackr@chromium.org> Reviewed-by:
Walter Korman <wkorman@chromium.org> Reviewed-by:
Vladimir Levin <vmpstr@chromium.org> Commit-Queue: Xianda Sun <sunxd@chromium.org> Cr-Commit-Position: refs/heads/master@{#491732}
Showing
Please register or sign in to comment