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

Issue 1041893003: cc: Separate tiling set functionality into explicit separate functions. (Closed)

Created:
5 years, 8 months ago by vmpstr
Modified:
5 years, 8 months ago
Reviewers:
danakj, enne (OOO)
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

cc: Separate tiling set functionality into explicit separate functions. This patch separates UpdateTilingsToCurrentRaster source into three separate functions, so that it is clear when each one is meant to run: - UpdateTilingsToCurrentRasterSourceForCommit(raster_source, invalidation) This function is called during PictureLayer::PushPropertiesTo to on the sync tree (either pending or active). - UpdateTilingsToCurrentRasterSourceForActivation( raster_source, pending_twin_set, invalidation) This function is called during PictureLayerImpl::PushPropertiesTo on the active tree only. - UpdateRasterSourceDueToLCDChange(raster_source, invalidation) This function is called on the sync tree when the LCD flag changes. The raster source in this case is of the same size as previously set but has lcd flag changed. R=danakj, enne Committed: https://crrev.com/074006a706461a22204fbdf183161819f416290b Cr-Commit-Position: refs/heads/master@{#323550}

Patch Set 1 #

Total comments: 4

Patch Set 2 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -44 lines) Patch
M cc/layers/picture_layer_impl.cc View 1 2 chunks +13 lines, -5 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.h View 1 2 chunks +16 lines, -8 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 1 5 chunks +52 lines, -17 lines 0 comments Download
M cc/resources/picture_layer_tiling_set_unittest.cc View 1 6 chunks +15 lines, -14 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
vmpstr
Please take a look.
5 years, 8 months ago (2015-03-30 19:26:59 UTC) #2
enne (OOO)
https://codereview.chromium.org/1041893003/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/1041893003/diff/1/cc/layers/picture_layer_impl.cc#newcode541 cc/layers/picture_layer_impl.cc:541: tilings_->RemoveTilingsBelowScale(MinimumContentsScale()); I'm not 100% on moving this. I agree ...
5 years, 8 months ago (2015-03-31 19:53:02 UTC) #3
vmpstr
PTAL https://codereview.chromium.org/1041893003/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/1041893003/diff/1/cc/layers/picture_layer_impl.cc#newcode541 cc/layers/picture_layer_impl.cc:541: tilings_->RemoveTilingsBelowScale(MinimumContentsScale()); On 2015/03/31 19:53:02, enne wrote: > I'm ...
5 years, 8 months ago (2015-04-01 23:53:41 UTC) #4
enne (OOO)
lgtm
5 years, 8 months ago (2015-04-02 00:13:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1041893003/20001
5 years, 8 months ago (2015-04-02 16:59:46 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-02 19:28:35 UTC) #8
commit-bot: I haz the power
5 years, 8 months ago (2015-04-03 20:28:30 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/074006a706461a22204fbdf183161819f416290b
Cr-Commit-Position: refs/heads/master@{#323550}

Powered by Google App Engine
This is Rietveld 408576698