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

Issue 1521373005: Revert of cc: Shrink size of display item (Closed)

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

Description

Revert of cc: Shrink size of display item (patchset #9 id:160001 of https://codereview.chromium.org/1494223003/ ) Reason for revert: Causes regression in smoothness benchmark. I think issue 513016 probably needs to be fixed before turning on display list rasterization, for this reason. BUG=569021, 513016 Original issue's description: > cc: Shrink size of display item > > This removes all of the base class members from display item and instead > calculates them during allocation. This is done by processing each item > as it is added, which requires passing in all the ctor args to > CreateAndAppendItem. This reduces the size of all display items by 16 > bytes so that the largest is now "only" 80 bytes and the smallest is 8. > > Also, DisplayItemList had a bug where it would allocate an item, > (maybe) process all added items, and then SetNew on that last item. In > that case, the processing would skip the final item because it was just > a newly allocated item. This patch fixes that by the above changes > to CreateAndAppendItem. > > R=vmpstr@chromium.org,chrishtr@chromium.org > CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel > > Committed: https://crrev.com/3b006fb5a67c9e9bc0adf3f68d72a10afa221198 > Cr-Commit-Position: refs/heads/master@{#364437} TBR=chrishtr@chromium.org,danakj@chromium.org,vmpstr@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+582 lines, -525 lines) Patch
M cc/blink/web_display_item_list_impl.cc View 7 chunks +49 lines, -32 lines 0 comments Download
M cc/layers/picture_image_layer.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M cc/playback/clip_display_item.h View 2 chunks +6 lines, -15 lines 0 comments Download
M cc/playback/clip_display_item.cc View 5 chunks +35 lines, -36 lines 0 comments Download
M cc/playback/clip_path_display_item.h View 3 chunks +5 lines, -13 lines 0 comments Download
M cc/playback/clip_path_display_item.cc View 6 chunks +30 lines, -36 lines 0 comments Download
M cc/playback/compositing_display_item.h View 3 chunks +8 lines, -19 lines 0 comments Download
M cc/playback/compositing_display_item.cc View 5 chunks +46 lines, -53 lines 0 comments Download
M cc/playback/display_item.h View 1 chunk +22 lines, -2 lines 0 comments Download
M cc/playback/display_item_list.h View 4 chunks +25 lines, -18 lines 0 comments Download
M cc/playback/display_item_list.cc View 11 chunks +71 lines, -21 lines 0 comments Download
M cc/playback/display_item_list_unittest.cc View 28 chunks +83 lines, -43 lines 0 comments Download
M cc/playback/display_item_proto_factory.h View 1 chunk +3 lines, -3 lines 0 comments Download
M cc/playback/display_item_proto_factory.cc View 1 chunk +15 lines, -27 lines 0 comments Download
M cc/playback/drawing_display_item.h View 1 chunk +3 lines, -9 lines 0 comments Download
M cc/playback/drawing_display_item.cc View 4 chunks +19 lines, -35 lines 0 comments Download
M cc/playback/filter_display_item.h View 3 chunks +5 lines, -13 lines 0 comments Download
M cc/playback/filter_display_item.cc View 4 chunks +34 lines, -35 lines 0 comments Download
M cc/playback/float_clip_display_item.h View 2 chunks +5 lines, -13 lines 0 comments Download
M cc/playback/float_clip_display_item.cc View 6 chunks +20 lines, -24 lines 0 comments Download
M cc/playback/transform_display_item.h View 2 chunks +5 lines, -13 lines 0 comments Download
M cc/playback/transform_display_item.cc View 6 chunks +20 lines, -24 lines 0 comments Download
M cc/test/fake_content_layer_client.cc View 3 chunks +16 lines, -9 lines 0 comments Download
M cc/test/solid_color_content_layer_client.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_masks.cc View 3 chunks +17 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_tiles.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M ui/compositor/clip_recorder.cc View 3 chunks +9 lines, -6 lines 0 comments Download
M ui/compositor/compositing_recorder.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M ui/compositor/paint_cache.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/paint_cache.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M ui/compositor/paint_recorder.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M ui/compositor/transform_recorder.cc View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
enne (OOO)
Created Revert of cc: Shrink size of display item
5 years ago (2015-12-14 22:03:29 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1521373005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1521373005/1
5 years ago (2015-12-14 22:06:35 UTC) #2
commit-bot: I haz the power
Failed to apply patch for cc/blink/web_display_item_list_impl.cc: While running git apply --index -3 -p1; error: patch ...
5 years ago (2015-12-14 22:09:00 UTC) #5
chrishtr
Interesting. How did this patch regress is_suitable_for_gpu_rasterization? Not seeing the reason yet from reading the ...
5 years ago (2015-12-14 22:11:29 UTC) #6
enne (OOO)
On 2015/12/14 at 22:11:29, chrishtr wrote: > Interesting. How did this patch regress is_suitable_for_gpu_rasterization? Not ...
5 years ago (2015-12-14 22:24:44 UTC) #8
chrishtr
On 2015/12/14 at 22:24:44, enne wrote: > On 2015/12/14 at 22:11:29, chrishtr wrote: > > ...
5 years ago (2015-12-14 22:33:13 UTC) #9
enne (OOO)
On 2015/12/14 at 22:33:13, chrishtr wrote: > On 2015/12/14 at 22:24:44, enne wrote: > > ...
5 years ago (2015-12-14 22:46:04 UTC) #10
chrishtr
On 2015/12/14 at 22:46:04, enne wrote: > On 2015/12/14 at 22:33:13, chrishtr wrote: > > ...
5 years ago (2015-12-14 22:51:12 UTC) #11
enne (OOO)
4 years, 11 months ago (2016-01-04 19:06:51 UTC) #12
Closing this as senorblanco fixed it via a more targetted
https://codereview.chromium.org/1538913002/

Powered by Google App Engine
This is Rietveld 408576698