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

Issue 257773009: cc: Change required_for_activation bookkeeping. (Closed)

Created:
6 years, 8 months ago by vmpstr
Modified:
6 years, 7 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, Ken Russell (switch to Gerrit), bajones, Zhenyao Mo, alokp
Visibility:
Public.

Description

cc: Change required_for_activation bookkeeping. This patch changes the bookkeeping of whether required for activation tiles all received memory during AssignGpuMemory. The new approach doesn't rely on the fact that we process every tile in that loop, thus allowing us to early out or use another approach at getting tiles that does not guarantee that every tile will be visited. The end goal is to evaluate if we can activate when the rasterizer notifies us that all tasks given to it that are required for activation are finished rather than trying to figure this out when we schedule tasks. R=reveman, enne Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267400

Patch Set 1 #

Patch Set 2 : test fixes #

Total comments: 7

Patch Set 3 : review #

Total comments: 4

Patch Set 4 : review #

Total comments: 2

Patch Set 5 : #

Total comments: 10

Patch Set 6 : rebase + update #

Total comments: 1

Patch Set 7 : #

Patch Set 8 : rebase #

Patch Set 9 : rebase #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -10 lines) Patch
M cc/layers/picture_layer_impl.h View 1 2 3 4 5 6 3 chunks +12 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 7 6 chunks +16 lines, -4 lines 2 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 5 5 chunks +24 lines, -4 lines 2 comments Download
M cc/test/fake_tile_manager_client.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
vmpstr
Please take a look
6 years, 8 months ago (2014-04-25 17:35:06 UTC) #1
vmpstr
On 2014/04/25 17:35:06, vmpstr wrote: > Please take a look Also, bookkeeping is one of ...
6 years, 8 months ago (2014-04-25 17:39:19 UTC) #2
reveman
Might be worth explaining in the description that the end goal is to evaluate if ...
6 years, 8 months ago (2014-04-25 20:44:07 UTC) #3
vmpstr
https://codereview.chromium.org/257773009/diff/20001/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/257773009/diff/20001/cc/layers/picture_layer_impl.h#newcode142 cc/layers/picture_layer_impl.h:142: size_t RequiredForActivationTileNeedsRasterCount() const { On 2014/04/25 20:44:08, reveman wrote: ...
6 years, 8 months ago (2014-04-25 22:09:52 UTC) #4
vmpstr
PTAL.
6 years, 8 months ago (2014-04-25 22:10:00 UTC) #5
reveman
https://codereview.chromium.org/257773009/diff/20001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/257773009/diff/20001/cc/resources/tile_manager.cc#newcode679 cc/resources/tile_manager.cc:679: !tile->required_for_activation()) { On 2014/04/25 22:09:52, vmpstr wrote: > On ...
6 years, 8 months ago (2014-04-25 22:23:59 UTC) #6
vmpstr
PTAL https://codereview.chromium.org/257773009/diff/40001/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/257773009/diff/40001/cc/layers/picture_layer_impl.h#newcode147 cc/layers/picture_layer_impl.h:147: size_t TilesRequiredForActivationThatNeedsRasterCount() const { On 2014/04/25 22:23:59, reveman ...
6 years, 8 months ago (2014-04-25 23:16:14 UTC) #7
reveman
lgtm % enne's review https://codereview.chromium.org/257773009/diff/50001/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/257773009/diff/50001/cc/layers/picture_layer_impl.h#newcode232 cc/layers/picture_layer_impl.h:232: size_t unitialized_tiles_required_for_activation_count_; uninitialized_
6 years, 8 months ago (2014-04-25 23:39:53 UTC) #8
vmpstr
https://codereview.chromium.org/257773009/diff/50001/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/257773009/diff/50001/cc/layers/picture_layer_impl.h#newcode232 cc/layers/picture_layer_impl.h:232: size_t unitialized_tiles_required_for_activation_count_; On 2014/04/25 23:39:53, reveman wrote: > uninitialized_ ...
6 years, 8 months ago (2014-04-25 23:42:10 UTC) #9
vmpstr
On 2014/04/25 23:42:10, vmpstr wrote: > https://codereview.chromium.org/257773009/diff/50001/cc/layers/picture_layer_impl.h > File cc/layers/picture_layer_impl.h (right): > > https://codereview.chromium.org/257773009/diff/50001/cc/layers/picture_layer_impl.h#newcode232 > ...
6 years, 7 months ago (2014-04-29 17:08:22 UTC) #10
enne (OOO)
https://codereview.chromium.org/257773009/diff/70001/cc/layers/layer_impl.h File cc/layers/layer_impl.h (right): https://codereview.chromium.org/257773009/diff/70001/cc/layers/layer_impl.h#newcode182 cc/layers/layer_impl.h:182: virtual void NotifyTileInitialized(const Tile* tile) {} Can this get ...
6 years, 7 months ago (2014-04-29 19:44:19 UTC) #11
vmpstr
PTAL https://codereview.chromium.org/257773009/diff/70001/cc/layers/layer_impl.h File cc/layers/layer_impl.h (right): https://codereview.chromium.org/257773009/diff/70001/cc/layers/layer_impl.h#newcode182 cc/layers/layer_impl.h:182: virtual void NotifyTileInitialized(const Tile* tile) {} On 2014/04/29 ...
6 years, 7 months ago (2014-04-29 22:56:20 UTC) #12
enne (OOO)
lgtm https://codereview.chromium.org/257773009/diff/90001/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/257773009/diff/90001/cc/layers/picture_layer_impl.h#newcode232 cc/layers/picture_layer_impl.h:232: size_t uninitialized_tiles_required_for_activation_count_; size_t -> int
6 years, 7 months ago (2014-04-29 23:01:34 UTC) #13
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 7 months ago (2014-04-30 18:35:21 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/257773009/150001
6 years, 7 months ago (2014-04-30 18:36:19 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 19:32:12 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-04-30 19:32:13 UTC) #17
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 7 months ago (2014-04-30 21:24:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/257773009/150001
6 years, 7 months ago (2014-04-30 21:24:54 UTC) #19
commit-bot: I haz the power
Change committed as 267400
6 years, 7 months ago (2014-05-01 00:45:21 UTC) #20
Ken Russell (switch to Gerrit)
It looks like this patch caused the context_lost tests to start failing repeatably on Mac ...
6 years, 7 months ago (2014-05-01 13:12:00 UTC) #21
Ken Russell (switch to Gerrit)
A revert of this CL has been created in https://codereview.chromium.org/269633006/ by kbr@chromium.org. The reason for ...
6 years, 7 months ago (2014-05-01 13:12:37 UTC) #22
pfeldman
A revert of this CL has been created in https://codereview.chromium.org/268683002/ by pfeldman@chromium.org. The reason for ...
6 years, 7 months ago (2014-05-01 13:30:49 UTC) #23
reveman
https://codereview.chromium.org/257773009/diff/150001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/257773009/diff/150001/cc/resources/tile_manager.cc#newcode547 cc/resources/tile_manager.cc:547: tile_version.set_rasterize_on_demand(); I think we need to call NotifyTileInitialized() here. ...
6 years, 7 months ago (2014-05-01 13:38:09 UTC) #24
reveman
https://codereview.chromium.org/257773009/diff/150001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/257773009/diff/150001/cc/layers/picture_layer_impl.cc#newcode428 cc/layers/picture_layer_impl.cc:428: --uninitialized_tiles_required_for_activation_count_; what if 2 different versions of the tile ...
6 years, 7 months ago (2014-05-01 14:16:59 UTC) #25
vmpstr
https://codereview.chromium.org/257773009/diff/150001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/257773009/diff/150001/cc/layers/picture_layer_impl.cc#newcode428 cc/layers/picture_layer_impl.cc:428: --uninitialized_tiles_required_for_activation_count_; On 2014/05/01 14:17:00, reveman wrote: > what if ...
6 years, 7 months ago (2014-05-01 17:42:13 UTC) #26
Ken Russell (switch to Gerrit)
FYI, this also caused Gmail to stop rendering in 36.0.1969.0 (Official Build 267516) canary on ...
6 years, 7 months ago (2014-05-02 01:29:10 UTC) #27
Denis Kuznetsov (DE-MUC)
6 years, 7 months ago (2014-05-08 14:47:18 UTC) #28
Message was sent while issue was closed.
On 2014/05/02 01:29:10, Ken Russell wrote:
> FYI, this also caused Gmail to stop rendering in 36.0.1969.0 (Official Build
> 267516) canary on Mac OS.
> 
> Need more tests which would have caught this failure.

Also not that is have caused issuses in ChromeOS oobe/login UI:
https://code.google.com/p/chromium/issues/detail?id=369256
https://code.google.com/p/chromium/issues/detail?id=370170

Powered by Google App Engine
This is Rietveld 408576698