Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Issue 966443003: Raster into an SkP before rendering a DisplayList. (Closed)

Created:
5 years, 9 months ago by Stephen Chennney
Modified:
5 years, 9 months ago
Reviewers:
ajuma, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/de765f47e9449420e46d968ec40bb6f41a193990 Cr-Commit-Position: refs/heads/master@{#319519} Committed: https://crrev.com/c54bea7972a4a26fe49fd43a07cc99bb3a0e1990 Cr-Commit-Position: refs/heads/master@{#320097}

Patch Set 1 #

Patch Set 2 : Submit version #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -5 lines) Patch
M cc/resources/display_item_list.h View 3 chunks +6 lines, -0 lines 0 comments Download
M cc/resources/display_item_list.cc View 1 3 chunks +46 lines, -5 lines 0 comments Download
M cc/resources/display_list_recording_source.cc View 1 1 chunk +3 lines, -0 lines 2 comments Download

Messages

Total messages: 18 (3 generated)
Stephen Chennney
Chris and I decided this is the best approach to speed up raster for now.
5 years, 9 months ago (2015-03-06 16:43:36 UTC) #2
ajuma
https://codereview.chromium.org/966443003/diff/20001/cc/resources/display_list_recording_source.cc File cc/resources/display_list_recording_source.cc (right): https://codereview.chromium.org/966443003/diff/20001/cc/resources/display_list_recording_source.cc#newcode116 cc/resources/display_list_recording_source.cc:116: display_list_->CreateAndCacheSkPicture(); Should we repeat too this when repeating PaintContentsToDisplayList ...
5 years, 9 months ago (2015-03-06 17:02:11 UTC) #3
Stephen Chennney
https://codereview.chromium.org/966443003/diff/20001/cc/resources/display_list_recording_source.cc File cc/resources/display_list_recording_source.cc (right): https://codereview.chromium.org/966443003/diff/20001/cc/resources/display_list_recording_source.cc#newcode116 cc/resources/display_list_recording_source.cc:116: display_list_->CreateAndCacheSkPicture(); On 2015/03/06 17:02:11, ajuma wrote: > Should we ...
5 years, 9 months ago (2015-03-06 17:51:11 UTC) #4
ajuma
On 2015/03/06 17:51:11, Stephen Chenney wrote: > https://codereview.chromium.org/966443003/diff/20001/cc/resources/display_list_recording_source.cc > File cc/resources/display_list_recording_source.cc (right): > > https://codereview.chromium.org/966443003/diff/20001/cc/resources/display_list_recording_source.cc#newcode116 ...
5 years, 9 months ago (2015-03-06 17:54:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/966443003/20001
5 years, 9 months ago (2015-03-06 17:58:11 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-06 22:59:23 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/de765f47e9449420e46d968ec40bb6f41a193990 Cr-Commit-Position: refs/heads/master@{#319519}
5 years, 9 months ago (2015-03-06 23:00:08 UTC) #9
chrishtr
On 2015/03/06 at 23:00:08, commit-bot wrote: > Patchset 2 (id:??) landed as https://crrev.com/de765f47e9449420e46d968ec40bb6f41a193990 > Cr-Commit-Position: ...
5 years, 9 months ago (2015-03-06 23:36:06 UTC) #10
chrishtr
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/980793007/revert by chrishtr@chromium.org. ...
5 years, 9 months ago (2015-03-06 23:36:24 UTC) #11
Stephen Chennney
Expectations are in the Blonk CQ. Will re-land once they are committed and rolled into ...
5 years, 9 months ago (2015-03-09 21:16:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/966443003/20001
5 years, 9 months ago (2015-03-11 14:20:56 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-11 17:03:16 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/c54bea7972a4a26fe49fd43a07cc99bb3a0e1990 Cr-Commit-Position: refs/heads/master@{#320097}
5 years, 9 months ago (2015-03-11 17:03:51 UTC) #16
adamk
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/997173003/ by adamk@chromium.org. ...
5 years, 9 months ago (2015-03-11 18:48:45 UTC) #17
adamk
5 years, 9 months ago (2015-03-11 18:49:53 UTC) #18
Message was sent while issue was closed.
In future, please open a new Rietveld issue instead of landing multiple changes
from the same issue; this helps avoid confusion and bloat in the commit log.

Powered by Google App Engine
This is Rietveld 408576698