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

Issue 7790016: Hookup Gpu blacklist with NaCl Pepper3D access. (Closed)

Created:
9 years, 3 months ago by Zhenyao Mo
Modified:
9 years, 3 months ago
Reviewers:
polina, brettw
CC:
chromium-reviews, joi+watch-content_chromium.org, piman+watch_chromium.org, jam, darin-cc_chromium.org, apatrick_chromium, Ken Russell (switch to Gerrit), Vangelis Kokkevis, piman
Visibility:
Public.

Description

Hookup Gpu blacklist with NaCl Pepper3D access. If WebGL is blacklisted, we should not allow NaCl to have Pepper 3D access. However, we still want trusted Apps like Flash or Netflix player to go through. BUG=93899 TEST=no NaCl Pepper 3D access if the driver/card is blacklisted for WebGL Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99383

Patch Set 1 #

Total comments: 11

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -6 lines) Patch
M content/browser/gpu/gpu_data_manager.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
A ppapi/c/private/ppb_gpu_blacklist_private.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_graphics_3d_rpc_server.cc View 1 2 3 3 chunks +14 lines, -2 lines 0 comments Download
M ppapi/ppapi_cpp.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/tests/all_c_includes.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/plugins/plugin_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/plugin_switches.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
A webkit/plugins/ppapi/ppb_gpu_blacklist_private_impl.h View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
A webkit/plugins/ppapi/ppb_gpu_blacklist_private_impl.cc View 1 2 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Zhenyao Mo
Please review.
9 years, 3 months ago (2011-08-30 00:06:37 UTC) #1
brettw
webkit stuff LGTM, I've added Polina for the nacl proxy stuff. http://codereview.chromium.org/7790016/diff/1/ppapi/c/private/ppb_gpu_blacklist_private.h File ppapi/c/private/ppb_gpu_blacklist_private.h (right): ...
9 years, 3 months ago (2011-08-30 15:57:36 UTC) #2
polina
http://codereview.chromium.org/7790016/diff/1/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_graphics_3d_rpc_server.cc File ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_graphics_3d_rpc_server.cc (right): http://codereview.chromium.org/7790016/diff/1/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_graphics_3d_rpc_server.cc#newcode82 ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_graphics_3d_rpc_server.cc:82: CHECK(module); NaCl code usually goes for explicit != NULL ...
9 years, 3 months ago (2011-08-31 06:39:52 UTC) #3
Zhenyao Mo
Revised. Please review again. http://codereview.chromium.org/7790016/diff/1/ppapi/c/private/ppb_gpu_blacklist_private.h File ppapi/c/private/ppb_gpu_blacklist_private.h (right): http://codereview.chromium.org/7790016/diff/1/ppapi/c/private/ppb_gpu_blacklist_private.h#newcode14 ppapi/c/private/ppb_gpu_blacklist_private.h:14: * NativeClient applications could access ...
9 years, 3 months ago (2011-09-01 18:54:41 UTC) #4
polina
LGTM http://codereview.chromium.org/7790016/diff/1/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_graphics_3d_rpc_server.cc File ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_graphics_3d_rpc_server.cc (right): http://codereview.chromium.org/7790016/diff/1/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_graphics_3d_rpc_server.cc#newcode87 ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_graphics_3d_rpc_server.cc:87: return true; // TODO(zmo): should we return true ...
9 years, 3 months ago (2011-09-02 09:56:52 UTC) #5
polina
9 years, 3 months ago (2011-09-02 09:58:25 UTC) #6
LGTM

(after the comment is addressed)

http://codereview.chromium.org/7790016/diff/9002/ppapi/native_client/src/shar...
File
ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_graphics_3d_rpc_server.cc
(right):

http://codereview.chromium.org/7790016/diff/9002/ppapi/native_client/src/shar...
ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_graphics_3d_rpc_server.cc:83:
if (!interface)
And if you decide against using GetBrowserInterfaceSafe, please apply the style
consistency  request from earlier here and use explicit NULL comparison. Thanks.

Powered by Google App Engine
This is Rietveld 408576698