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

Issue 202763002: Switch to use SharedBitmapManager all the time in cc_unittests (Closed)

Created:
6 years, 9 months ago by jbauman
Modified:
6 years, 9 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Switch to use SharedBitmapManager all the time in cc_unittests This matches the behavior of the browser and renderer better, and lets us use SharedBitmaps in more tests. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258318

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+622 lines, -294 lines) Patch
M cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M cc/animation/scrollbar_animation_controller_thinning_unittest.cc View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M cc/debug/micro_benchmark_controller_unittest.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M cc/input/top_controls_manager_unittest.cc View 1 2 3 3 chunks +3 lines, -1 line 0 comments Download
M cc/layers/delegated_renderer_layer_impl_unittest.cc View 1 2 3 4 5 3 chunks +4 lines, -1 line 0 comments Download
M cc/layers/heads_up_display_layer_impl_unittest.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M cc/layers/layer_impl_unittest.cc View 1 2 3 6 chunks +12 lines, -6 lines 0 comments Download
M cc/layers/layer_perftest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 2 3 4 chunks +10 lines, -7 lines 0 comments Download
M cc/layers/layer_utils_unittest.cc View 1 2 3 3 chunks +3 lines, -1 line 0 comments Download
M cc/layers/nine_patch_layer_impl_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/nine_patch_layer_unittest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/picture_image_layer_impl_unittest.cc View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 3 chunks +6 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_unittest.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M cc/layers/render_surface_unittest.cc View 1 2 3 4 chunks +7 lines, -3 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M cc/layers/solid_color_layer_impl_unittest.cc View 1 2 3 4 5 4 chunks +7 lines, -3 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M cc/layers/tiled_layer_impl_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M cc/layers/tiled_layer_unittest.cc View 1 2 3 4 chunks +8 lines, -4 lines 0 comments Download
M cc/layers/ui_resource_layer_impl_unittest.cc View 1 2 3 4 chunks +7 lines, -3 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 18 chunks +61 lines, -27 lines 0 comments Download
M cc/output/software_renderer_unittest.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M cc/resources/picture_layer_tiling_set_unittest.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M cc/resources/prioritized_resource_unittest.cc View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M cc/resources/prioritized_tile_set_unittest.cc View 1 2 3 4 5 3 chunks +6 lines, -5 lines 0 comments Download
M cc/resources/raster_worker_pool_perftest.cc View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M cc/resources/resource_provider_unittest.cc View 1 2 3 4 5 24 chunks +45 lines, -91 lines 0 comments Download
M cc/resources/resource_update_controller_unittest.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M cc/resources/scoped_resource_unittest.cc View 5 chunks +17 lines, -8 lines 0 comments Download
M cc/resources/shared_bitmap_manager.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/tile_manager_perftest.cc View 1 2 3 4 5 3 chunks +5 lines, -2 lines 0 comments Download
M cc/resources/tile_manager_unittest.cc View 1 2 3 4 5 4 chunks +7 lines, -3 lines 0 comments Download
M cc/resources/video_resource_updater_unittest.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M cc/test/fake_layer_tree_host.h View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
M cc/test/fake_layer_tree_host.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl.h View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl.cc View 1 2 3 2 chunks +7 lines, -4 lines 0 comments Download
M cc/test/fake_ui_resource_layer_tree_host_impl.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M cc/test/fake_ui_resource_layer_tree_host_impl.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M cc/test/layer_tree_json_parser_unittest.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 5 chunks +19 lines, -8 lines 0 comments Download
M cc/test/pixel_test.h View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/test/pixel_test.cc View 1 2 3 3 chunks +11 lines, -7 lines 0 comments Download
A cc/test/test_shared_bitmap_manager.h View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A cc/test/test_shared_bitmap_manager.cc View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 1 2 3 3 chunks +3 lines, -1 line 0 comments Download
M cc/trees/layer_sorter_unittest.cc View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 32 chunks +64 lines, -32 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 13 chunks +48 lines, -13 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 5 chunks +17 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 3 chunks +4 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 2 chunks +8 lines, -2 lines 0 comments Download
M cc/trees/occlusion_tracker_perftest.cc View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M cc/trees/quad_culler_unittest.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M cc/trees/tree_synchronizer_unittest.cc View 4 chunks +28 lines, -6 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
jbauman
This is mostly a bunch of mechanical changes to allocate a TestSharedBitmapManager everywhere.
6 years, 9 months ago (2014-03-18 22:38:40 UTC) #1
danakj
https://codereview.chromium.org/202763002/diff/30001/cc/layers/layer_unittest.cc File cc/layers/layer_unittest.cc (right): https://codereview.chromium.org/202763002/diff/30001/cc/layers/layer_unittest.cc#newcode808 cc/layers/layer_unittest.cc:808: shared_bitmap_manager_.reset(new TestSharedBitmapManager()); do this as constructor initialization like client_ ...
6 years, 9 months ago (2014-03-18 23:42:44 UTC) #2
jbauman
PTAL. On 2014/03/18 23:42:44, danakj wrote: > https://codereview.chromium.org/202763002/diff/30001/cc/layers/layer_unittest.cc > File cc/layers/layer_unittest.cc (right): > > https://codereview.chromium.org/202763002/diff/30001/cc/layers/layer_unittest.cc#newcode808 ...
6 years, 9 months ago (2014-03-19 22:50:45 UTC) #3
danakj
In file included from ../../cc/test/fake_layer_tree_host.cc:5: ../../cc/test/fake_layer_tree_host.h:54:3:error: [chromium-style] Complex constructor has an inlined body. FakeLayerTreeHost(LayerTreeHostClient* client, ...
6 years, 9 months ago (2014-03-19 23:23:20 UTC) #4
danakj
LGTM 1 more thing https://codereview.chromium.org/202763002/diff/50001/cc/test/fake_layer_tree_host_impl.h File cc/test/fake_layer_tree_host_impl.h (right): https://codereview.chromium.org/202763002/diff/50001/cc/test/fake_layer_tree_host_impl.h#newcode17 cc/test/fake_layer_tree_host_impl.h:17: explicit FakeLayerTreeHostImpl(Proxy* proxy, SharedBitmapManager* manager); ...
6 years, 9 months ago (2014-03-19 23:27:18 UTC) #5
jbauman
The CQ bit was checked by jbauman@chromium.org
6 years, 9 months ago (2014-03-19 23:41:16 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/202763002/60001
6 years, 9 months ago (2014-03-19 23:44:17 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 00:11:34 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel tryserver.chromium on mac_chromium_rel
6 years, 9 months ago (2014-03-20 00:11:35 UTC) #9
jbauman
The CQ bit was checked by jbauman@chromium.org
6 years, 9 months ago (2014-03-20 00:25:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/202763002/80001
6 years, 9 months ago (2014-03-20 00:25:21 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 01:09:40 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 9 months ago (2014-03-20 01:09:40 UTC) #13
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 15:35:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/202763002/80001
6 years, 9 months ago (2014-03-20 15:35:51 UTC) #15
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 17:25:49 UTC) #16
Message was sent while issue was closed.
Change committed as 258318

Powered by Google App Engine
This is Rietveld 408576698