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

Issue 674253002: cc: Make consistent use of bounds() versus the pile's size. (Closed)

Created:
6 years, 2 months ago by danakj
Modified:
6 years, 1 month ago
Reviewers:
vmpstr, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Make consistent use of bounds() versus the pile's size. In PictureLayerImpl we assume that the pile size matches the bounds but this is subtley not true when the layer is not part of the visible frame (ie. not in the RenderSurfaceLayerList). So use the pile's size consistently everywhere except during drawing where using the bounds makes some logical sense. And DCHECK they are equal there. R=enne, vmpstr Committed: https://crrev.com/7b4cac771543aaa4f424fb468573a79891eab5cb Cr-Commit-Position: refs/heads/master@{#301366}

Patch Set 1 #

Patch Set 2 : bounds: testfixes #

Patch Set 3 : bounds: header #

Patch Set 4 : bounds: comment #

Patch Set 5 : bounds: commentbetter #

Patch Set 6 : bounds: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -43 lines) Patch
M cc/layers/picture_image_layer_impl_unittest.cc View 1 2 9 chunks +19 lines, -15 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 11 chunks +29 lines, -18 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 2 chunks +9 lines, -10 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
danakj
6 years, 2 months ago (2014-10-24 21:10:37 UTC) #1
danakj
now with passing tests and only 1 tile manager ^_^b
6 years, 1 month ago (2014-10-24 22:51:55 UTC) #2
vmpstr
lgtm, thanks for tracking down the test weirdness!
6 years, 1 month ago (2014-10-24 22:55:12 UTC) #3
enne (OOO)
lgtm as well! I was a little not sure about the "use bounds() in AppendQuads", ...
6 years, 1 month ago (2014-10-24 23:06:42 UTC) #4
danakj
Thanks, commented. On Fri, Oct 24, 2014 at 7:06 PM, <enne@chromium.org> wrote: > lgtm as ...
6 years, 1 month ago (2014-10-24 23:11:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674253002/60001
6 years, 1 month ago (2014-10-24 23:12:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674253002/80001
6 years, 1 month ago (2014-10-24 23:14:36 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/11182) android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/27922)
6 years, 1 month ago (2014-10-24 23:29:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674253002/100001
6 years, 1 month ago (2014-10-27 14:44:14 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years, 1 month ago (2014-10-27 15:33:48 UTC) #14
commit-bot: I haz the power
6 years, 1 month ago (2014-10-27 15:34:32 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7b4cac771543aaa4f424fb468573a79891eab5cb
Cr-Commit-Position: refs/heads/master@{#301366}

Powered by Google App Engine
This is Rietveld 408576698