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

Issue 820703002: c:: Give the raster source to the PictureLayerTilings. (Closed)

Created:
6 years ago by danakj
Modified:
6 years ago
Reviewers:
vmpstr, enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews, piman, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

c:: Give the raster source to the PictureLayerTilings. We were passing around just the layer_bounds, and passing the raster source through the tilings to the tiles. Instead, let the tiling save the raster source and then it can skip creating unrasterable tiles itself making the PictureLayerImpl::CreateTile no longer able to return a nullptr. R=enne, vmpstr BUG=387116 Committed: https://crrev.com/16f38e8107f49d00d6bfe694e33ea61d394aaa7b Cr-Commit-Position: refs/heads/master@{#309251}

Patch Set 1 #

Total comments: 5

Patch Set 2 : rastersource: . #

Patch Set 3 : rastersource: fixccpt #

Patch Set 4 : rastersource: removedautos #

Patch Set 5 : rastersource: . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -211 lines) Patch
M cc/debug/rasterize_and_record_benchmark_impl.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 4 chunks +7 lines, -11 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 5 chunks +9 lines, -12 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 9 chunks +37 lines, -39 lines 0 comments Download
M cc/resources/picture_layer_tiling_perftest.cc View 1 2 3 4 4 chunks +12 lines, -4 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.h View 1 1 chunk +7 lines, -6 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 1 5 chunks +10 lines, -10 lines 0 comments Download
M cc/resources/picture_layer_tiling_set_unittest.cc View 1 2 3 8 chunks +35 lines, -28 lines 0 comments Download
M cc/resources/picture_layer_tiling_unittest.cc View 1 2 3 39 chunks +123 lines, -85 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.h View 3 chunks +1 line, -3 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.cc View 3 chunks +1 line, -5 lines 0 comments Download
M cc/test/fake_picture_pile_impl.h View 1 chunk +8 lines, -0 lines 0 comments Download
M cc/test/fake_picture_pile_impl.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
danakj
My original motivation for this was to replace PLTClient::CreateTile with PLTClient::GetTileManager. But there's a bunch ...
6 years ago (2014-12-19 17:12:14 UTC) #1
tfarina
https://codereview.chromium.org/820703002/diff/1/cc/resources/picture_layer_tiling_set_unittest.cc File cc/resources/picture_layer_tiling_set_unittest.cc (right): https://codereview.chromium.org/820703002/diff/1/cc/resources/picture_layer_tiling_set_unittest.cc#newcode37 cc/resources/picture_layer_tiling_set_unittest.cc:37: auto pile = I know auto is allowed now ...
6 years ago (2014-12-19 17:18:11 UTC) #2
tfarina
On Fri, Dec 19, 2014 at 3:18 PM, <tfarina@chromium.org> wrote: > > > https://codereview.chromium.org/820703002/diff/1/cc/ > ...
6 years ago (2014-12-19 17:19:49 UTC) #3
danakj
https://codereview.chromium.org/820703002/diff/1/cc/resources/picture_layer_tiling_set_unittest.cc File cc/resources/picture_layer_tiling_set_unittest.cc (right): https://codereview.chromium.org/820703002/diff/1/cc/resources/picture_layer_tiling_set_unittest.cc#newcode37 cc/resources/picture_layer_tiling_set_unittest.cc:37: auto pile = On 2014/12/19 17:18:11, tfarina wrote: > ...
6 years ago (2014-12-19 17:22:07 UTC) #4
tfarina
On Fri, Dec 19, 2014 at 3:22 PM, <danakj@chromium.org> wrote: > > > https://codereview.chromium.org/820703002/diff/1/cc/ > ...
6 years ago (2014-12-19 17:27:30 UTC) #5
danakj
On 2014/12/19 17:27:30, tfarina wrote: > On Fri, Dec 19, 2014 at 3:22 PM, <mailto:danakj@chromium.org> ...
6 years ago (2014-12-19 17:52:02 UTC) #6
vmpstr
On 2014/12/19 17:52:02, danakj wrote: > On 2014/12/19 17:27:30, tfarina wrote: > > On Fri, ...
6 years ago (2014-12-19 17:59:18 UTC) #7
enne (OOO)
lgtm https://codereview.chromium.org/820703002/diff/1/cc/resources/picture_layer_tiling_set_unittest.cc File cc/resources/picture_layer_tiling_set_unittest.cc (right): https://codereview.chromium.org/820703002/diff/1/cc/resources/picture_layer_tiling_set_unittest.cc#newcode37 cc/resources/picture_layer_tiling_set_unittest.cc:37: auto pile = +1 to auto
6 years ago (2014-12-19 18:02:55 UTC) #8
tfarina
https://codereview.chromium.org/820703002/diff/1/cc/resources/picture_layer_tiling_set_unittest.cc File cc/resources/picture_layer_tiling_set_unittest.cc (right): https://codereview.chromium.org/820703002/diff/1/cc/resources/picture_layer_tiling_set_unittest.cc#newcode37 cc/resources/picture_layer_tiling_set_unittest.cc:37: auto pile = On 2014/12/19 18:02:55, enne wrote: > ...
6 years ago (2014-12-19 18:11:34 UTC) #9
danakj
https://codereview.chromium.org/820703002/diff/1/cc/resources/picture_layer_tiling_set_unittest.cc File cc/resources/picture_layer_tiling_set_unittest.cc (right): https://codereview.chromium.org/820703002/diff/1/cc/resources/picture_layer_tiling_set_unittest.cc#newcode37 cc/resources/picture_layer_tiling_set_unittest.cc:37: auto pile = On 2014/12/19 18:11:34, tfarina wrote: > ...
6 years ago (2014-12-19 18:26:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/820703002/20001
6 years ago (2014-12-19 18:27:20 UTC) #12
danakj
removed autos
6 years ago (2014-12-19 19:12:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/820703002/60001
6 years ago (2014-12-19 19:13:54 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/27866) android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/44600) android_dbg_tests_recipe ...
6 years ago (2014-12-19 19:23:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/820703002/80001
6 years ago (2014-12-19 19:27:58 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years ago (2014-12-19 20:50:56 UTC) #21
commit-bot: I haz the power
6 years ago (2014-12-19 20:53:06 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/16f38e8107f49d00d6bfe694e33ea61d394aaa7b
Cr-Commit-Position: refs/heads/master@{#309251}

Powered by Google App Engine
This is Rietveld 408576698