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

Issue 2171143002: cc: Get rid of non-delegated rendering in most cc unit tests. (Closed)

Created:
4 years, 5 months ago by danakj
Modified:
4 years, 5 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, jbauman, piman, weiliangc
Base URL:
https://chromium.googlesource.com/chromium/src.git@killdirecttests
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Get rid of non-delegated rendering in most cc unit tests. For tests other than a few LayerTreeTests, this changes all tests that used a DirectRenderer to use a DelegatingRenderer instead. FakeLayerTreeHostClient took options for allowing fake software compositing, but it was unused. The REMOTE_DIRECT_RENDERER_TEST_F macro was also unused now. (Also enables SurfaceLayerSwapPromiseWithDraw which was disabled but the bug is fixed.) R=enne TBR=miguelg BUG=421923, 606056 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel Committed: https://crrev.com/6021ec347e80a5e45a25db16bafc307eae6bb643 Cr-Commit-Position: refs/heads/master@{#407280}

Patch Set 1 #

Patch Set 2 : fakeoutputsurface: . #

Patch Set 3 : fakeoutputsurface: ccpt #

Patch Set 4 : fakeoutputsurface: cc-blink-tests #

Total comments: 5

Patch Set 5 : fakeoutputsurface: no-constructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -264 lines) Patch
M cc/animation/animation_host_perftest.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M cc/blink/web_layer_impl_fixed_bounds_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/debug/micro_benchmark_controller_unittest.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/layers/heads_up_display_layer_impl_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/layer_impl_unittest.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M cc/layers/layer_list_iterator_unittest.cc View 8 chunks +12 lines, -8 lines 0 comments Download
M cc/layers/layer_perftest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M cc/layers/layer_proto_converter_unittest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 2 3 4 3 chunks +1 line, -7 lines 0 comments Download
M cc/layers/nine_patch_layer_impl_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/nine_patch_layer_unittest.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/layers/painted_scrollbar_layer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_image_layer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl_perftest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/picture_layer_unittest.cc View 12 chunks +16 lines, -13 lines 0 comments Download
M cc/layers/render_surface_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/solid_color_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/surface_layer_unittest.cc View 3 chunks +2 lines, -10 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 2 chunks +1 line, -7 lines 0 comments Download
M cc/layers/ui_resource_layer_impl_unittest.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M cc/layers/ui_resource_layer_unittest.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/resources/resource_pool_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/scoped_resource_unittest.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 2 chunks +2 lines, -11 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.cc View 1 chunk +3 lines, -24 lines 0 comments Download
M cc/test/fake_output_surface.h View 1 5 chunks +9 lines, -17 lines 0 comments Download
M cc/test/fake_output_surface.cc View 1 2 chunks +0 lines, -14 lines 0 comments Download
M cc/test/layer_test_common.cc View 1 chunk +1 line, -2 lines 0 comments Download
M cc/test/layer_tree_host_common_test.h View 2 chunks +0 lines, -2 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 chunk +0 lines, -7 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 chunk +8 lines, -2 lines 0 comments Download
M cc/test/test_layer_tree_host_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/tiles/picture_layer_tiling_set_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/tiles/tile_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 5 chunks +7 lines, -13 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 8 chunks +23 lines, -31 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 3 chunks +3 lines, -29 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_copyrequest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_record_gpu_histogram.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_serialization.cc View 1 chunk +1 line, -3 lines 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/tree_synchronizer_unittest.cc View 2 chunks +6 lines, -8 lines 0 comments Download
M ui/android/resources/resource_manager_impl_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (20 generated)
danakj
4 years, 5 months ago (2016-07-22 02:23:32 UTC) #4
danakj
+miguelg@chromium.org for ui/android/
4 years, 5 months ago (2016-07-22 02:23:49 UTC) #6
vmpstr
lgtm, thanks! https://codereview.chromium.org/2171143002/diff/50001/cc/layers/layer_unittest.cc File cc/layers/layer_unittest.cc (right): https://codereview.chromium.org/2171143002/diff/50001/cc/layers/layer_unittest.cc#newcode112 cc/layers/layer_unittest.cc:112: LayerSerializationTest() = default; Do we need an ...
4 years, 5 months ago (2016-07-22 20:24:37 UTC) #18
danakj
https://codereview.chromium.org/2171143002/diff/50001/cc/layers/layer_unittest.cc File cc/layers/layer_unittest.cc (right): https://codereview.chromium.org/2171143002/diff/50001/cc/layers/layer_unittest.cc#newcode112 cc/layers/layer_unittest.cc:112: LayerSerializationTest() = default; On 2016/07/22 20:24:36, vmpstr wrote: > ...
4 years, 5 months ago (2016-07-22 20:34:57 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2171143002/70001
4 years, 5 months ago (2016-07-22 20:55:35 UTC) #22
vmpstr
https://codereview.chromium.org/2171143002/diff/50001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/2171143002/diff/50001/cc/trees/layer_tree_host_unittest.cc#newcode76 cc/trees/layer_tree_host_unittest.cc:76: class LayerTreeHostTest : public LayerTreeTest {}; On 2016/07/22 20:34:57, ...
4 years, 5 months ago (2016-07-22 20:56:34 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:70001)
4 years, 5 months ago (2016-07-22 22:16:24 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 22:17:59 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6021ec347e80a5e45a25db16bafc307eae6bb643
Cr-Commit-Position: refs/heads/master@{#407280}

Powered by Google App Engine
This is Rietveld 408576698