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

Issue 27197009: Enforce FCM settings via the blacklist rather than in-code version checks. (Closed)

Created:
7 years, 2 months ago by gab
Modified:
7 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, piman+watch_chromium.org, jam, apatrick_chromium, darin-cc_chromium.org, wiltzius
Visibility:
Public.

Description

Enforce FCM settings via the blacklist rather than in-code version checks. As of http://crrev.com/228816 both Win and Mac bots are properly using the blacklist and version checks in compositor_util.cc are no longer required. Also cleanup the blacklist to: 1) Put Vista and XP blacklisting of FCM under the same rule. 2) Always blacklist Stage3D when FCM is disabled (as in https://codereview.chromium.org/25602002). This is part of https://codereview.chromium.org/22198004/ which was split out into smaller chunks (now a follow-up to https://codereview.chromium.org/23703017/). BUG=302738, 233830, 306557 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229309

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -32 lines) Patch
M content/browser/gpu/compositor_util.cc View 1 chunk +6 lines, -12 lines 0 comments Download
M gpu/config/software_rendering_list_json.cc View 2 chunks +5 lines, -20 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
gab
Mo/Vangelis, PTAL. Thanks! Gab
7 years, 2 months ago (2013-10-16 18:06:17 UTC) #1
Zhenyao Mo
With this, we will lose flash 3d on XP. Please wait until jbauman sign off ...
7 years, 2 months ago (2013-10-16 19:03:48 UTC) #2
jbauman
On 2013/10/16 19:03:48, Zhenyao Mo wrote: > With this, we will lose flash 3d on ...
7 years, 2 months ago (2013-10-17 00:33:24 UTC) #3
vangelis
On 2013/10/17 00:33:24, jbauman wrote: > On 2013/10/16 19:03:48, Zhenyao Mo wrote: > > With ...
7 years, 2 months ago (2013-10-17 05:37:48 UTC) #4
gab
On 2013/10/17 05:37:48, vangelis wrote: > On 2013/10/17 00:33:24, jbauman wrote: > > On 2013/10/16 ...
7 years, 2 months ago (2013-10-17 18:24:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/27197009/11001
7 years, 2 months ago (2013-10-17 19:39:11 UTC) #6
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 2 months ago (2013-10-17 22:07:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/27197009/11001
7 years, 2 months ago (2013-10-17 23:20:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/27197009/11001
7 years, 2 months ago (2013-10-18 01:38:22 UTC) #9
commit-bot: I haz the power
Change committed as 229309
7 years, 2 months ago (2013-10-18 04:00:05 UTC) #10
vangelis
On 2013/10/17 00:33:24, jbauman wrote: > On 2013/10/16 19:03:48, Zhenyao Mo wrote: > > With ...
7 years, 2 months ago (2013-10-18 05:22:51 UTC) #11
jbauman
On 2013/10/18 05:22:51, vangelis wrote: > On 2013/10/17 00:33:24, jbauman wrote: > > On 2013/10/16 ...
7 years, 2 months ago (2013-10-18 05:35:23 UTC) #12
vangelis
On 2013/10/18 05:35:23, jbauman wrote: > On 2013/10/18 05:22:51, vangelis wrote: > > On 2013/10/17 ...
7 years, 2 months ago (2013-10-18 16:30:32 UTC) #13
gab
On 2013/10/18 16:30:32, vangelis wrote: > On 2013/10/18 05:35:23, jbauman wrote: > > On 2013/10/18 ...
7 years, 2 months ago (2013-10-18 16:36:22 UTC) #14
vangelis
On 2013/10/18 16:36:22, gab wrote: > On 2013/10/18 16:30:32, vangelis wrote: > > On 2013/10/18 ...
7 years, 2 months ago (2013-10-18 16:38:06 UTC) #15
wiltzius
Yeah to be clear the desired configuration is: On Vista and XP: always use software ...
7 years, 2 months ago (2013-10-18 22:13:01 UTC) #16
vangelis
7 years, 2 months ago (2013-10-21 02:54:45 UTC) #17
On Fri, Oct 18, 2013 at 3:12 PM, Tom Wiltzius <wiltzius@chromium.org> wrote:

> Yeah to be clear the desired configuration is:
>
> On Vista and XP: always use software compositor, always use TCM, never
> allow any hardware acceleration features like Stage3D.
> On Win7/8: always use threaded compositor, and optionally individually
> disable hardware features for Stage3D, accelerated video, Canvas2D, WebGL.
> Also optionally disable hardware threaded compositing in favor of software
> threaded compositing, in which case all of the other features should also
> be automatically disabled.
>
> Make sense?
>
> There's an additional requirement, though, that we need to worry about for
> M32 -- if all hardware acceleration features are blacklisted, I want us to
> uncheck the "use hardware acceleration" checkbox in Chrome's settings. If
> the user checks it again, we can run Chrome with full capabilities -- the
> equivalent of "ignore-gpu-blacklist". The box should only have this
> behavior if *all* features are disabled (i.e. if they get software
> compositing). If only a couple features are (e.g. only Canvas2D) then the
> box should remain checked by default and unchecking it should force them
> into full software mode. I will file a bug about this, it's a separate
> issue, but just thought I'd mention here in case its relevant.
>

Tom, I'm assuming this last part only applies to Win7+ ? I don't think we
want to allow folks to enable gpu acceleration as over time it may no
longer be possible (e.g if we remove support for D3D9). Should we simply
remove that settings checkbox on XP + Vista?


>
> On Friday, October 18, 2013, wrote:
>
>> On 2013/10/18 05:22:51, vangelis wrote:
>>
>>> On 2013/10/17 00:33:24, jbauman wrote:
>>> > On 2013/10/16 19:03:48, Zhenyao Mo wrote:
>>> > > With this, we will lose flash 3d on XP.  Please wait until jbauman
>>> sign
>>>
>> off
>>
>>> > this
>>> > > CL, as he enabled flash 3d on XP before.
>>> > >
>>> > > Other than that, LGTM
>>> >
>>> > lgtm. Though this will disable GPU acceleration in aura on XP machines
>>> with
>>> > newer drivers, so be ready for the fallout.
>>>
>>
>>  John, is TCM needed for the software compositor to kick in?
>>>
>>
>> No. The software compositor is always available on win aura. The GPU is
>> used if
>> it works and if neither accelerated compositing nor force compositing
>> mode nor
>> webgl are blacklisted, and the software compositor is used otherwise.
>>
>> I'd prefer that we always use TCM (in the renderer) when the software
>> compositor
>> could be used, but they're orthogonal.
>>
>>
https://codereview.chromium.**org/27197009/<https://codereview.chromium.org/2...
>>
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698