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

Issue 792233007: blink: Enable the GPU trigger when viewport meta tag is not read (Closed)

Created:
6 years ago by hendrikw
Modified:
5 years, 7 months ago
CC:
blink-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

blink: Enable the GPU trigger when viewport meta tag is not read When we're on a device that isn't using the viewport meta tag (e.g. desktop), we turn on the GPU trigger. If we're emulating a device on desktop, the trigger does respect the meta tag. One gotcha for this change, if you use --single-process, we don't read the white/black list before figuring out if we should enable GPU, so it gets enabled by default -- I'll log an issue for this. Please see https://codereview.chromium.org/813773002/ for the other half of this change. BUG=440518 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194901

Patch Set 1 #

Patch Set 2 : save the flag as well #

Total comments: 5

Patch Set 3 : remove the settings changes #

Total comments: 1

Patch Set 4 : Readded the impl settings #

Patch Set 5 : merge #

Patch Set 6 : mergeagain #

Total comments: 1

Patch Set 7 : Address aelias' comments #

Patch Set 8 : mmmmmmerge! #

Patch Set 9 : merge once again last time I swear #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M Source/web/WebSettingsImpl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebSettingsImpl.cpp View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (6 generated)
hendrikw
PTAL Also, @ajuma, can you suggest a good owner reviewer for this? Thanks!
6 years ago (2014-12-17 18:31:34 UTC) #1
ajuma
> Also, @ajuma, can you suggest a good owner reviewer for this? aelias@ has done ...
6 years ago (2014-12-17 19:38:38 UTC) #3
hendrikw
PTAL, thanks! https://codereview.chromium.org/792233007/diff/20001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/792233007/diff/20001/Source/web/WebViewImpl.cpp#newcode3260 Source/web/WebViewImpl.cpp:3260: void WebViewImpl::updatePageDefinedViewportConstraints(const ViewportDescription& description) On 2014/12/17 19:38:38, ...
6 years ago (2014-12-17 20:20:01 UTC) #5
ajuma
https://codereview.chromium.org/792233007/diff/20001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/792233007/diff/20001/Source/web/WebViewImpl.cpp#newcode3260 Source/web/WebViewImpl.cpp:3260: void WebViewImpl::updatePageDefinedViewportConstraints(const ViewportDescription& description) On 2014/12/17 20:20:01, hendrikw wrote: ...
6 years ago (2014-12-17 20:36:16 UTC) #6
hendrikw
On 2014/12/17 20:36:16, ajuma wrote: > https://codereview.chromium.org/792233007/diff/20001/Source/web/WebViewImpl.cpp > File Source/web/WebViewImpl.cpp (right): > > https://codereview.chromium.org/792233007/diff/20001/Source/web/WebViewImpl.cpp#newcode3260 > ...
6 years ago (2014-12-17 21:32:22 UTC) #7
ajuma
On 2014/12/17 21:32:22, hendrikw wrote: > Ok, do you think there's a case which we ...
6 years ago (2014-12-17 21:44:32 UTC) #8
aelias_OOO_until_Jul13
lgtm
6 years ago (2014-12-18 00:16:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/792233007/60001
6 years ago (2014-12-18 00:18:26 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/39375) win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/42464)
6 years ago (2014-12-18 02:59:54 UTC) #13
hendrikw
I finally had a chance to debug this. content_shell (at least on desktop) is calling ...
5 years, 11 months ago (2014-12-30 01:10:32 UTC) #14
hendrikw
On 2014/12/30 01:10:32, hendrikw wrote: > I finally had a chance to debug this. > ...
5 years, 9 months ago (2015-02-28 00:15:10 UTC) #15
aelias_OOO_until_Jul13
Hmm, just so I follow, this makes "enable" behave similarly to "force" on desktops, modulo: ...
5 years, 9 months ago (2015-02-28 00:20:55 UTC) #16
hendrikw
On 2015/02/28 00:20:55, aelias wrote: > Hmm, just so I follow, this makes "enable" behave ...
5 years, 9 months ago (2015-02-28 00:23:30 UTC) #17
aelias_OOO_until_Jul13
Won't desktop be disabled by entry 99 in gpu/config/software_rendering_list_json.cc even if enabled in chrome://flags? Because ...
5 years, 9 months ago (2015-02-28 00:47:25 UTC) #18
hendrikw
On 2015/02/28 00:47:25, aelias wrote: > Won't desktop be disabled by entry 99 in > ...
5 years, 9 months ago (2015-02-28 00:51:01 UTC) #19
aelias_OOO_until_Jul13
So, my point is that we need two modes: - "force" should just unconditionally enable ...
5 years, 9 months ago (2015-02-28 01:05:05 UTC) #20
aelias_OOO_until_Jul13
OK, in any case, this Blink patch still looks mostly good to go, but I ...
5 years, 9 months ago (2015-02-28 01:13:33 UTC) #21
hendrikw
On 2015/02/28 01:05:05, aelias wrote: > So, my point is that we need two modes: ...
5 years, 9 months ago (2015-02-28 04:32:37 UTC) #22
hendrikw
On 2015/02/28 01:13:33, aelias wrote: > OK, in any case, this Blink patch still looks ...
5 years, 9 months ago (2015-02-28 04:43:08 UTC) #23
hendrikw
On 2015/02/28 04:43:08, hendrikw wrote: > On 2015/02/28 01:13:33, aelias wrote: > > OK, in ...
5 years, 7 months ago (2015-05-04 21:59:59 UTC) #24
aelias_OOO_until_Jul13
lgtm
5 years, 7 months ago (2015-05-04 22:58:55 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/792233007/160001
5 years, 7 months ago (2015-05-05 01:29:26 UTC) #28
commit-bot: I haz the power
5 years, 7 months ago (2015-05-05 03:19:44 UTC) #29
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194901

Powered by Google App Engine
This is Rietveld 408576698