cc: Add a histogram to track wasted prepainting.
commit732235e685a81908be872a33c091664143f6cd9f
authorvmpstr <vmpstr@chromium.org>
Tue, 23 Jun 2015 23:26:42 +0000 (23 16:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 23 Jun 2015 23:28:30 +0000 (23 23:28 +0000)
tree6ebb1ffb469600859def6f904bce35ca8b1de32b
parent64ff2809b25b89fb0aca1ab73a15ff943d15a5a6
cc: Add a histogram to track wasted prepainting.

This patch adds a histogram that records whether a tile (draw info) was
used in AppendQuads out of all tiles that were ever ready to draw
(either rasterized into a texture or solid color).

R=danakj
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1202823002

Cr-Commit-Position: refs/heads/master@{#335805}
cc/layers/picture_layer_impl.cc
cc/tiles/tile_draw_info.cc
cc/tiles/tile_draw_info.h
cc/tiles/tile_manager.cc
tools/metrics/histograms/histograms.xml