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

Issue 183663003: cc: Add tiling raster tile iterators. (Closed)

Created:
6 years, 9 months ago by vmpstr
Modified:
6 years, 9 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, epenner, aelias_OOO_until_Jul13
Visibility:
Public.

Description

cc: Add tiling raster tile iterators. This patch adds PictureLayerTiling::Tiling{Raster,Eviction}TileIterator classes. This is required for a larger change to tile prioritization. Currently, the classes are not used by anything except unit and perf tests. BUG=329686 R=enne@chromium.org, reveman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257041

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 15

Patch Set 8 : #

Total comments: 22

Patch Set 9 : update #

Patch Set 10 : update #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+441 lines, -52 lines) Patch
M cc/base/tiling_data.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M cc/base/tiling_data.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
M cc/resources/managed_tile_state.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 4 5 6 7 8 9 10 6 chunks +62 lines, -4 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +110 lines, -17 lines 0 comments Download
M cc/resources/picture_layer_tiling_perftest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +36 lines, -2 lines 0 comments Download
M cc/resources/picture_layer_tiling_unittest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +174 lines, -6 lines 0 comments Download
M cc/resources/tile.h View 4 chunks +19 lines, -2 lines 0 comments Download
M cc/resources/tile.cc View 1 2 2 chunks +25 lines, -0 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -20 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
vmpstr
Hi, This is a patch that adds the iterators to the tiling. I tried to ...
6 years, 9 months ago (2014-02-27 21:18:33 UTC) #1
enne (OOO)
I have to admit I'm a little concerned about the perf regression. Is it possible ...
6 years, 9 months ago (2014-02-27 21:53:38 UTC) #2
vmpstr
On 2014/02/27 21:53:38, enne wrote: > I have to admit I'm a little concerned about ...
6 years, 9 months ago (2014-02-27 22:49:47 UTC) #3
enne (OOO)
On 2014/02/27 22:49:47, vmpstr wrote: > OK, I can work on doing this. The biggest ...
6 years, 9 months ago (2014-02-27 22:55:48 UTC) #4
vmpstr
OK, I think this does what you proposed. This is still quite a bad perf ...
6 years, 9 months ago (2014-03-04 21:39:39 UTC) #5
epennerAtGoogle
Cool stuff. The iterator concept is nice. I looked mostly at the unit-test to figure ...
6 years, 9 months ago (2014-03-04 22:58:32 UTC) #6
vmpstr
On 2014/03/04 22:58:32, epennerAtGoogle wrote: > Cool stuff. The iterator concept is nice. > > ...
6 years, 9 months ago (2014-03-04 23:45:20 UTC) #7
epennerAtGoogle
Doh! https://codereview.chromium.org/183663003/diff/120001/cc/resources/picture_layer_tiling_unittest.cc File cc/resources/picture_layer_tiling_unittest.cc (right): https://codereview.chromium.org/183663003/diff/120001/cc/resources/picture_layer_tiling_unittest.cc#newcode784 cc/resources/picture_layer_tiling_unittest.cc:784: for (int i = 0; i < 3; ...
6 years, 9 months ago (2014-03-05 00:05:50 UTC) #8
epennerAtGoogle
Couple more comments that I missed. https://codereview.chromium.org/183663003/diff/120001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/183663003/diff/120001/cc/resources/picture_layer_tiling.cc#newcode764 cc/resources/picture_layer_tiling.cc:764: operator++() { General ...
6 years, 9 months ago (2014-03-05 00:16:02 UTC) #9
vmpstr
Just answers, no new patch set yet. https://codereview.chromium.org/183663003/diff/120001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/183663003/diff/120001/cc/resources/picture_layer_tiling.cc#newcode764 cc/resources/picture_layer_tiling.cc:764: operator++() { ...
6 years, 9 months ago (2014-03-05 00:37:20 UTC) #10
vmpstr
PTAL. I suspect I might've leaked a few other changes in here like making CreateTile ...
6 years, 9 months ago (2014-03-05 01:20:25 UTC) #11
vmpstr
On 2014/03/05 01:20:25, vmpstr wrote: > PTAL. I suspect I might've leaked a few other ...
6 years, 9 months ago (2014-03-05 01:21:22 UTC) #12
vmpstr
On 2014/03/05 01:21:22, vmpstr wrote: > On 2014/03/05 01:20:25, vmpstr wrote: > > PTAL. I ...
6 years, 9 months ago (2014-03-05 23:17:11 UTC) #13
enne (OOO)
Can you update the description to remove the perf warning? https://codereview.chromium.org/183663003/diff/140001/cc/base/tiling_data.cc File cc/base/tiling_data.cc (right): https://codereview.chromium.org/183663003/diff/140001/cc/base/tiling_data.cc#newcode77 ...
6 years, 9 months ago (2014-03-06 02:30:44 UTC) #14
epenner
Just some suggestions. https://codereview.chromium.org/183663003/diff/140001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/183663003/diff/140001/cc/resources/picture_layer_tiling.cc#newcode559 cc/resources/picture_layer_tiling.cc:559: size_t PictureLayerTiling::RequiredGPUMemoryInBytes() const { Could this ...
6 years, 9 months ago (2014-03-06 10:21:40 UTC) #15
vmpstr
PTAL. https://codereview.chromium.org/183663003/diff/140001/cc/base/tiling_data.cc File cc/base/tiling_data.cc (right): https://codereview.chromium.org/183663003/diff/140001/cc/base/tiling_data.cc#newcode77 cc/base/tiling_data.cc:77: RoundDown(x - 2 * border_texels_, inner_tile_width) / inner_tile_width; ...
6 years, 9 months ago (2014-03-07 18:22:23 UTC) #16
enne (OOO)
https://codereview.chromium.org/183663003/diff/140001/cc/resources/picture_layer_tiling.h File cc/resources/picture_layer_tiling.h (right): https://codereview.chromium.org/183663003/diff/140001/cc/resources/picture_layer_tiling.h#newcode271 cc/resources/picture_layer_tiling.h:271: gfx::Rect current_visible_rect_in_content_space_; On 2014/03/07 18:22:23, vmpstr wrote: > On ...
6 years, 9 months ago (2014-03-10 21:36:29 UTC) #17
vmpstr
On 2014/03/10 21:36:29, enne wrote: > https://codereview.chromium.org/183663003/diff/140001/cc/resources/picture_layer_tiling.h > File cc/resources/picture_layer_tiling.h (right): > > https://codereview.chromium.org/183663003/diff/140001/cc/resources/picture_layer_tiling.h#newcode271 > ...
6 years, 9 months ago (2014-03-10 22:37:12 UTC) #18
vmpstr
PTAL.
6 years, 9 months ago (2014-03-11 17:07:58 UTC) #19
enne (OOO)
Okay, I take it all back. I think you were right that it would make ...
6 years, 9 months ago (2014-03-11 18:33:38 UTC) #20
epennerAtGoogle
https://codereview.chromium.org/183663003/diff/140001/cc/resources/picture_layer_tiling_perftest.cc File cc/resources/picture_layer_tiling_perftest.cc (right): https://codereview.chromium.org/183663003/diff/140001/cc/resources/picture_layer_tiling_perftest.cc#newcode144 cc/resources/picture_layer_tiling_perftest.cc:144: "runs/s", I'm sure you jest, but I'm not sure ...
6 years, 9 months ago (2014-03-11 19:04:50 UTC) #21
vmpstr
PTAL On 2014/03/11 19:04:50, epennerAtGoogle wrote: > https://codereview.chromium.org/183663003/diff/140001/cc/resources/picture_layer_tiling_perftest.cc > File cc/resources/picture_layer_tiling_perftest.cc (right): > > https://codereview.chromium.org/183663003/diff/140001/cc/resources/picture_layer_tiling_perftest.cc#newcode144 ...
6 years, 9 months ago (2014-03-11 21:15:56 UTC) #22
vmpstr
ping :)
6 years, 9 months ago (2014-03-13 17:51:38 UTC) #23
enne (OOO)
lgtm
6 years, 9 months ago (2014-03-13 18:08:01 UTC) #24
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 9 months ago (2014-03-13 22:26:36 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/183663003/240001
6 years, 9 months ago (2014-03-13 22:26:48 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 22:35:41 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_compile_dbg
6 years, 9 months ago (2014-03-13 22:35:42 UTC) #28
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 9 months ago (2014-03-13 22:50:55 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/183663003/240001
6 years, 9 months ago (2014-03-13 22:53:02 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/183663003/240001
6 years, 9 months ago (2014-03-14 00:24:06 UTC) #31
commit-bot: I haz the power
6 years, 9 months ago (2014-03-14 06:31:00 UTC) #32
Message was sent while issue was closed.
Change committed as 257041

Powered by Google App Engine
This is Rietveld 408576698