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

Issue 2377883002: Expose --disable-gpu-compositing browser arg to Blink (Closed)

Created:
4 years, 2 months ago by xidachen
Modified:
4 years, 2 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, jam, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose --disable-gpu-compositing browser arg to Blink Currently in Blink, there is no indication whether a compositor is GPU accelerated or software. This CL plumbs it to Blink, so that we can query whether --disable-gpu-compositing or --disable-gpu is set or not. BUG=650795 Committed: https://crrev.com/c234ff9ce6b4ce3c1561dc99ef30837d4000101e Cr-Commit-Position: refs/heads/master@{#422672}

Patch Set 1 #

Patch Set 2 : add to RuntimeEnabledFeatures.in #

Patch Set 3 : set default gpu compositing to be true #

Patch Set 4 : rebse after Blink Format #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M content/child/runtime_features.cc View 1 2 3 1 chunk +6 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebRuntimeFeatures.cpp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebRuntimeFeatures.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 39 (12 generated)
xidachen
PTAL
4 years, 2 months ago (2016-09-28 13:19:40 UTC) #2
Justin Novosad
Not lgtm This is not how gpu features work. You cannot tell whether any gpu ...
4 years, 2 months ago (2016-09-28 15:00:08 UTC) #3
xidachen
+danakj@, jbauman@, and enne@ My original idea for CL is to find a reliable way ...
4 years, 2 months ago (2016-09-28 15:09:19 UTC) #7
Justin Novosad
On 2016/09/28 15:09:19, xidachen wrote: > +danakj@, jbauman@, and enne@ > > My original idea ...
4 years, 2 months ago (2016-09-28 15:16:15 UTC) #8
jbauman
On 2016/09/28 15:16:15, Justin Novosad wrote: > On 2016/09/28 15:09:19, xidachen wrote: > > +danakj@, ...
4 years, 2 months ago (2016-09-28 22:01:33 UTC) #9
esprehn
Why do you need to know this inside blink? Historically we've avoided exposing this because ...
4 years, 2 months ago (2016-09-28 23:26:03 UTC) #10
esprehn
Why do you need to know this inside blink? Historically we've avoided exposing this because ...
4 years, 2 months ago (2016-09-28 23:26:04 UTC) #11
xidachen
On 2016/09/28 23:26:03, esprehn wrote: > Why do you need to know this inside blink? ...
4 years, 2 months ago (2016-09-29 00:07:47 UTC) #12
esprehn
On 2016/09/29 at 00:07:47, xidachen wrote: > On 2016/09/28 23:26:03, esprehn wrote: > > Why ...
4 years, 2 months ago (2016-09-29 00:43:38 UTC) #13
Justin Novosad
On 2016/09/29 00:43:38, esprehn wrote: > > commit() in an offscreen canvas needs to pass ...
4 years, 2 months ago (2016-09-29 14:10:13 UTC) #14
Justin Novosad
based on jbauman's response, I retract my previous objection. lgtm for Source/platform
4 years, 2 months ago (2016-09-29 14:44:43 UTC) #15
esprehn
On 2016/09/29 at 14:10:13, junov wrote: > On 2016/09/29 00:43:38, esprehn wrote: > > > ...
4 years, 2 months ago (2016-09-29 16:22:28 UTC) #16
danakj
On Thu, Sep 29, 2016 at 9:22 AM, <esprehn@chromium.org> wrote: > On 2016/09/29 at 14:10:13, ...
4 years, 2 months ago (2016-09-29 18:43:53 UTC) #17
danakj
On Thu, Sep 29, 2016 at 9:22 AM, <esprehn@chromium.org> wrote: > On 2016/09/29 at 14:10:13, ...
4 years, 2 months ago (2016-09-29 18:43:54 UTC) #18
Justin Novosad
On 2016/09/29 16:22:28, esprehn wrote: > > That means the spec has critically regressed from ...
4 years, 2 months ago (2016-09-30 15:32:01 UTC) #19
xidachen
esprehn@: gentle ping, could we please move forward?
4 years, 2 months ago (2016-10-03 12:18:01 UTC) #20
esprehn
+vollick I think we need to have a meeting. There's some missing abstraction here, blink ...
4 years, 2 months ago (2016-10-04 00:27:14 UTC) #22
danakj
On Mon, Oct 3, 2016 at 5:27 PM, <esprehn@chromium.org> wrote: > +vollick > > I ...
4 years, 2 months ago (2016-10-04 00:30:14 UTC) #23
danakj
On Mon, Oct 3, 2016 at 5:27 PM, <esprehn@chromium.org> wrote: > +vollick > > I ...
4 years, 2 months ago (2016-10-04 00:30:14 UTC) #24
esprehn
On 2016/10/04 at 00:30:14, danakj wrote: > On Mon, Oct 3, 2016 at 5:27 PM, ...
4 years, 2 months ago (2016-10-04 00:33:32 UTC) #27
danakj
On Mon, Oct 3, 2016 at 5:33 PM, <esprehn@chromium.org> wrote: > On 2016/10/04 at 00:30:14, ...
4 years, 2 months ago (2016-10-04 00:36:20 UTC) #28
danakj
On Mon, Oct 3, 2016 at 5:33 PM, <esprehn@chromium.org> wrote: > On 2016/10/04 at 00:30:14, ...
4 years, 2 months ago (2016-10-04 00:36:21 UTC) #29
Ian Vollick
On 2016/10/04 00:36:21, danakj wrote: > On Mon, Oct 3, 2016 at 5:33 PM, <mailto:esprehn@chromium.org> ...
4 years, 2 months ago (2016-10-04 00:42:40 UTC) #30
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/2377883002/60001
4 years, 2 months ago (2016-10-04 02:05:42 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-04 02:11:10 UTC) #36
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/c234ff9ce6b4ce3c1561dc99ef30837d4000101e Cr-Commit-Position: refs/heads/master@{#422672}
4 years, 2 months ago (2016-10-04 02:14:18 UTC) #38
danakj
4 years, 2 months ago (2016-10-04 21:41:27 UTC) #39
Message was sent while issue was closed.
https://codereview.chromium.org/2377883002/diff/60001/content/child/runtime_f...
File content/child/runtime_features.cc (right):

https://codereview.chromium.org/2377883002/diff/60001/content/child/runtime_f...
content/child/runtime_features.cc:119:
command_line.HasSwitch(switches::kDisableGpu))
Sorry just noticed this but you don't need to check disable-gpu here. In that
case we won't be able to make a context. Similarly we dont check for that flag
here
https://cs.chromium.org/chromium/src/content/renderer/render_thread_impl.cc?r...

Powered by Google App Engine
This is Rietveld 408576698