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

Issue 874613003: cc: Stop pushing properties every activation for picture layers. (Closed)

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

Description

cc: Stop pushing properties every activation for picture layers. Since we don't swap tilings anymore, we only need to push properties when a property, or a tiling, or the raster source (invalidation) has changed. R=vmpstr BUG=303943 Committed: https://crrev.com/dcaa923e704847eb6ba7003602ff70579aaaf47e Cr-Commit-Position: refs/heads/master@{#313329}

Patch Set 1 #

Total comments: 6

Patch Set 2 : pli-pushprops: . #

Patch Set 3 : pli-pushprops: fixscrolling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -10 lines) Patch
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 chunks +10 lines, -5 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 6 chunks +161 lines, -4 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/fake_picture_layer_tiling_client.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (8 generated)
danakj
5 years, 11 months ago (2015-01-23 20:09:20 UTC) #1
enne (OOO)
How is this tested?
5 years, 11 months ago (2015-01-23 20:56:06 UTC) #2
vmpstr
https://codereview.chromium.org/874613003/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/874613003/diff/1/cc/layers/picture_layer_impl.cc#newcode574 cc/layers/picture_layer_impl.cc:574: SetNeedsPushProperties(); Should this be invoked using PLTS UpdateTilingsToCurrentRasterSource? https://codereview.chromium.org/874613003/diff/1/cc/layers/picture_layer_impl.cc#newcode603 ...
5 years, 11 months ago (2015-01-23 20:57:58 UTC) #3
danakj
On Fri, Jan 23, 2015 at 12:56 PM, <enne@chromium.org> wrote: > How is this tested? ...
5 years, 11 months ago (2015-01-23 21:08:59 UTC) #4
danakj
https://codereview.chromium.org/874613003/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/874613003/diff/1/cc/layers/picture_layer_impl.cc#newcode574 cc/layers/picture_layer_impl.cc:574: SetNeedsPushProperties(); On 2015/01/23 20:57:57, vmpstr wrote: > Should this ...
5 years, 11 months ago (2015-01-23 21:11:36 UTC) #5
danakj
Added a couple tests PTAL
5 years, 11 months ago (2015-01-23 22:18:12 UTC) #6
enne (OOO)
lgtm % vmpstr
5 years, 11 months ago (2015-01-23 22:25:28 UTC) #7
vmpstr
lgtm
5 years, 11 months ago (2015-01-23 23:13:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874613003/20001
5 years, 11 months ago (2015-01-23 23:15:22 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/26639)
5 years, 11 months ago (2015-01-24 00:08:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874613003/20001
5 years, 11 months ago (2015-01-24 00:17:50 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/26639)
5 years, 11 months ago (2015-01-24 00:18:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874613003/20001
5 years, 11 months ago (2015-01-24 00:20:55 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/26718)
5 years, 11 months ago (2015-01-24 02:02:05 UTC) #20
danakj
PTAL. This fixes scrolling, it's also a much smaller patch now (+11 -45 loc from ...
5 years, 11 months ago (2015-01-27 17:42:19 UTC) #22
vmpstr
On 2015/01/27 17:42:19, danakj wrote: > PTAL. > > This fixes scrolling, it's also a ...
5 years, 11 months ago (2015-01-27 19:11:31 UTC) #23
enne (OOO)
lgtm I wasn't sure about adding or removing tilings not doing any notifying, but adding ...
5 years, 11 months ago (2015-01-27 19:15:15 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874613003/40001
5 years, 11 months ago (2015-01-27 19:16:42 UTC) #26
vmpstr
On 2015/01/27 19:15:15, enne_OOO_until_jan_26 wrote: > lgtm > > I wasn't sure about adding or ...
5 years, 11 months ago (2015-01-27 19:17:16 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-27 19:54:32 UTC) #28
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/dcaa923e704847eb6ba7003602ff70579aaaf47e Cr-Commit-Position: refs/heads/master@{#313329}
5 years, 11 months ago (2015-01-27 19:55:57 UTC) #29
danakj
5 years, 10 months ago (2015-01-30 17:33:13 UTC) #30
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/890963002/ by danakj@chromium.org.

The reason for reverting is: flaky tests
https://code.google.com/p/chromium/issues/detail?id=452965.

Powered by Google App Engine
This is Rietveld 408576698