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

Issue 657913002: cc: Correct expansion of invalidation for tiles outside of interest rect (Closed)

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

Description

cc: Correct expansion of invalidation for tiles outside of interest rect Previously we subtracted the interest_rect_over_tiles from the invalid_rect when looking to see what invalidation would not be recorded but this computation is wrong. Instead, we need to expand the invalidation to the bounds of the tiles it touches (including tiles it touches on borders). Then we can subtract the interest rect expanded to the bounds of tiles it touches (including tiles it touches on borders). This makes each expansion match the iteration of the given rect where we include borders. If a tile is touched only on the border by invalidation, but the tile is not touched even on a border by the interest rect, we want to expand the invalidation to cover that tile. R=enne, vmpstr BUG=421729 Committed: https://crrev.com/04a24ab064c9e19d17d481b7649387a2ed2402ff Cr-Commit-Position: refs/heads/master@{#299750}

Patch Set 1 #

Total comments: 8

Patch Set 2 : invaliddcheck: art #

Patch Set 3 : invaliddcheck: . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -13 lines) Patch
M cc/resources/picture_pile.h View 2 chunks +3 lines, -0 lines 0 comments Download
M cc/resources/picture_pile.cc View 1 2 3 chunks +19 lines, -13 lines 0 comments Download
M cc/resources/picture_pile_unittest.cc View 1 2 1 chunk +76 lines, -0 lines 1 comment Download

Messages

Total messages: 15 (3 generated)
danakj
6 years, 2 months ago (2014-10-15 18:30:23 UTC) #1
danakj
I finally bit the bullet and made the interest rect able to be changed by ...
6 years, 2 months ago (2014-10-15 18:30:51 UTC) #2
vmpstr
Mostly nits.. lgtm. https://codereview.chromium.org/657913002/diff/1/cc/resources/picture_pile.cc File cc/resources/picture_pile.cc (right): https://codereview.chromium.org/657913002/diff/1/cc/resources/picture_pile.cc#newcode395 cc/resources/picture_pile.cc:395: // This rect covers the bounds ...
6 years, 2 months ago (2014-10-15 19:00:20 UTC) #3
danakj
https://codereview.chromium.org/657913002/diff/1/cc/resources/picture_pile.cc File cc/resources/picture_pile.cc (right): https://codereview.chromium.org/657913002/diff/1/cc/resources/picture_pile.cc#newcode395 cc/resources/picture_pile.cc:395: // This rect covers the bounds (excluding borders) of ...
6 years, 2 months ago (2014-10-15 19:06:27 UTC) #4
danakj
PTAL
6 years, 2 months ago (2014-10-15 19:07:07 UTC) #5
vmpstr
lgtm! thanks. https://codereview.chromium.org/657913002/diff/40001/cc/resources/picture_pile_unittest.cc File cc/resources/picture_pile_unittest.cc (right): https://codereview.chromium.org/657913002/diff/40001/cc/resources/picture_pile_unittest.cc#newcode113 cc/resources/picture_pile_unittest.cc:113: EXPECT_GT(pile_->tiling().num_tiles_x(), 2); Yeah that works too, it's ...
6 years, 2 months ago (2014-10-15 19:19:57 UTC) #6
danakj
Great, thanks for reviewing
6 years, 2 months ago (2014-10-15 19:39:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657913002/40001
6 years, 2 months ago (2014-10-15 19:40:55 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu_retina_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu_retina_triggered_tests/builds/58873)
6 years, 2 months ago (2014-10-15 19:52:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657913002/40001
6 years, 2 months ago (2014-10-15 19:54:53 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-15 20:12:02 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-10-15 20:12:47 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/04a24ab064c9e19d17d481b7649387a2ed2402ff
Cr-Commit-Position: refs/heads/master@{#299750}

Powered by Google App Engine
This is Rietveld 408576698