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

Issue 577753002: cc: Don't clip tile priority visible rect to content bounds. (Closed)

Created:
6 years, 3 months ago by vmpstr
Modified:
6 years, 3 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Don't clip tile priority visible rect to content bounds. The tile priority visible rect is sometimes expected to be not intersecting the layer bounds. That's expected, since the layer might be offscreen. In those cases we should still be correctly prioritizing and creating tiles. This fix addresses that. BUG=414521 R=danakj Committed: https://crrev.com/9d9da8d4328a53762f65b973ddf02f7a5707e6d8 Cr-Commit-Position: refs/heads/master@{#295630}

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

Total comments: 2

Patch Set 3 : +comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -13 lines) Patch
M cc/layers/picture_layer_impl.cc View 1 3 chunks +4 lines, -6 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
vmpstr
PTAL
6 years, 3 months ago (2014-09-16 21:41:31 UTC) #1
danakj
https://codereview.chromium.org/577753002/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/577753002/diff/1/cc/layers/picture_layer_impl.cc#newcode486 cc/layers/picture_layer_impl.cc:486: gfx::Rect visible_layer_rect = GetViewportForTilePriorityInContentSpace(); can you rename this? it's ...
6 years, 3 months ago (2014-09-18 16:48:22 UTC) #2
vmpstr
PTAL https://codereview.chromium.org/577753002/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/577753002/diff/1/cc/layers/picture_layer_impl.cc#newcode486 cc/layers/picture_layer_impl.cc:486: gfx::Rect visible_layer_rect = GetViewportForTilePriorityInContentSpace(); On 2014/09/18 16:48:22, danakj ...
6 years, 3 months ago (2014-09-18 22:54:08 UTC) #3
danakj
LGTM
6 years, 3 months ago (2014-09-18 23:18:38 UTC) #4
danakj
https://codereview.chromium.org/577753002/diff/20001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (left): https://codereview.chromium.org/577753002/diff/20001/cc/layers/picture_layer_impl_unittest.cc#oldcode408 cc/layers/picture_layer_impl_unittest.cc:408: // Interset viewport_rect_for_tile_priority_in_view_space with the layer It would be ...
6 years, 3 months ago (2014-09-18 23:19:36 UTC) #7
vmpstr
https://codereview.chromium.org/577753002/diff/20001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (left): https://codereview.chromium.org/577753002/diff/20001/cc/layers/picture_layer_impl_unittest.cc#oldcode408 cc/layers/picture_layer_impl_unittest.cc:408: // Interset viewport_rect_for_tile_priority_in_view_space with the layer On 2014/09/18 23:19:36, ...
6 years, 3 months ago (2014-09-18 23:58:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/577753002/40001
6 years, 3 months ago (2014-09-18 23:59:56 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 38c0317dd7b6fa66fbeff6e3c57f04f0d84dc67c
6 years, 3 months ago (2014-09-19 01:06:33 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-19 01:07:08 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9d9da8d4328a53762f65b973ddf02f7a5707e6d8
Cr-Commit-Position: refs/heads/master@{#295630}

Powered by Google App Engine
This is Rietveld 408576698