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

Issue 10824019: Tweak the GPU process sandbox to allow accelerated video decode. (Closed)

Created:
8 years, 5 months ago by Jorge Lucangeli Obes
Modified:
8 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jln+watch_chromium.org, apatrick_chromium
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Tweak the GPU process sandbox to allow accelerated video decode. BUG=127664 TEST=Accelerated .mp4 video works on Chrome OS. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148649

Patch Set 1 #

Patch Set 2 : Properly scope k965DrvVideoPath_64. #

Patch Set 3 : Fix incorrect path for shared object. #

Total comments: 8

Patch Set 4 : Addressed jln's comments. #

Total comments: 2

Patch Set 5 : Added TODO as per piman's comment. #

Patch Set 6 : Rebased over VA decode flag change. #

Total comments: 8

Patch Set 7 : Addressed jln's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -6 lines) Patch
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/common/sandbox_init_linux.cc View 1 2 3 4 5 6 5 chunks +37 lines, -6 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
Jorge Lucangeli Obes
PTAL
8 years, 5 months ago (2012-07-25 20:32:48 UTC) #1
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/10824019/diff/7001/content/common/sandbox_init_linux.cc File content/common/sandbox_init_linux.cc (right): https://chromiumcodereview.appspot.com/10824019/diff/7001/content/common/sandbox_init_linux.cc#newcode150 content/common/sandbox_init_linux.cc:150: bool EnabledAcceleratedVideoDecode() { Rename to AcceleratedVideoDecodeIsEnabled() to better match ...
8 years, 5 months ago (2012-07-25 23:47:56 UTC) #2
Jorge Lucangeli Obes
PTAL https://chromiumcodereview.appspot.com/10824019/diff/7001/content/common/sandbox_init_linux.cc File content/common/sandbox_init_linux.cc (right): https://chromiumcodereview.appspot.com/10824019/diff/7001/content/common/sandbox_init_linux.cc#newcode150 content/common/sandbox_init_linux.cc:150: bool EnabledAcceleratedVideoDecode() { On 2012/07/25 23:47:56, Julien Tinnes ...
8 years, 5 months ago (2012-07-26 00:43:28 UTC) #3
jln (very slow on Chromium)
LGTM
8 years, 5 months ago (2012-07-26 00:49:34 UTC) #4
Jorge Lucangeli Obes
apatrick, piman: OWNERS LGTM for gpu_process_host.cc? Forwarding the --enable-accelerated-video-decode flag to the GPU process, needed ...
8 years, 5 months ago (2012-07-26 00:56:50 UTC) #5
piman
https://chromiumcodereview.appspot.com/10824019/diff/5004/content/common/sandbox_init_linux.cc File content/common/sandbox_init_linux.cc (right): https://chromiumcodereview.appspot.com/10824019/diff/5004/content/common/sandbox_init_linux.cc#newcode415 content/common/sandbox_init_linux.cc:415: "/usr/lib64/va/drivers/i965_drv_video.so"; What about i915 (Alex, etc.)?
8 years, 5 months ago (2012-07-26 01:09:52 UTC) #6
Jorge Lucangeli Obes
On 2012/07/26 01:09:52, piman wrote: > https://chromiumcodereview.appspot.com/10824019/diff/5004/content/common/sandbox_init_linux.cc > File content/common/sandbox_init_linux.cc (right): > > https://chromiumcodereview.appspot.com/10824019/diff/5004/content/common/sandbox_init_linux.cc#newcode415 > ...
8 years, 5 months ago (2012-07-26 01:12:47 UTC) #7
piman
LGTM for now, but please add a todo. https://chromiumcodereview.appspot.com/10824019/diff/5004/content/common/sandbox_init_linux.cc File content/common/sandbox_init_linux.cc (right): https://chromiumcodereview.appspot.com/10824019/diff/5004/content/common/sandbox_init_linux.cc#newcode415 content/common/sandbox_init_linux.cc:415: "/usr/lib64/va/drivers/i965_drv_video.so"; ...
8 years, 5 months ago (2012-07-26 01:13:05 UTC) #8
Jorge Lucangeli Obes
On 2012/07/26 01:13:05, piman wrote: > LGTM for now, but please add a todo. > ...
8 years, 5 months ago (2012-07-26 01:26:26 UTC) #9
piman
On Wed, Jul 25, 2012 at 6:26 PM, <jorgelo@chromium.org> wrote: > On 2012/07/26 01:13:05, piman ...
8 years, 5 months ago (2012-07-26 01:28:04 UTC) #10
Jorge Lucangeli Obes
On 2012/07/26 01:28:04, piman wrote: > On Wed, Jul 25, 2012 at 6:26 PM, <mailto:jorgelo@chromium.org> ...
8 years, 5 months ago (2012-07-26 01:29:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jorgelo@chromium.org/10824019/11002
8 years, 5 months ago (2012-07-26 05:10:20 UTC) #12
commit-bot: I haz the power
Try job failure for 10824019-11002 (retry) on android for steps "compile, build" (clobber build). It's ...
8 years, 5 months ago (2012-07-26 05:25:35 UTC) #13
Jorge Lucangeli Obes
On 2012/07/26 05:25:35, I haz the power (commit-bot) wrote: > Try job failure for 10824019-11002 ...
8 years, 5 months ago (2012-07-26 05:39:14 UTC) #14
Jorge Lucangeli Obes
Please take another look. Mostly clean rebase over the flag switch, keeping the same semantics.
8 years, 5 months ago (2012-07-26 17:18:03 UTC) #15
piman
lgtm
8 years, 5 months ago (2012-07-26 17:23:32 UTC) #16
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/10824019/diff/6004/content/common/sandbox_init_linux.cc File content/common/sandbox_init_linux.cc (right): https://chromiumcodereview.appspot.com/10824019/diff/6004/content/common/sandbox_init_linux.cc#newcode150 content/common/sandbox_init_linux.cc:150: bool IsAcceleratedVideoDecodeEnabled() { Any chance that gpu/ could export ...
8 years, 5 months ago (2012-07-26 17:53:54 UTC) #17
Jorge Lucangeli Obes
https://chromiumcodereview.appspot.com/10824019/diff/6004/content/common/sandbox_init_linux.cc File content/common/sandbox_init_linux.cc (right): https://chromiumcodereview.appspot.com/10824019/diff/6004/content/common/sandbox_init_linux.cc#newcode150 content/common/sandbox_init_linux.cc:150: bool IsAcceleratedVideoDecodeEnabled() { On 2012/07/26 17:53:54, Julien Tinnes wrote: ...
8 years, 5 months ago (2012-07-26 18:33:35 UTC) #18
apatrick_chromium
content/browser/gpu/gpu_process_host.cc LGTM
8 years, 5 months ago (2012-07-26 19:01:55 UTC) #19
jln (very slow on Chromium)
LGTM https://chromiumcodereview.appspot.com/10824019/diff/6004/content/common/sandbox_init_linux.cc File content/common/sandbox_init_linux.cc (right): https://chromiumcodereview.appspot.com/10824019/diff/6004/content/common/sandbox_init_linux.cc#newcode150 content/common/sandbox_init_linux.cc:150: bool IsAcceleratedVideoDecodeEnabled() { On 2012/07/26 18:33:36, Jorge Lucangeli ...
8 years, 5 months ago (2012-07-26 19:06:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jorgelo@chromium.org/10824019/2005
8 years, 5 months ago (2012-07-26 20:25:29 UTC) #21
Jorge Lucangeli Obes
jln: https://chromiumcodereview.appspot.com/10821049/ "https://chromiumcodereview.appspot.com/10821049/"
8 years, 5 months ago (2012-07-26 20:28:14 UTC) #22
Jorge Lucangeli Obes
That should have been: "Add a comment for Linux video decode acceleration."
8 years, 5 months ago (2012-07-26 20:30:27 UTC) #23
piman
https://chromiumcodereview.appspot.com/10824019/diff/6004/content/common/sandbox_init_linux.cc File content/common/sandbox_init_linux.cc (right): https://chromiumcodereview.appspot.com/10824019/diff/6004/content/common/sandbox_init_linux.cc#newcode154 content/common/sandbox_init_linux.cc:154: #if defined(OS_CHROMEOS) On 2012/07/26 18:33:36, Jorge Lucangeli Obes wrote: ...
8 years, 5 months ago (2012-07-26 20:33:52 UTC) #24
Jorge Lucangeli Obes
On 2012/07/26 20:33:52, piman wrote: > https://chromiumcodereview.appspot.com/10824019/diff/6004/content/common/sandbox_init_linux.cc > File content/common/sandbox_init_linux.cc (right): > > https://chromiumcodereview.appspot.com/10824019/diff/6004/content/common/sandbox_init_linux.cc#newcode154 > ...
8 years, 5 months ago (2012-07-26 20:36:37 UTC) #25
piman
On 2012/07/26 20:36:37, Jorge Lucangeli Obes wrote: > On 2012/07/26 20:33:52, piman wrote: > > ...
8 years, 5 months ago (2012-07-26 20:40:26 UTC) #26
jln (very slow on Chromium)
On 2012/07/26 20:40:26, piman wrote: > On 2012/07/26 20:36:37, Jorge Lucangeli Obes wrote: > > ...
8 years, 5 months ago (2012-07-26 21:53:08 UTC) #27
commit-bot: I haz the power
8 years, 5 months ago (2012-07-26 23:19:39 UTC) #28
Change committed as 148649

Powered by Google App Engine
This is Rietveld 408576698