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

Issue 2724383002: TestCompositorFrameSink should use CompositorFrameSinkSupport (Closed)

Created:
3 years, 9 months ago by Saman Sami
Modified:
3 years, 9 months ago
Reviewers:
danakj, Fady Samuel
CC:
chromium-reviews, cc-bugs_chromium.org
Project:
chromium
Visibility:
Public.

Description

TestCompositorFrameSink should use CompositorFrameSinkSupport Test should help us expand the test coverage of CompositorFrameSinkSupport. TextureLayerChangeInvisibleMailboxTest needed to be changed because after switching to CompositorFrameSinkSupport returning resources is delayed until an ack is received unlike SurfaceFactory which returns the resources immediately, so mailboxes can potentially be released later than before and this messes with the checks. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2724383002 Cr-Original-Commit-Position: refs/heads/master@{#454403} Committed: https://chromium.googlesource.com/chromium/src/+/146d1bb3fa62905c98950fbe510f7520935cc07b Review-Url: https://codereview.chromium.org/2724383002 Cr-Commit-Position: refs/heads/master@{#454617} Committed: https://chromium.googlesource.com/chromium/src/+/5dbd77c73cd8a5f42762c5036a9860bc729dc359

Patch Set 1 #

Patch Set 2 : c #

Total comments: 8

Patch Set 3 : remove bound_ #

Patch Set 4 : null display check #

Patch Set 5 : bring back PostTask #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -57 lines) Patch
M cc/layers/texture_layer_unittest.cc View 1 2 chunks +10 lines, -2 lines 0 comments Download
M cc/test/test_compositor_frame_sink.h View 1 2 3 4 6 chunks +18 lines, -10 lines 0 comments Download
M cc/test/test_compositor_frame_sink.cc View 1 2 3 4 5 chunks +46 lines, -45 lines 2 comments Download

Messages

Total messages: 54 (38 generated)
Saman Sami
PTAL
3 years, 9 months ago (2017-03-02 19:19:34 UTC) #9
Fady Samuel
Sweet! Thanks! LGTM
3 years, 9 months ago (2017-03-02 19:43:59 UTC) #12
Saman Sami
Thanks for the lgtm! danakj@ PTAL
3 years, 9 months ago (2017-03-02 19:44:52 UTC) #14
danakj
Can you explain the test changes in the CL description? https://codereview.chromium.org/2724383002/diff/20001/cc/test/test_compositor_frame_sink.cc File cc/test/test_compositor_frame_sink.cc (right): https://codereview.chromium.org/2724383002/diff/20001/cc/test/test_compositor_frame_sink.cc#newcode117 ...
3 years, 9 months ago (2017-03-02 19:55:19 UTC) #15
Saman Sami
PTAL https://codereview.chromium.org/2724383002/diff/20001/cc/test/test_compositor_frame_sink.cc File cc/test/test_compositor_frame_sink.cc (right): https://codereview.chromium.org/2724383002/diff/20001/cc/test/test_compositor_frame_sink.cc#newcode117 cc/test/test_compositor_frame_sink.cc:117: if (bound_) { On 2017/03/02 19:55:19, danakj wrote: ...
3 years, 9 months ago (2017-03-02 21:17:54 UTC) #29
danakj
LGTM https://codereview.chromium.org/2724383002/diff/80001/cc/test/test_compositor_frame_sink.cc File cc/test/test_compositor_frame_sink.cc (right): https://codereview.chromium.org/2724383002/diff/80001/cc/test/test_compositor_frame_sink.cc#newcode165 cc/test/test_compositor_frame_sink.cc:165: if (!display_->has_scheduler()) The other way to do this, ...
3 years, 9 months ago (2017-03-02 21:58:54 UTC) #30
Saman Sami
https://codereview.chromium.org/2724383002/diff/80001/cc/test/test_compositor_frame_sink.cc File cc/test/test_compositor_frame_sink.cc (right): https://codereview.chromium.org/2724383002/diff/80001/cc/test/test_compositor_frame_sink.cc#newcode165 cc/test/test_compositor_frame_sink.cc:165: if (!display_->has_scheduler()) On 2017/03/02 21:58:54, danakj wrote: > The ...
3 years, 9 months ago (2017-03-02 22:09:50 UTC) #33
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/2724383002/80001
3 years, 9 months ago (2017-03-02 22:10:33 UTC) #36
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/146d1bb3fa62905c98950fbe510f7520935cc07b
3 years, 9 months ago (2017-03-02 22:20:12 UTC) #39
findit-for-me
FYI: Findit identified this CL at revision 454403 as the culprit for failures in the ...
3 years, 9 months ago (2017-03-02 23:19:10 UTC) #40
danakj
Looks like this maybe introduces some flake by holding the mailboxes longer. Tests need to ...
3 years, 9 months ago (2017-03-02 23:28:04 UTC) #41
danakj
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2726293002/ by danakj@chromium.org. ...
3 years, 9 months ago (2017-03-02 23:28:41 UTC) #42
Saman Sami
On 2017/03/02 23:28:41, danakj wrote: > A revert of this CL (patchset #5 id:80001) has ...
3 years, 9 months ago (2017-03-03 17:29:41 UTC) #44
danakj
On Fri, Mar 3, 2017 at 12:29 PM, <samans@chromium.org> wrote: > On 2017/03/02 23:28:41, danakj ...
3 years, 9 months ago (2017-03-03 17:33:25 UTC) #47
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/2724383002/80001
3 years, 9 months ago (2017-03-03 17:36:31 UTC) #51
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 17:52:19 UTC) #54
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/5dbd77c73cd8a5f42762c5036a98...

Powered by Google App Engine
This is Rietveld 408576698