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

Issue 2855723002: Don't submit frames with no render passes in cc tests (Closed)

Created:
3 years, 7 months ago by Saman Sami
Modified:
3 years, 7 months ago
Reviewers:
danakj, Fady Samuel
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't submit frames with no render passes in cc tests Now that ForceReclaimResources is gone, frames with no render passes are only submitted in unit tests. Also, since crrev.com/2835203002 we no longer allow empty render pass lists to be sent over IPC. Fix the tests and remove the checks for empty render pass lists in prod to simplify code. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2855723002 Cr-Commit-Position: refs/heads/master@{#469545} Committed: https://chromium.googlesource.com/chromium/src/+/e8422c6b6f2255f3f6ad8620af456d8eba0cd9d2

Patch Set 1 #

Patch Set 2 : Remove unnecessary checks #

Patch Set 3 : Remove more unnecessary checks #

Patch Set 4 : test #

Patch Set 5 : c #

Patch Set 6 : c #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -111 lines) Patch
M cc/surfaces/compositor_frame_sink_support.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M cc/surfaces/compositor_frame_sink_support_unittest.cc View 4 chunks +2 lines, -3 lines 0 comments Download
M cc/surfaces/display.cc View 1 2 1 chunk +10 lines, -12 lines 0 comments Download
M cc/surfaces/surface.cc View 1 3 chunks +3 lines, -8 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 2 chunks +10 lines, -14 lines 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 20 chunks +19 lines, -29 lines 0 comments Download
M cc/surfaces/surface_factory_unittest.cc View 1 2 3 4 5 3 chunks +2 lines, -13 lines 0 comments Download
M cc/surfaces/surface_hittest.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download
M cc/surfaces/surface_manager.h View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
M cc/surfaces/surface_manager.cc View 1 1 chunk +4 lines, -8 lines 0 comments Download
M cc/test/compositor_frame_helpers.h View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/test/compositor_frame_helpers.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M cc/test/fake_compositor_frame_sink.h View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M cc/test/fake_compositor_frame_sink.cc View 1 2 1 chunk +1 line, -7 lines 0 comments Download
M services/ui/public/cpp/client_compositor_frame_sink.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M services/ui/ws/display_client_compositor_frame_sink.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 42 (33 generated)
Saman Sami
PTAL
3 years, 7 months ago (2017-05-01 21:40:08 UTC) #12
Fady Samuel
lgtm
3 years, 7 months ago (2017-05-01 21:45:41 UTC) #13
Saman Sami
danakj: Please review cc.
3 years, 7 months ago (2017-05-01 21:46:17 UTC) #15
danakj
Can you make it more clear in the patch description that this gets rid of ...
3 years, 7 months ago (2017-05-01 22:12:06 UTC) #16
Saman Sami
On 2017/05/01 22:12:06, danakj wrote: > Can you make it more clear in the patch ...
3 years, 7 months ago (2017-05-01 22:20:46 UTC) #19
Saman Sami
On 2017/05/01 22:12:06, danakj wrote: > Can you make it more clear in the patch ...
3 years, 7 months ago (2017-05-01 22:20:47 UTC) #20
danakj
Thanks! LGTM
3 years, 7 months ago (2017-05-01 22:22:42 UTC) #21
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/2855723002/100001
3 years, 7 months ago (2017-05-05 00:22:10 UTC) #39
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 00:30:31 UTC) #42
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/e8422c6b6f2255f3f6ad8620af45...

Powered by Google App Engine
This is Rietveld 408576698