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

Issue 468983002: Still produce quad when tile OOM and on demand raster is not allowed (Closed)

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

Description

Still produce quad when tile OOM and on demand raster is not allowed When on demand raster is not allowed, when tiles are OOM, checkerboard or solid color quad should be produced rather than nothing. Add a unittest for this exact same scenario. BUG=402321 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289480 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291101

Patch Set 1 #

Total comments: 15

Patch Set 2 : address review comments #

Patch Set 3 : no need for fake tile manager #

Total comments: 4

Patch Set 4 : address review comments #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : fix linux asan bot fail #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -3 lines) Patch
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 7 4 chunks +7 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 6 7 1 chunk +60 lines, -0 lines 0 comments Download
M cc/resources/prioritized_tile_set.cc View 1 2 3 4 5 6 1 chunk +8 lines, -1 line 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
weiliangc
overall: danakj
6 years, 4 months ago (2014-08-13 16:04:55 UTC) #1
danakj
> or solid color quad should be produced rather than nother. "nother"? :)
6 years, 4 months ago (2014-08-13 16:06:03 UTC) #2
danakj
Thanks! Mostly trying to wrap my head around what the test needs to do and ...
6 years, 4 months ago (2014-08-13 16:26:42 UTC) #3
weiliangc
https://codereview.chromium.org/468983002/diff/1/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/468983002/diff/1/cc/layers/picture_layer_impl_unittest.cc#newcode3126 cc/layers/picture_layer_impl_unittest.cc:3126: host_impl_.CreateFakeTileManager(); On 2014/08/13 16:26:42, danakj wrote: > FakeTileManager seems ...
6 years, 4 months ago (2014-08-13 17:45:15 UTC) #4
weiliangc
https://codereview.chromium.org/468983002/diff/1/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/468983002/diff/1/cc/layers/picture_layer_impl_unittest.cc#newcode3157 cc/layers/picture_layer_impl_unittest.cc:3157: ->AssignMemoryToTiles(state); On 2014/08/13 17:45:15, weiliangc wrote: > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 20:01:23 UTC) #5
weiliangc
PTAL. No more hacks with FakeTileManager.
6 years, 4 months ago (2014-08-13 20:15:17 UTC) #6
danakj
Awesome job LGTM https://codereview.chromium.org/468983002/diff/60001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/468983002/diff/60001/cc/layers/picture_layer_impl_unittest.cc#newcode3118 cc/layers/picture_layer_impl_unittest.cc:3118: MockOcclusionTracker<LayerImpl> occlusion_tracker; can you make this ...
6 years, 4 months ago (2014-08-13 21:48:26 UTC) #7
weiliangc
The CQ bit was checked by weiliangc@chromium.org
6 years, 4 months ago (2014-08-13 22:24:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/weiliangc@chromium.org/468983002/100001
6 years, 4 months ago (2014-08-13 22:26:46 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (100001) as 289480
6 years, 4 months ago (2014-08-14 07:29:43 UTC) #10
weiliangc
PLAT. Reverted because fail Linux ASAN. Order of tiles in PrioritizedTileSet NOW_AND_READY_TO_DRAW_BIN is depended on ...
6 years, 4 months ago (2014-08-14 16:36:09 UTC) #11
danakj
vmpstr/reveman PTAL at cc/resources/prioritized_tile_set.cc
6 years, 4 months ago (2014-08-14 16:38:10 UTC) #12
weiliangc
On 2014/08/14 16:38:10, danakj wrote: > vmpstr/reveman PTAL at cc/resources/prioritized_tile_set.cc Friendly ping?
6 years, 4 months ago (2014-08-18 18:34:08 UTC) #13
vmpstr
prioritized_tile_set lgtm. Out of curiousity, what is the change in there fixing? Ie, why do ...
6 years, 4 months ago (2014-08-18 18:53:06 UTC) #14
weiliangc
On 2014/08/18 18:53:06, vmpstr wrote: > prioritized_tile_set lgtm. Out of curiousity, what is the change ...
6 years, 4 months ago (2014-08-18 19:02:56 UTC) #15
weiliangc
The CQ bit was checked by weiliangc@chromium.org
6 years, 4 months ago (2014-08-20 17:04:41 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/weiliangc@chromium.org/468983002/160001
6 years, 4 months ago (2014-08-20 17:06:02 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-20 18:43:54 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-20 19:16:46 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/5199)
6 years, 4 months ago (2014-08-20 19:16:47 UTC) #20
weiliangc
The CQ bit was checked by weiliangc@chromium.org
6 years, 4 months ago (2014-08-21 15:56:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/weiliangc@chromium.org/468983002/160001
6 years, 4 months ago (2014-08-21 15:57:55 UTC) #22
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 16:55:57 UTC) #23
Message was sent while issue was closed.
Committed patchset #8 (160001) as 291101

Powered by Google App Engine
This is Rietveld 408576698