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

Issue 666273002: cc: Added raster source. (Closed)

Created:
6 years, 2 months ago by vmpstr
Modified:
6 years, 1 month ago
Reviewers:
danakj, reveman, enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Added raster source. This patch adds a raster source that is an opaque interface for picture pile impl. It also removes the picture pile base ref count and adds it to the raster source. This makes it possible to use a member picture pile, instead of a ref pointer with one owner. What is missing here is the next step: removing picture pile base in favour of keeping shared data on the pile and copying it over. This should allow us to clean up the data and only share what is actually shared. R=danakj, enne, reveman Committed: https://crrev.com/394e2b51f40cbc5a522300073c7c058f95889901 Cr-Commit-Position: refs/heads/master@{#301667}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : update #

Patch Set 4 : +restrict copy #

Patch Set 5 : thread safe #

Total comments: 6

Patch Set 6 : reviews #

Total comments: 17

Patch Set 7 : update #

Patch Set 8 : update #

Total comments: 4

Patch Set 9 : update #

Patch Set 10 : #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+586 lines, -509 lines) Patch
M cc/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 2 3 4 5 6 7 8 5 chunks +11 lines, -9 lines 0 comments Download
M cc/layers/picture_layer.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/picture_layer.cc View 1 2 3 4 5 6 6 chunks +20 lines, -21 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +7 lines, -7 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/bitmap_raster_worker_pool.cc View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M cc/resources/gpu_raster_worker_pool.cc View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M cc/resources/one_copy_raster_worker_pool.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/picture_layer_tiling_set_unittest.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M cc/resources/picture_pile.h View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -3 lines 0 comments Download
M cc/resources/picture_pile_base.h View 1 2 3 4 5 6 7 8 4 chunks +2 lines, -5 lines 0 comments Download
M cc/resources/picture_pile_base.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/picture_pile_impl.h View 1 2 3 4 5 6 7 8 3 chunks +35 lines, -46 lines 0 comments Download
M cc/resources/picture_pile_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -18 lines 0 comments Download
M cc/resources/picture_pile_impl_perftest.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -6 lines 0 comments Download
M cc/resources/picture_pile_impl_unittest.cc View 1 2 3 4 5 6 7 8 8 chunks +38 lines, -27 lines 0 comments Download
M cc/resources/picture_pile_unittest.cc View 1 2 3 4 5 64 chunks +285 lines, -287 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/raster_buffer.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
A cc/resources/raster_source.h View 1 2 3 4 5 6 7 8 1 chunk +77 lines, -0 lines 0 comments Download
M cc/resources/raster_worker_pool.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/raster_worker_pool.cc View 1 2 3 4 5 6 3 chunks +4 lines, -3 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M cc/resources/tile.h View 1 2 3 4 5 6 5 chunks +8 lines, -12 lines 0 comments Download
M cc/resources/tile.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 5 6 7 8 13 chunks +25 lines, -24 lines 0 comments Download
M cc/resources/zero_copy_raster_worker_pool.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_picture_layer_tiling_client.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (3 generated)
vmpstr
PTAL
6 years, 2 months ago (2014-10-24 21:25:01 UTC) #2
vmpstr
On 2014/10/24 21:25:01, vmpstr wrote: > PTAL Let me know, if you feel like I ...
6 years, 2 months ago (2014-10-24 21:25:48 UTC) #3
enne (OOO)
lgtm https://codereview.chromium.org/666273002/diff/80001/cc/resources/picture_pile_unittest.cc File cc/resources/picture_pile_unittest.cc (right): https://codereview.chromium.org/666273002/diff/80001/cc/resources/picture_pile_unittest.cc#newcode89 cc/resources/picture_pile_unittest.cc:89: scoped_ptr<TestPicturePile> pile_; This could probably just be a ...
6 years, 2 months ago (2014-10-24 22:27:35 UTC) #4
vmpstr
PTAL https://codereview.chromium.org/666273002/diff/80001/cc/resources/picture_pile_unittest.cc File cc/resources/picture_pile_unittest.cc (right): https://codereview.chromium.org/666273002/diff/80001/cc/resources/picture_pile_unittest.cc#newcode89 cc/resources/picture_pile_unittest.cc:89: scoped_ptr<TestPicturePile> pile_; On 2014/10/24 22:27:35, enne wrote: > ...
6 years, 2 months ago (2014-10-24 23:15:23 UTC) #5
reveman
https://codereview.chromium.org/666273002/diff/100001/cc/resources/raster_source.h File cc/resources/raster_source.h (right): https://codereview.chromium.org/666273002/diff/100001/cc/resources/raster_source.h#newcode12 cc/resources/raster_source.h:12: #include "cc/debug/rendering_stats_instrumentation.h" Can you forward declare RenderingStatsInstrumentation instead? https://codereview.chromium.org/666273002/diff/100001/cc/resources/raster_source.h#newcode13 ...
6 years, 1 month ago (2014-10-27 14:39:46 UTC) #6
vmpstr
PTAL https://codereview.chromium.org/666273002/diff/100001/cc/resources/raster_source.h File cc/resources/raster_source.h (right): https://codereview.chromium.org/666273002/diff/100001/cc/resources/raster_source.h#newcode12 cc/resources/raster_source.h:12: #include "cc/debug/rendering_stats_instrumentation.h" On 2014/10/27 14:39:46, reveman wrote: > ...
6 years, 1 month ago (2014-10-27 15:55:11 UTC) #7
reveman
https://codereview.chromium.org/666273002/diff/100001/cc/resources/raster_source.h File cc/resources/raster_source.h (right): https://codereview.chromium.org/666273002/diff/100001/cc/resources/raster_source.h#newcode25 cc/resources/raster_source.h:25: }; On 2014/10/27 15:55:10, vmpstr wrote: > On 2014/10/27 ...
6 years, 1 month ago (2014-10-27 17:14:44 UTC) #8
vmpstr
PTAL https://codereview.chromium.org/666273002/diff/100001/cc/resources/raster_source.h File cc/resources/raster_source.h (right): https://codereview.chromium.org/666273002/diff/100001/cc/resources/raster_source.h#newcode25 cc/resources/raster_source.h:25: }; On 2014/10/27 17:14:43, reveman wrote: > On ...
6 years, 1 month ago (2014-10-27 18:46:40 UTC) #9
reveman
lgtm after renaming AnalyzeInRect. Also, can you land a small patch prior to this that ...
6 years, 1 month ago (2014-10-27 19:27:58 UTC) #10
vmpstr
I'll wait until the thread safe patch lands, and rebase in case there are conflicts. ...
6 years, 1 month ago (2014-10-27 19:48:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/666273002/220001
6 years, 1 month ago (2014-10-28 17:37:26 UTC) #14
commit-bot: I haz the power
Committed patchset #11 (id:220001)
6 years, 1 month ago (2014-10-28 18:38:21 UTC) #15
commit-bot: I haz the power
6 years, 1 month ago (2014-10-28 18:38:59 UTC) #16
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/394e2b51f40cbc5a522300073c7c058f95889901
Cr-Commit-Position: refs/heads/master@{#301667}

Powered by Google App Engine
This is Rietveld 408576698