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

Issue 2401703002: cc/blimp: Set up the framework for LayerTreeTests in remote mode. (Closed)

Created:
4 years, 2 months ago by Khushal
Modified:
4 years, 2 months ago
Reviewers:
enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews, vmpstr, danakj
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc/blimp: Set up the framework for LayerTreeTests in remote mode. This sets up the LayerTreeHostRemoteForTesting class which can be used to mock out the external transport between the RemoteCompositorBridge on the engine and LayerTreeHostInProcess on the client. The class implements a simple binding layer that passes through state updates between these 2. BUG=653371 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/04b10facfd83a405009f155cb58b7d7732d52f43 Cr-Commit-Position: refs/heads/master@{#424299}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressed comments #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+564 lines, -24 lines) Patch
M cc/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/blimp/layer_tree_host_remote.h View 1 2 1 chunk +11 lines, -3 lines 0 comments Download
M cc/blimp/layer_tree_host_remote.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
A cc/test/layer_tree_host_remote_for_testing.h View 1 chunk +114 lines, -0 lines 0 comments Download
A cc/test/layer_tree_host_remote_for_testing.cc View 1 chunk +310 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 3 chunks +13 lines, -4 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 10 chunks +106 lines, -14 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_proxy.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (9 generated)
Khushal
This depends on a couple of patches but is otherwise done. I tested on a ...
4 years, 2 months ago (2016-10-06 18:36:44 UTC) #3
Khushal
https://codereview.chromium.org/2401703002/diff/1/cc/test/layer_tree_host_remote_for_testing.h File cc/test/layer_tree_host_remote_for_testing.h (right): https://codereview.chromium.org/2401703002/diff/1/cc/test/layer_tree_host_remote_for_testing.h#newcode26 cc/test/layer_tree_host_remote_for_testing.h:26: class LayerTreeHostRemoteForTesting : public LayerTreeHostRemote, Also I'm hoping to ...
4 years, 2 months ago (2016-10-06 18:39:07 UTC) #4
enne (OOO)
https://codereview.chromium.org/2401703002/diff/1/cc/test/layer_tree_host_remote_for_testing.cc File cc/test/layer_tree_host_remote_for_testing.cc (right): https://codereview.chromium.org/2401703002/diff/1/cc/test/layer_tree_host_remote_for_testing.cc#newcode42 cc/test/layer_tree_host_remote_for_testing.cc:42: void ProcessCompositorStateUpdate( override? https://codereview.chromium.org/2401703002/diff/1/cc/test/layer_tree_host_remote_for_testing.cc#newcode228 cc/test/layer_tree_host_remote_for_testing.cc:228: // Override the LayerFactory ...
4 years, 2 months ago (2016-10-06 20:19:55 UTC) #5
enne (OOO)
Meant to also add that this all looks generally good to me. It's about what ...
4 years, 2 months ago (2016-10-06 20:20:18 UTC) #6
Khushal
Thanks enne! \o/ https://codereview.chromium.org/2401703002/diff/1/cc/test/layer_tree_host_remote_for_testing.cc File cc/test/layer_tree_host_remote_for_testing.cc (right): https://codereview.chromium.org/2401703002/diff/1/cc/test/layer_tree_host_remote_for_testing.cc#newcode42 cc/test/layer_tree_host_remote_for_testing.cc:42: void ProcessCompositorStateUpdate( On 2016/10/06 20:19:55, enne ...
4 years, 2 months ago (2016-10-06 21:09:42 UTC) #7
enne (OOO)
https://codereview.chromium.org/2401703002/diff/1/cc/test/layer_tree_host_remote_for_testing.h File cc/test/layer_tree_host_remote_for_testing.h (right): https://codereview.chromium.org/2401703002/diff/1/cc/test/layer_tree_host_remote_for_testing.h#newcode26 cc/test/layer_tree_host_remote_for_testing.h:26: class LayerTreeHostRemoteForTesting : public LayerTreeHostRemote, On 2016/10/06 at 21:09:42, ...
4 years, 2 months ago (2016-10-06 21:32:18 UTC) #8
enne (OOO)
lgtm
4 years, 2 months ago (2016-10-06 21:34:23 UTC) #9
Khushal
https://codereview.chromium.org/2401703002/diff/1/cc/test/layer_tree_host_remote_for_testing.h File cc/test/layer_tree_host_remote_for_testing.h (right): https://codereview.chromium.org/2401703002/diff/1/cc/test/layer_tree_host_remote_for_testing.h#newcode26 cc/test/layer_tree_host_remote_for_testing.h:26: class LayerTreeHostRemoteForTesting : public LayerTreeHostRemote, On 2016/10/06 21:32:18, enne ...
4 years, 2 months ago (2016-10-06 22:48:51 UTC) #10
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/2401703002/60001
4 years, 2 months ago (2016-10-10 23:06:23 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-11 00:20:11 UTC) #18
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/04b10facfd83a405009f155cb58b7d7732d52f43 Cr-Commit-Position: refs/heads/master@{#424299}
4 years, 2 months ago (2016-10-11 00:22:59 UTC) #20
stgao
FYI: this CL seems cause the flakiness in the test LayerTreeHostCopyRequestTestDeleteTexture.RunSingleThread_DelegatingRenderer The flakiness trend diagram ...
4 years, 2 months ago (2016-10-18 04:17:37 UTC) #21
Khushal
4 years, 2 months ago (2016-10-18 04:49:43 UTC) #22
Message was sent while issue was closed.
I highly doubt this change would cause this flakiness. It didn't change any of
the setup for single/threaded test modes.

If its that build, then the only other suspected change could be this one:
https://codereview.chromium.org/2402173002/.

+danakj, do you mind taking a look? Here is an instance of the failing build:
https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%2....

Powered by Google App Engine
This is Rietveld 408576698