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

Issue 16160005: cc: Ignore offscreen tiles for activation (Closed)

Created:
7 years, 6 months ago by enne (OOO)
Modified:
7 years, 6 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, ajuma, danakj
Visibility:
Public.

Description

cc: Ignore offscreen tiles for activation Remove the overenthusiastic DCHECK from PictureLayerImpl to make sure that every tile that intersects the visible content rect also has a distance to the viewport of zero. Because the projection of the viewport is done more precisely than the enclosing rect for the visible content rect, it may be possible for a tile to be outside the viewport but inside the visible content rect. Therefore, the current DCHECKS are bogus. Instead, skip these tiles because they're not truly required for activation. R=reveman@chromium.org BUG=243437 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203063

Patch Set 1 #

Patch Set 2 : Add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -8 lines) Patch
M cc/layers/picture_layer_impl.cc View 1 2 chunks +18 lines, -8 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 1 chunk +65 lines, -0 lines 0 comments Download
M cc/test/fake_picture_layer_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
enne (OOO)
7 years, 6 months ago (2013-05-28 21:46:55 UTC) #1
danakj
LGTM a test for this scenario would be nice to verify u picked the tiles ...
7 years, 6 months ago (2013-05-29 10:49:19 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/16160005/4001
7 years, 6 months ago (2013-05-29 19:28:14 UTC) #3
commit-bot: I haz the power
Failed to apply patch for cc/layers/picture_layer_impl_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 6 months ago (2013-05-29 19:28:17 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/16160005/4001
7 years, 6 months ago (2013-05-29 21:28:34 UTC) #5
commit-bot: I haz the power
7 years, 6 months ago (2013-05-30 04:39:59 UTC) #6
Message was sent while issue was closed.
Change committed as 203063

Powered by Google App Engine
This is Rietveld 408576698