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

Issue 428533008: cc: Remove vectors from tiling eviction tile iterator. (Closed)

Created:
6 years, 4 months ago by vmpstr
Modified:
6 years, 4 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: Remove vectors from tiling eviction tile iterator. This patch removes vectors from the eviction tile iterator at the layer level. It reworks the code a bit to use the underlying layer's tilings directly using indecies and ranges, instead of constructing a separate vector to hold the values. As well, this ensures that the iterators are only created when they are visited. R=reveman Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287688

Patch Set 1 #

Patch Set 2 : \ #

Total comments: 3

Patch Set 3 : update #

Total comments: 5

Patch Set 4 : update #

Total comments: 38

Patch Set 5 : update #

Total comments: 2

Patch Set 6 : update #

Total comments: 5

Patch Set 7 : update #

Patch Set 8 : #

Total comments: 15

Patch Set 9 : update #

Patch Set 10 : rebase #

Patch Set 11 : #

Patch Set 12 : removed unused var #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -131 lines) Patch
M cc/layers/picture_layer_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +24 lines, -6 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +152 lines, -87 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -8 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 4 5 6 7 8 9 4 chunks +65 lines, -13 lines 0 comments Download
M cc/resources/picture_layer_tiling_perftest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -2 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +35 lines, -15 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
vmpstr
reveman@, this is a very rough draft of removing vectors from the layer eviction iterator. ...
6 years, 4 months ago (2014-07-28 23:32:07 UTC) #1
reveman
https://codereview.chromium.org/428533008/diff/20001/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/428533008/diff/20001/cc/layers/picture_layer_impl.h#newcode87 cc/layers/picture_layer_impl.h:87: }; Can you describe all the phases that this ...
6 years, 4 months ago (2014-07-29 01:24:25 UTC) #2
vmpstr
PTAL. After discussing this offline, I put in some changes. I think this looks better. ...
6 years, 4 months ago (2014-07-29 07:31:40 UTC) #3
vmpstr
On 2014/07/29 07:31:40, vmpstr wrote: > PTAL. After discussing this offline, I put in some ...
6 years, 4 months ago (2014-07-29 07:32:09 UTC) #4
reveman
https://codereview.chromium.org/428533008/diff/40001/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/428533008/diff/40001/cc/layers/picture_layer_impl.h#newcode95 cc/layers/picture_layer_impl.h:95: TilingIterationRange ranges_[5]; Some enums representing each stage and each ...
6 years, 4 months ago (2014-07-29 16:50:50 UTC) #5
vmpstr
https://codereview.chromium.org/428533008/diff/40001/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/428533008/diff/40001/cc/layers/picture_layer_impl.h#newcode95 cc/layers/picture_layer_impl.h:95: TilingIterationRange ranges_[5]; On 2014/07/29 16:50:49, reveman wrote: > Some ...
6 years, 4 months ago (2014-07-29 17:08:49 UTC) #6
vmpstr
PTAL. I ran the perftests on this and the gains are similar to gains on ...
6 years, 4 months ago (2014-07-29 18:03:46 UTC) #7
reveman
https://codereview.chromium.org/428533008/diff/40001/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/428533008/diff/40001/cc/layers/picture_layer_impl.h#newcode101 cc/layers/picture_layer_impl.h:101: }; On 2014/07/29 17:08:49, vmpstr wrote: > On 2014/07/29 ...
6 years, 4 months ago (2014-07-29 18:04:33 UTC) #8
reveman
Only had a chance to look at *_layer_impl.cc/h yet. https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc#newcode1683 cc/layers/picture_layer_impl.cc:1683: ...
6 years, 4 months ago (2014-07-29 21:41:33 UTC) #9
vmpstr
PTAL https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc#newcode1683 cc/layers/picture_layer_impl.cc:1683: } On 2014/07/29 21:41:32, reveman wrote: > I ...
6 years, 4 months ago (2014-07-30 00:18:52 UTC) #10
reveman
https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc#newcode1683 cc/layers/picture_layer_impl.cc:1683: } On 2014/07/30 00:18:51, vmpstr wrote: > On 2014/07/29 ...
6 years, 4 months ago (2014-07-30 16:06:48 UTC) #11
vmpstr
PTAL. https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc#newcode1683 cc/layers/picture_layer_impl.cc:1683: } On 2014/07/30 16:06:47, reveman wrote: > On ...
6 years, 4 months ago (2014-07-30 20:06:39 UTC) #12
reveman
I'll have another look after you rebase this onto my TilingRange patch. https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc ...
6 years, 4 months ago (2014-07-31 15:32:48 UTC) #13
vmpstr
PTAL https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc#newcode1694 cc/layers/picture_layer_impl.cc:1694: break; On 2014/07/31 15:32:47, reveman wrote: > On ...
6 years, 4 months ago (2014-08-01 06:04:48 UTC) #14
reveman
https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/428533008/diff/60001/cc/layers/picture_layer_impl.cc#newcode1694 cc/layers/picture_layer_impl.cc:1694: break; On 2014/08/01 06:04:48, vmpstr wrote: > On 2014/07/31 ...
6 years, 4 months ago (2014-08-01 17:54:48 UTC) #15
vmpstr
For the record, this patch initially was to create a tiling iterator only when required. ...
6 years, 4 months ago (2014-08-01 19:39:50 UTC) #16
reveman
Please don't make any changes that you don't agree with. You can land this in ...
6 years, 4 months ago (2014-08-04 14:56:18 UTC) #17
vmpstr
On 2014/08/04 14:56:18, reveman wrote: > Please don't make any changes that you don't agree ...
6 years, 4 months ago (2014-08-04 18:32:40 UTC) #18
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 4 months ago (2014-08-04 18:33:08 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/428533008/160001
6 years, 4 months ago (2014-08-04 18:34:51 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-04 19:05:10 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-04 19:07:18 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/37174) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/2475) ios_rel_device ...
6 years, 4 months ago (2014-08-04 19:07:19 UTC) #23
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 4 months ago (2014-08-04 22:26:47 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/428533008/180001
6 years, 4 months ago (2014-08-04 22:28:38 UTC) #25
vmpstr
The CQ bit was unchecked by vmpstr@chromium.org
6 years, 4 months ago (2014-08-04 22:55:19 UTC) #26
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 4 months ago (2014-08-05 01:40:11 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/428533008/200001
6 years, 4 months ago (2014-08-05 01:42:14 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-05 05:56:32 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 06:02:23 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/2707)
6 years, 4 months ago (2014-08-05 06:02:24 UTC) #31
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 4 months ago (2014-08-05 18:59:20 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/428533008/220001
6 years, 4 months ago (2014-08-05 19:00:06 UTC) #33
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-05 22:43:01 UTC) #34
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 05:47:22 UTC) #35
Message was sent while issue was closed.
Change committed as 287688

Powered by Google App Engine
This is Rietveld 408576698