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

Issue 126993002: Switch from CommandLine switch to WebPreferences to control Pepper 3D. (Closed)

Created:
6 years, 11 months ago by Zhenyao Mo
Modified:
6 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, piman+watch_chromium.org, jam, darin-cc_chromium.org, Nick Bray (chromium), JF
Visibility:
Public.

Description

Switch from CommandLine switch to WebPreferences to control Pepper 3D. This is to get us ready to dynamically enable or disable a renderer feature whenever, for example, the gpu is switched in a multiple gpu system. BUG=332188 TEST= R=bbudge@chromium.org, jamesr@chromium.org, joi@chromium.org, kbr@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244212

Patch Set 1 #

Patch Set 2 : fix a bug jamesr pointed out #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -34 lines) Patch
M content/browser/gpu/gpu_data_manager_impl_private.cc View 5 chunks +9 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/pepper/ppb_graphics_3d_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/pepper/ppb_graphics_3d_impl.cc View 4 chunks +12 lines, -21 lines 0 comments Download
M webkit/common/webpreferences.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/common/webpreferences.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Zhenyao Mo
bbudge: content/renderer/pepper jamesr: webkit/ ken: the rest Thank you.
6 years, 11 months ago (2014-01-07 23:36:46 UTC) #1
jamesr
Without patching the param traits: https://code.google.com/p/chromium/codesearch#chromium/src/content/public/common/common_param_traits_macros.h&ct=rc&cd=4&q=WebPreferences%20traits&sq=package:chromium&l=76&dr=C the flag will not propagate from the browser to ...
6 years, 11 months ago (2014-01-07 23:43:33 UTC) #2
Zhenyao Mo
On 2014/01/07 23:43:33, jamesr wrote: > Without patching the param traits: > https://code.google.com/p/chromium/codesearch#chromium/src/content/public/common/common_param_traits_macros.h&ct=rc&cd=4&q=WebPreferences%2520traits&sq=package:chromium&l=76&dr=C > the ...
6 years, 11 months ago (2014-01-07 23:46:33 UTC) #3
Zhenyao Mo
joi: content/public
6 years, 11 months ago (2014-01-07 23:53:28 UTC) #4
Zhenyao Mo
Also add alokp@: do you know if there is a way to test the code ...
6 years, 11 months ago (2014-01-07 23:56:12 UTC) #5
Ken Russell (switch to Gerrit)
On 2014/01/07 23:56:12, Zhenyao Mo wrote: > Also add alokp@: do you know if there ...
6 years, 11 months ago (2014-01-08 03:49:37 UTC) #6
Zhenyao Mo
Testing wise: I manually tried the Angry Bots with this CL and without this CL. ...
6 years, 11 months ago (2014-01-08 23:28:42 UTC) #7
Ken Russell (switch to Gerrit)
LGTM FYI, I fixed a couple of typos in the CL description.
6 years, 11 months ago (2014-01-08 23:47:35 UTC) #8
bbudge
content/renderer/pepper LGTM
6 years, 11 months ago (2014-01-09 01:27:54 UTC) #9
Zhenyao Mo
jamesr, joi: ping
6 years, 11 months ago (2014-01-09 20:01:06 UTC) #10
jamesr
lgtm
6 years, 11 months ago (2014-01-09 20:42:36 UTC) #11
Jói
//content/public LGTM
6 years, 11 months ago (2014-01-10 11:19:56 UTC) #12
Zhenyao Mo
6 years, 11 months ago (2014-01-10 18:59:25 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 manually as r244212 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698