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

Issue 413053004: cc: Fix tiling raster iterator to process all tiles correctly. (Closed)

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

Description

cc: Fix tiling raster iterator to process all tiles correctly. This is a fix for the following situation: If we have no skewport, then in operator++ we call advance phase after we process all visible tiles, however because the skewport yields no tiles, we immediately skip to the eventually bin, since the soon iterator construction was in operator++ instead of advance phase. The reason this passed unittests is that there was a second bug in which we would process the eventually rect without ignoring the soon rect, which caused the same tiles to show up. This patch fixes both bugs. The first one is fixed by moving tiling data iterator construction to be in advancephase in all cases. The second bug changes the iterator to iterate around the soon rect instead of the visible rect. R=reveman Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285448

Patch Set 1 #

Total comments: 3

Patch Set 2 : update #

Total comments: 3

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -30 lines) Patch
M cc/resources/picture_layer_tiling.h View 1 2 4 chunks +22 lines, -4 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 6 chunks +21 lines, -26 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
vmpstr
PTAL
6 years, 5 months ago (2014-07-23 23:39:26 UTC) #1
reveman
https://codereview.chromium.org/413053004/diff/1/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/413053004/diff/1/cc/resources/picture_layer_tiling.cc#newcode890 cc/resources/picture_layer_tiling.cc:890: } I find this code a bit hard to ...
6 years, 5 months ago (2014-07-24 12:50:17 UTC) #2
reveman
https://codereview.chromium.org/413053004/diff/1/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/413053004/diff/1/cc/resources/picture_layer_tiling.cc#newcode890 cc/resources/picture_layer_tiling.cc:890: } On 2014/07/24 12:50:16, reveman wrote: > I find ...
6 years, 5 months ago (2014-07-24 13:12:23 UTC) #3
vmpstr
PTAL https://codereview.chromium.org/413053004/diff/1/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/413053004/diff/1/cc/resources/picture_layer_tiling.cc#newcode890 cc/resources/picture_layer_tiling.cc:890: } On 2014/07/24 13:12:23, reveman wrote: > On ...
6 years, 5 months ago (2014-07-24 16:33:14 UTC) #4
reveman
thanks! made it much easier for me to understand the code. lgtm with nit https://codereview.chromium.org/413053004/diff/20001/cc/resources/picture_layer_tiling.cc ...
6 years, 5 months ago (2014-07-24 16:38:49 UTC) #5
vmpstr
https://codereview.chromium.org/413053004/diff/20001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/413053004/diff/20001/cc/resources/picture_layer_tiling.cc#newcode874 cc/resources/picture_layer_tiling.cc:874: if (phase_ == SOON_BORDER_RECT) { On 2014/07/24 16:38:49, reveman ...
6 years, 5 months ago (2014-07-24 16:44:25 UTC) #6
reveman
https://codereview.chromium.org/413053004/diff/20001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/413053004/diff/20001/cc/resources/picture_layer_tiling.cc#newcode874 cc/resources/picture_layer_tiling.cc:874: if (phase_ == SOON_BORDER_RECT) { On 2014/07/24 16:44:25, vmpstr ...
6 years, 5 months ago (2014-07-24 16:54:19 UTC) #7
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 5 months ago (2014-07-24 21:50:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/413053004/40001
6 years, 5 months ago (2014-07-24 21:51:22 UTC) #9
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 01:29:10 UTC) #10
Message was sent while issue was closed.
Change committed as 285448

Powered by Google App Engine
This is Rietveld 408576698