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

Issue 1478753003: [Chromecast] Support software rendering when disable-gpu used (Closed)

Created:
5 years ago by halliwell
Modified:
5 years ago
Reviewers:
derekjchow1, slan
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Currently, Cast ozone only works with a GPU process. In particular, this prevents certain tests from running on a headless machine (they can't use headless ozone platform either because it doesn't have the Cast overlay support). This also means that in future, we could also consider switching Cast audio platforms to use cast ozone platform. BUG=internal b/25871861 Committed: https://crrev.com/82dee6e429ccf6775024a2dcfa10e745518ca566 Cr-Commit-Position: refs/heads/master@{#364170}

Patch Set 1 #

Patch Set 2 : Use disable-gpu to enable software canvas #

Total comments: 11

Patch Set 3 : Address review comments #

Total comments: 2

Patch Set 4 : Add comment on switch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -2 lines) Patch
M ui/ozone/platform/cast/ozone_platform_cast.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M ui/ozone/platform/cast/surface_factory_cast.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M ui/ozone/platform/cast/surface_factory_cast.cc View 1 2 4 chunks +39 lines, -1 line 0 comments Download

Messages

Total messages: 18 (6 generated)
halliwell
5 years ago (2015-12-08 21:56:17 UTC) #3
derekjchow1
https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/ozone_platform_cast.cc File ui/ozone/platform/cast/ozone_platform_cast.cc (right): https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/ozone_platform_cast.cc#newcode85 ui/ozone/platform/cast/ozone_platform_cast.cc:85: if (base::CommandLine::ForCurrentProcess()->HasSwitch("disable-gpu")) define kDisableGpu https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/surface_factory_cast.cc File ui/ozone/platform/cast/surface_factory_cast.cc (right): https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/surface_factory_cast.cc#newcode68 ...
5 years ago (2015-12-08 22:03:15 UTC) #4
slan
https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/ozone_platform_cast.cc File ui/ozone/platform/cast/ozone_platform_cast.cc (right): https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/ozone_platform_cast.cc#newcode85 ui/ozone/platform/cast/ozone_platform_cast.cc:85: if (base::CommandLine::ForCurrentProcess()->HasSwitch("disable-gpu")) On 2015/12/08 22:03:15, derekjchow1 wrote: > define ...
5 years ago (2015-12-08 22:40:26 UTC) #5
halliwell
https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/ozone_platform_cast.cc File ui/ozone/platform/cast/ozone_platform_cast.cc (right): https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/ozone_platform_cast.cc#newcode85 ui/ozone/platform/cast/ozone_platform_cast.cc:85: if (base::CommandLine::ForCurrentProcess()->HasSwitch("disable-gpu")) On 2015/12/08 22:40:25, slan wrote: > On ...
5 years ago (2015-12-08 23:27:57 UTC) #6
halliwell
On 2015/12/08 23:27:57, halliwell wrote: > https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/ozone_platform_cast.cc > File ui/ozone/platform/cast/ozone_platform_cast.cc (right): > > https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/ozone_platform_cast.cc#newcode85 > ...
5 years ago (2015-12-09 20:40:49 UTC) #7
derekjchow1
lgtm % one comment https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/ozone_platform_cast.cc File ui/ozone/platform/cast/ozone_platform_cast.cc (right): https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/ozone_platform_cast.cc#newcode85 ui/ozone/platform/cast/ozone_platform_cast.cc:85: if (base::CommandLine::ForCurrentProcess()->HasSwitch("disable-gpu")) On 2015/12/08 23:27:56, ...
5 years ago (2015-12-09 21:19:34 UTC) #8
slan
lgtm Just have one clarification question but you are good to submit. https://codereview.chromium.org/1478753003/diff/40001/ui/ozone/platform/cast/ozone_platform_cast.cc File ui/ozone/platform/cast/ozone_platform_cast.cc ...
5 years ago (2015-12-09 21:22:06 UTC) #9
halliwell
On 2015/12/09 21:19:34, derekjchow1 wrote: > lgtm % one comment > > https://codereview.chromium.org/1478753003/diff/20001/ui/ozone/platform/cast/ozone_platform_cast.cc > File ...
5 years ago (2015-12-09 21:38:57 UTC) #10
halliwell
https://codereview.chromium.org/1478753003/diff/40001/ui/ozone/platform/cast/ozone_platform_cast.cc File ui/ozone/platform/cast/ozone_platform_cast.cc (right): https://codereview.chromium.org/1478753003/diff/40001/ui/ozone/platform/cast/ozone_platform_cast.cc#newcode88 ui/ozone/platform/cast/ozone_platform_cast.cc:88: void InitializeGPU() override { On 2015/12/09 21:22:06, slan wrote: ...
5 years ago (2015-12-09 21:39:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1478753003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1478753003/60001
5 years ago (2015-12-09 21:41:28 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-09 22:08:58 UTC) #16
commit-bot: I haz the power
5 years ago (2015-12-09 22:10:04 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/82dee6e429ccf6775024a2dcfa10e745518ca566
Cr-Commit-Position: refs/heads/master@{#364170}

Powered by Google App Engine
This is Rietveld 408576698