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

Issue 81453002: Reland: CC: Adjust tiling creation triggers during pinch-zoom. (Closed)

Created:
7 years, 1 month ago by epenner
Modified:
7 years ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@CC_soon_bin_optimization_REDUCE_ZOOM_OUT_MEMORY_V2
Visibility:
Public.

Description

Reland: CC: Adjust tiling creation triggers during pinch-zoom. We used to create tilings only when exceeding a certain scale difference from the ideal scale. This meant that in the worst case our only available high-res tiling was 2X the required resolution. This patch adjusts the creation of new tilings, to ensure we always have a tiling option that is less-than-or-equal-to the current ideal scale. BUG=307206 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237179

Patch Set 1 #

Patch Set 2 : Crash fix. #

Total comments: 4

Patch Set 3 : Rebase. #

Patch Set 4 : Set high-res after low. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -37 lines) Patch
M cc/layers/picture_image_layer_impl.h View 1 chunk +2 lines, -4 lines 0 comments Download
M cc/layers/picture_image_layer_impl.cc View 1 chunk +7 lines, -6 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 6 chunks +58 lines, -23 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 1 chunk +77 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
epenner
Ptal. Same as before but I added an extra test for the crash case. The ...
7 years, 1 month ago (2013-11-21 23:50:53 UTC) #1
epenner
https://codereview.chromium.org/81453002/diff/30001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/81453002/diff/30001/cc/layers/picture_layer_impl.cc#newcode930 cc/layers/picture_layer_impl.cc:930: float desired_contents_scale = Actually, I think this might be ...
7 years, 1 month ago (2013-11-21 23:53:53 UTC) #2
enne (OOO)
Thanks for uploading this as two patches. :) https://codereview.chromium.org/81453002/diff/30001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/81453002/diff/30001/cc/layers/picture_layer_impl.cc#newcode860 cc/layers/picture_layer_impl.cc:860: else ...
7 years, 1 month ago (2013-11-21 23:58:51 UTC) #3
enne (OOO)
https://codereview.chromium.org/81453002/diff/30001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/81453002/diff/30001/cc/layers/picture_layer_impl.cc#newcode930 cc/layers/picture_layer_impl.cc:930: float desired_contents_scale = On 2013/11/21 23:53:53, epenner wrote: > ...
7 years, 1 month ago (2013-11-22 00:01:02 UTC) #4
epenner
https://codereview.chromium.org/81453002/diff/30001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/81453002/diff/30001/cc/layers/picture_layer_impl.cc#newcode860 cc/layers/picture_layer_impl.cc:860: else if (!low_res && previous_low_res) Sorry, this isn't rebased ...
7 years, 1 month ago (2013-11-22 00:07:38 UTC) #5
epennerAtGoogle
I rebased to make it more clear. Still no changes here except - The extra ...
7 years, 1 month ago (2013-11-22 01:08:28 UTC) #6
epenner
Rebased. Any thing else needed for this one?
7 years ago (2013-11-25 20:24:39 UTC) #7
enne (OOO)
lgtm
7 years ago (2013-11-25 20:28:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/81453002/190001
7 years ago (2013-11-25 20:29:56 UTC) #9
commit-bot: I haz the power
Failed to get patchset properties (patchset not found?)
7 years ago (2013-11-25 20:52:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/81453002/210001
7 years ago (2013-11-25 20:55:51 UTC) #11
commit-bot: I haz the power
7 years ago (2013-11-25 23:35:54 UTC) #12
Message was sent while issue was closed.
Change committed as 237179

Powered by Google App Engine
This is Rietveld 408576698