Add |bool didImplThreadScroll| to WebRenderingStats.h which will be true if and only if we have impl-thread scrolled.
Created attachment 166261 [details] Patch
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Corresponding chromium patch: https://codereview.chromium.org/10985082/
Comment on attachment 166261 [details] Patch A bool isn't a good way to capture this. What's the use case? What about keeping counts of how many scroll-type input events resulted in scrolling vs ignoring vs sending to the main thread?
Created attachment 166526 [details] Patch
(In reply to comment #4) > (From update of attachment 166261 [details]) > A bool isn't a good way to capture this. What's the use case? What about keeping counts of how many scroll-type input events resulted in scrolling vs ignoring vs sending to the main thread? We want to use this data to be able to track the frequency of impl-thread vs. main-thread scrolling, so I have added two counters instead of using a bool. The cumulative total of both counters will be reported each time renderingStats() is called.
Comment on attachment 166526 [details] Patch R=me We should figure out a way to route stats like this without involving WebKit patches
Comment on attachment 166526 [details] Patch Clearing flags on attachment: 166526 Committed r130180: <http://trac.webkit.org/changeset/130180>
All reviewed patches have been landed. Closing bug.