Raster into an SkPicture before rendering a DisplayList.
commitde765f47e9449420e46d968ec40bb6f41a193990
authorschenney <schenney@chromium.org>
Fri, 6 Mar 2015 22:59:11 +0000 (6 14:59 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 6 Mar 2015 22:59:54 +0000 (6 22:59 +0000)
tree05db34b0b3657f34d5b3a3473cd3a8c44704cce7
parent2c49a01ae05c40ae6c4f74eca69fed9d237f9b51
Raster into an SkPicture before rendering a DisplayList.

Rasterizing a display list is more than 2x slower than rasterizing in the existing architecture. This is due to recording more with a display list and we have no bounding hierarchy to cull content quickly.

We can address this by creating an SkPicture from the list, with a bounding hierarchy, and rasterizing that instead. The result is slightly faster than the non-S.P. pipeline but uses 2x more memory.

BUG=464738

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

Cr-Commit-Position: refs/heads/master@{#319519}
cc/resources/display_item_list.cc
cc/resources/display_item_list.h
cc/resources/display_list_recording_source.cc