Looking at some of the recording regressions, the difference in pixels recorded is that with RLS we have an extra composited layer that draws content (which ends up being an extra cc::Layer). See attached test.html with a corresponding layer tree dump (tree.txt).
The "LayoutView #document" graphics layer is composited is marked as draws content, but it has an empty paint record. The "Scrolling Contents Layer" is also composited and draws content, and contains the contents of the page.
skobes@, @chrishtr, do you know if there are cases where the document layer would actually have a non-empty paint record? Is it possible that we should be marking this layer as non-drawing in RLS?
The "LayoutView #document" GraphicsLayer will paint content if the page has a fixed-attachment background on high DPI. In other cases it can be marked non-drawing.
Comment 1 by 42576172...@developer.gserviceaccount.com
, Feb 12 2018