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

Issue 188143003: Ensure that pepper plugins honor the GPU H/W video decode blacklist and the disable-accelerated-vid… (Closed)

Created:
6 years, 9 months ago by ananta
Modified:
6 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, piman+watch_chromium.org, jam, darin-cc_chromium.org
Visibility:
Public.

Description

Ensure that pepper plugins honor the GPU H/W video decode blacklist and the disable-accelerated-video-decode switch Pepper plugins like Flash should honor the GPU blacklist. Not doing that causes them to try and use buggy video drivers for video decoding which does not end well. This is done by adding a flag in the accelerated_video_decode_enabled in the WebPreferences structure This is initialized along with the other preferences in the GpuDataManagerImplPrivate::UpdateRendererWebPrefs function. This is also passed to PPAPI plugins via the ppapi::Preferences structure. The flag defaults to false. The plugin process checks this flag and if it is false does not attempt to create the video decoder. BUG=348154 R=bbudge@chromium.org, cpu@chromium.org, jam@chromium.org, jamesr@chromium.org, jbauman@chromium.org, palmer@chromium.org, bbudge, cpu, jbauman Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255473

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -3 lines) Patch
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/ppb_video_decoder_proxy.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/shared_impl/ppapi_preferences.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/shared_impl/ppapi_preferences.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M webkit/common/webpreferences.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/common/webpreferences.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
ananta
6 years, 9 months ago (2014-03-06 00:38:54 UTC) #1
ananta
+jamesr for webkit\common OWNERS stamp
6 years, 9 months ago (2014-03-06 00:40:55 UTC) #2
bbudge
ppapi parts LGTM with a comment. https://codereview.chromium.org/188143003/diff/1/ppapi/proxy/ppb_video_decoder_proxy.cc File ppapi/proxy/ppb_video_decoder_proxy.cc (right): https://codereview.chromium.org/188143003/diff/1/ppapi/proxy/ppb_video_decoder_proxy.cc#newcode200 ppapi/proxy/ppb_video_decoder_proxy.cc:200: if (!dispatcher->preferences().is_accelerated_video_decode_enabled) This ...
6 years, 9 months ago (2014-03-06 01:04:03 UTC) #3
ananta
https://codereview.chromium.org/188143003/diff/1/ppapi/proxy/ppb_video_decoder_proxy.cc File ppapi/proxy/ppb_video_decoder_proxy.cc (right): https://codereview.chromium.org/188143003/diff/1/ppapi/proxy/ppb_video_decoder_proxy.cc#newcode200 ppapi/proxy/ppb_video_decoder_proxy.cc:200: if (!dispatcher->preferences().is_accelerated_video_decode_enabled) On 2014/03/06 01:04:04, bbudge wrote: > This ...
6 years, 9 months ago (2014-03-06 01:06:45 UTC) #4
jamesr
Hmm, this bit doesn't appear to have anything to do with Blink. Do we not ...
6 years, 9 months ago (2014-03-06 04:20:46 UTC) #5
ananta
On 2014/03/06 04:20:46, jamesr wrote: > Hmm, this bit doesn't appear to have anything to ...
6 years, 9 months ago (2014-03-06 18:59:47 UTC) #6
cpu_(ooo_6.6-7.5)
jamesr, according to the pepperistas this is the way. We are happy to invent a ...
6 years, 9 months ago (2014-03-06 20:45:54 UTC) #7
cpu_(ooo_6.6-7.5)
lgtm
6 years, 9 months ago (2014-03-06 20:47:21 UTC) #8
jamesr
Can you prefix the flag with "pepper_" or something to indicate that it's not relevant ...
6 years, 9 months ago (2014-03-06 20:48:41 UTC) #9
jbauman
lgtm
6 years, 9 months ago (2014-03-06 20:51:50 UTC) #10
ananta
On 2014/03/06 20:48:41, jamesr wrote: > Can you prefix the flag with "pepper_" or something ...
6 years, 9 months ago (2014-03-06 20:55:01 UTC) #11
ananta
+jam for content OWNERS
6 years, 9 months ago (2014-03-06 20:57:59 UTC) #12
jam
lgtm
6 years, 9 months ago (2014-03-06 21:45:00 UTC) #13
ananta
+piman for ppapi\proxy +palmer for content\public\common\common_param_traits_macros.h
6 years, 9 months ago (2014-03-07 00:01:52 UTC) #14
bbudge
On 2014/03/07 00:01:52, ananta wrote: > +piman for ppapi\proxy > +palmer for content\public\common\common_param_traits_macros.h I'm an ...
6 years, 9 months ago (2014-03-07 00:04:38 UTC) #15
palmer
IPC security LGTM
6 years, 9 months ago (2014-03-07 00:15:29 UTC) #16
ananta
6 years, 9 months ago (2014-03-07 00:18:36 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 manually as r255473 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698