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

Issue 786583002: cc: Renaming Rasterizer and RasterWorkerPool interfaces (Closed)

Created:
6 years ago by vmiura
Modified:
6 years ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam, mlamouri+watch-content_chromium.org, epenner
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Renaming Rasterizer and RasterWorkerPool interfaces We're planning to add a new Rasterizer interface to abstract some differences between GPU (Ganesh) and Software rasterization. The old Rasterizer and RasterWorkerPool interfaces will be renamed to TileTaskRunner and TileTaskWorkerPool, to clarify they are not the actual rasterizers. BUG=440188 Committed: https://crrev.com/a30e1eaf6130dab71bc4db5bfea72049203b1000 Cr-Commit-Position: refs/heads/master@{#307517}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix comments. Additional renames. #

Patch Set 3 : Fix test. Update include files alphabetic orders. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1256 lines, -5037 lines) Patch
M cc/BUILD.gn View 1 8 chunks +16 lines, -16 lines 0 comments Download
M cc/cc.gyp View 1 6 chunks +14 lines, -14 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download
M cc/resources/bitmap_raster_worker_pool.h View 1 1 chunk +0 lines, -79 lines 0 comments Download
M cc/resources/bitmap_raster_worker_pool.cc View 1 1 chunk +0 lines, -206 lines 0 comments Download
A cc/resources/bitmap_tile_task_worker_pool.h View 1 2 1 chunk +79 lines, -0 lines 0 comments Download
A + cc/resources/bitmap_tile_task_worker_pool.cc View 1 6 chunks +52 lines, -57 lines 0 comments Download
M cc/resources/gpu_raster_worker_pool.h View 1 1 chunk +0 lines, -83 lines 0 comments Download
M cc/resources/gpu_raster_worker_pool.cc View 1 1 chunk +0 lines, -256 lines 0 comments Download
A cc/resources/gpu_tile_task_worker_pool.h View 1 2 1 chunk +84 lines, -0 lines 0 comments Download
A + cc/resources/gpu_tile_task_worker_pool.cc View 1 7 chunks +55 lines, -66 lines 0 comments Download
M cc/resources/managed_tile_state.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/one_copy_raster_worker_pool.h View 1 1 chunk +0 lines, -141 lines 0 comments Download
M cc/resources/one_copy_raster_worker_pool.cc View 1 1 chunk +0 lines, -506 lines 0 comments Download
A + cc/resources/one_copy_tile_task_worker_pool.h View 1 2 6 chunks +29 lines, -29 lines 0 comments Download
A + cc/resources/one_copy_tile_task_worker_pool.cc View 1 17 chunks +73 lines, -88 lines 0 comments Download
M cc/resources/picture_pile.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.h View 1 1 chunk +0 lines, -140 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.cc View 1 1 chunk +0 lines, -749 lines 0 comments Download
A + cc/resources/pixel_buffer_tile_task_worker_pool.h View 1 2 6 chunks +30 lines, -30 lines 0 comments Download
A + cc/resources/pixel_buffer_tile_task_worker_pool.cc View 1 29 chunks +103 lines, -126 lines 0 comments Download
M cc/resources/raster_worker_pool.h View 1 1 chunk +0 lines, -83 lines 0 comments Download
M cc/resources/raster_worker_pool.cc View 1 1 chunk +0 lines, -266 lines 0 comments Download
M cc/resources/raster_worker_pool_perftest.cc View 1 1 chunk +0 lines, -533 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 1 chunk +0 lines, -410 lines 0 comments Download
D cc/resources/rasterizer.h View 1 chunk +0 lines, -168 lines 0 comments Download
D cc/resources/rasterizer.cc View 1 chunk +0 lines, -80 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 8 chunks +9 lines, -9 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 16 chunks +32 lines, -34 lines 0 comments Download
M cc/resources/tile_manager_perftest.cc View 1 2 4 chunks +10 lines, -11 lines 0 comments Download
A + cc/resources/tile_task_runner.h View 1 6 chunks +31 lines, -30 lines 2 comments Download
A cc/resources/tile_task_runner.cc View 1 1 chunk +101 lines, -0 lines 0 comments Download
A + cc/resources/tile_task_worker_pool.h View 1 2 3 chunks +18 lines, -18 lines 0 comments Download
A + cc/resources/tile_task_worker_pool.cc View 1 8 chunks +66 lines, -69 lines 0 comments Download
A + cc/resources/tile_task_worker_pool_perftest.cc View 1 2 14 chunks +131 lines, -162 lines 0 comments Download
A + cc/resources/tile_task_worker_pool_unittest.cc View 1 2 19 chunks +81 lines, -103 lines 0 comments Download
M cc/resources/zero_copy_raster_worker_pool.h View 1 1 chunk +0 lines, -79 lines 0 comments Download
M cc/resources/zero_copy_raster_worker_pool.cc View 1 1 chunk +0 lines, -211 lines 0 comments Download
A cc/resources/zero_copy_tile_task_worker_pool.h View 1 2 1 chunk +79 lines, -0 lines 0 comments Download
A + cc/resources/zero_copy_tile_task_worker_pool.cc View 1 6 chunks +50 lines, -55 lines 0 comments Download
M cc/test/fake_tile_manager.cc View 5 chunks +11 lines, -13 lines 0 comments Download
M cc/test/layer_tree_pixel_resource_test.h View 1 2 chunks +10 lines, -10 lines 0 comments Download
M cc/test/layer_tree_pixel_resource_test.cc View 1 2 9 chunks +37 lines, -47 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 chunks +8 lines, -8 lines 0 comments Download
M cc/test/pixel_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 9 chunks +30 lines, -34 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
vmiura
FYI. Renaming some of these files will cause some merging headaches if anyone has code ...
6 years ago (2014-12-06 02:13:53 UTC) #2
reveman
Looks good. Did you forget to add cc/resources/tile_task_runner.* files? https://codereview.chromium.org/786583002/diff/1/cc/resources/raster_worker_pool.h File cc/resources/raster_worker_pool.h (right): https://codereview.chromium.org/786583002/diff/1/cc/resources/raster_worker_pool.h#newcode32 cc/resources/raster_worker_pool.h:32: ...
6 years ago (2014-12-08 17:07:08 UTC) #3
vmiura
Done, and updated the other files. PTAL https://codereview.chromium.org/786583002/diff/1/cc/resources/raster_worker_pool.h File cc/resources/raster_worker_pool.h (right): https://codereview.chromium.org/786583002/diff/1/cc/resources/raster_worker_pool.h#newcode32 cc/resources/raster_worker_pool.h:32: static void ...
6 years ago (2014-12-08 23:41:02 UTC) #4
vmiura
sievers@chromium.org: Please review changes in content/renderer/render_thread_impl.cc
6 years ago (2014-12-09 00:36:57 UTC) #6
no sievers
On 2014/12/09 00:36:57, vmiura wrote: > mailto:sievers@chromium.org: Please review changes in > content/renderer/render_thread_impl.cc lgtm
6 years ago (2014-12-09 00:41:35 UTC) #7
reveman
lgtm, thanks for taking care of this rather painful rename https://codereview.chromium.org/786583002/diff/40001/cc/resources/tile_task_runner.h File cc/resources/tile_task_runner.h (right): https://codereview.chromium.org/786583002/diff/40001/cc/resources/tile_task_runner.h#newcode71 ...
6 years ago (2014-12-09 04:53:10 UTC) #8
vmiura
https://codereview.chromium.org/786583002/diff/40001/cc/resources/tile_task_runner.h File cc/resources/tile_task_runner.h (right): https://codereview.chromium.org/786583002/diff/40001/cc/resources/tile_task_runner.h#newcode71 cc/resources/tile_task_runner.h:71: class CC_EXPORT RasterTask : public TileTask { On 2014/12/09 ...
6 years ago (2014-12-09 18:15:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/786583002/40001
6 years ago (2014-12-09 18:19:12 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-09 19:23:59 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a30e1eaf6130dab71bc4db5bfea72049203b1000 Cr-Commit-Position: refs/heads/master@{#307517}
6 years ago (2014-12-09 19:25:05 UTC) #13
jamesr
A lot of the thread_times benchmarks started reporting 0 values after this patch, e.g.: https://chromeperf.appspot.com/group_report?keys=agxzfmNocm9tZXBlcmZyFAsSB0Fub21hbHkYgIDAyKvjpgoM
6 years ago (2014-12-15 19:30:48 UTC) #15
vmiura
6 years ago (2014-12-15 19:35:39 UTC) #16
Message was sent while issue was closed.
On 2014/12/15 19:30:48, jamesr wrote:
> A lot of the thread_times benchmarks started reporting 0 values after this
> patch, e.g.:
> 
>
https://chromeperf.appspot.com/group_report?keys=agxzfmNocm9tZXBlcmZyFAsSB0Fu...

Ah, there's a dependency on "CompositorRasterWorker" thread name in the metric. 
I'll push a fix.

Thanks.

Powered by Google App Engine
This is Rietveld 408576698