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

Issue 1163803003: cc: Implement RemoveLast for DisplayItemList. (Closed)

Created:
5 years, 6 months ago by jbroman
Modified:
5 years, 6 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org, enne (OOO), weiliangc, ajuma, prashant.n
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Implement RemoveLast for DisplayItemList. Blink currently does this operation on its display item lists to remove superfluous begin/end pairs. To port Blink's current display item list operations, such an operation is required. This is not possible when in "cached picture" mode, but Blink currently only does this on the unmerged list (in blink::DisplayItemList::add), so this should be sufficient (if unfortunately asymmetric). BUG=484943 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/eafe7a9a7761ec179a457ab4b0a662d49e3652c6 Cr-Commit-Position: refs/heads/master@{#333084}

Patch Set 1 #

Patch Set 2 : basic unit tests #

Total comments: 3

Patch Set 3 : pure refactor of ListContainerCharAllocator #

Patch Set 4 : RemoveLast on refactored data (doesn't remove empty lists eagerly, avoiding O(n) worst case), itera… #

Patch Set 5 : Mac: cbegin, crbegin #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : danakj comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -23 lines) Patch
M cc/base/list_container.h View 1 2 3 4 5 3 chunks +11 lines, -2 lines 0 comments Download
M cc/base/list_container.cc View 1 2 3 4 5 6 7 chunks +59 lines, -21 lines 0 comments Download
M cc/base/sidecar_list_container.h View 3 2 chunks +9 lines, -0 lines 0 comments Download
M cc/base/sidecar_list_container_unittest.cc View 1 3 1 chunk +12 lines, -0 lines 0 comments Download
M cc/playback/display_item_list.h View 3 1 chunk +5 lines, -0 lines 0 comments Download
M cc/playback/display_item_list.cc View 3 1 chunk +9 lines, -0 lines 0 comments Download
M cc/quads/list_container_unittest.cc View 1 2 3 4 1 chunk +112 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
jbroman
Unit tests are a little sparse (ask for more if this doesn't satisfy you), and ...
5 years, 6 months ago (2015-06-02 19:36:19 UTC) #2
danakj
I know the answer will be no but I've gotta ask: can we make blink ...
5 years, 6 months ago (2015-06-02 20:04:32 UTC) #3
jbroman
On 2015/06/02 20:04:32, danakj wrote: > I know the answer will be no but I've ...
5 years, 6 months ago (2015-06-02 20:31:51 UTC) #4
danakj
On Tue, Jun 2, 2015 at 1:31 PM, <jbroman@chromium.org> wrote: > On 2015/06/02 20:04:32, danakj ...
5 years, 6 months ago (2015-06-02 20:45:41 UTC) #5
jbroman
On 2015/06/02 20:45:41, danakj wrote: > It's possible blink could cache a bool "should begin" ...
5 years, 6 months ago (2015-06-03 19:33:42 UTC) #6
danakj
LGTM https://codereview.chromium.org/1163803003/diff/100001/cc/base/list_container.cc File cc/base/list_container.cc (right): https://codereview.chromium.org/1163803003/diff/100001/cc/base/list_container.cc#newcode137 cc/base/list_container.cc:137: last_list_ = storage_[0]; nit: storage_[last_list_index_] https://codereview.chromium.org/1163803003/diff/100001/cc/base/list_container.cc#newcode210 cc/base/list_container.cc:210: // ...
5 years, 6 months ago (2015-06-03 23:21:23 UTC) #7
jbroman
https://codereview.chromium.org/1163803003/diff/100001/cc/base/list_container.cc File cc/base/list_container.cc (right): https://codereview.chromium.org/1163803003/diff/100001/cc/base/list_container.cc#newcode137 cc/base/list_container.cc:137: last_list_ = storage_[0]; On 2015/06/03 23:21:23, danakj wrote: > ...
5 years, 6 months ago (2015-06-04 00:00:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163803003/120001
5 years, 6 months ago (2015-06-04 00:02:06 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/64899)
5 years, 6 months ago (2015-06-04 00:48:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163803003/120001
5 years, 6 months ago (2015-06-05 15:12:19 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 6 months ago (2015-06-05 17:36:05 UTC) #16
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 18:03:23 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/eafe7a9a7761ec179a457ab4b0a662d49e3652c6
Cr-Commit-Position: refs/heads/master@{#333084}

Powered by Google App Engine
This is Rietveld 408576698