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

Issue 14874004: cc: Inflate invalidation in each picture list (Closed)

Created:
7 years, 7 months ago by danakj
Modified:
7 years, 7 months ago
Reviewers:
nduca, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, piman, backer, google-reveman
Visibility:
Public.

Description

cc: Inflate invalidation in each picture list We inflate invalidation and then intersect with each picture list. This means we lose the guaranteed minimum size of the picture, if the invalidation just crosses a picture list boundary. Instead, do the intersection with each picture list affected, then inflate within the picture list's bounds to make sure the invalidation in each picture list meets the minimum size. Tests: PicturePileTest.SmallInvalidateInflated PicturePileTest.LargeInvalidateInflated PicturePileTest.InvalidateOnTileBoundaryInflated R=enne,nduca BUG=237211 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199359

Patch Set 1 : #

Patch Set 2 : for windows #

Total comments: 3

Patch Set 3 : review+tests #

Total comments: 2

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -15 lines) Patch
M cc/cc_tests.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M cc/resources/picture_pile.h View 1 chunk +3 lines, -1 line 0 comments Download
M cc/resources/picture_pile.cc View 1 2 3 4 3 chunks +13 lines, -13 lines 0 comments Download
M cc/resources/picture_pile_impl.cc View 1 chunk +3 lines, -1 line 0 comments Download
A cc/resources/picture_pile_unittest.cc View 1 2 3 4 1 chunk +201 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
danakj
7 years, 7 months ago (2013-05-03 00:47:37 UTC) #1
enne (OOO)
https://codereview.chromium.org/14874004/diff/7017/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/14874004/diff/7017/cc/resources/picture_layer_tiling.cc#newcode55 cc/resources/picture_layer_tiling.cc:55: DCHECK(!gfx::ToFlooredSize( Oh, good thought to put a check here. ...
7 years, 7 months ago (2013-05-03 07:00:57 UTC) #2
danakj
https://codereview.chromium.org/14874004/diff/7017/cc/resources/picture_pile.cc File cc/resources/picture_pile.cc (right): https://codereview.chromium.org/14874004/diff/7017/cc/resources/picture_pile.cc#newcode75 cc/resources/picture_pile.cc:75: for (int i = 0; i < 2; ++i) ...
7 years, 7 months ago (2013-05-03 17:49:20 UTC) #3
danakj
Updated, and added 2 more tests. PTAL
7 years, 7 months ago (2013-05-03 18:24:23 UTC) #4
enne (OOO)
https://codereview.chromium.org/14874004/diff/18001/cc/resources/picture_pile.cc File cc/resources/picture_pile.cc (right): https://codereview.chromium.org/14874004/diff/18001/cc/resources/picture_pile.cc#newcode88 cc/resources/picture_pile.cc:88: if (tile_invalidation.width() < buffer_pixels() * 2 + 1) Sorry, ...
7 years, 7 months ago (2013-05-05 01:26:47 UTC) #5
danakj
Ok, so here's our baseline for discussion. We have: http://i.imgur.com/HmreODo.png - A Red tile - ...
7 years, 7 months ago (2013-05-06 14:40:06 UTC) #6
enne (OOO)
Your picture has convinced me that what I said in comment #5 was wrong. You're ...
7 years, 7 months ago (2013-05-06 15:41:11 UTC) #7
danakj
On Mon, May 6, 2013 at 11:41 AM, <enne@chromium.org> wrote: > Your picture has convinced ...
7 years, 7 months ago (2013-05-06 17:03:48 UTC) #8
enne (OOO)
https://codereview.chromium.org/14874004/diff/25001/cc/resources/picture_pile_unittest.cc File cc/resources/picture_pile_unittest.cc (right): https://codereview.chromium.org/14874004/diff/25001/cc/resources/picture_pile_unittest.cc#newcode28 cc/resources/picture_pile_unittest.cc:28: const int kBasePictureSize = 3000; Maybe make this configurable ...
7 years, 7 months ago (2013-05-09 22:55:43 UTC) #9
danakj
PTAL https://codereview.chromium.org/14874004/diff/25001/cc/resources/picture_pile_unittest.cc File cc/resources/picture_pile_unittest.cc (right): https://codereview.chromium.org/14874004/diff/25001/cc/resources/picture_pile_unittest.cc#newcode28 cc/resources/picture_pile_unittest.cc:28: const int kBasePictureSize = 3000; On 2013/05/09 22:55:44, ...
7 years, 7 months ago (2013-05-09 23:11:53 UTC) #10
enne (OOO)
lgtm
7 years, 7 months ago (2013-05-09 23:15:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14874004/33001
7 years, 7 months ago (2013-05-09 23:17:11 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=126196
7 years, 7 months ago (2013-05-10 00:39:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14874004/33001
7 years, 7 months ago (2013-05-10 01:45:24 UTC) #14
commit-bot: I haz the power
7 years, 7 months ago (2013-05-10 03:37:49 UTC) #15
Message was sent while issue was closed.
Change committed as 199359

Powered by Google App Engine
This is Rietveld 408576698