Version: 51.0.2700.0/dev (also tip of tree)
OS: OSX
What steps will reproduce the problem?
(0) In recording_source.cc, add the following to RecordingSource::SetNeedsDisplayInRect:
fprintf(stderr, "RecordingSource::SetNeedsDisplayRect: %d, %d, %d, %d\n", layer_rect.x(), layer_rect.y(), layer_rect.width(), layer_rect.height());
(1) Open the attached testcase.
(2) Notice we invalidate paint twice for SVG elements (but not HTML elements).
I found this while investigating a performance benchmark by the Safari team where paint invalidation represents 13% of the entire benchmark.
|
Deleted:
xformperf.html
244 bytes
|
Comment 1 by wangxianzhu@chromium.org
, Apr 10 2016Owner: wangxianzhu@chromium.org
Status: Assigned (was: Available)