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

Issue 723993003: Sandbox initialization for VideoToolbox. (Closed)

Created:
6 years, 1 month ago by sandersd (OOO until July 31)
Modified:
6 years ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@vt_queue_frames
Project:
chromium
Visibility:
Public.

Description

Sandbox initialization for VideoToolbox. Creates a VideoToolbox decompression session during sandbox startup so that VideoToolbox can load all of its libraries before the sandbox goes into effect. Note: Once this CL is committed, VTVideoDecodeAccelerator can be enabled using only --ignore-gpu-blacklist. BUG=133828 Committed: https://crrev.com/592cdf068b0e4dfabe9a6e44af55b3ee1e24fbc7 Cr-Commit-Position: refs/heads/master@{#305938}

Patch Set 1 #

Patch Set 2 : Fix comment. #

Patch Set 3 : Reduce code duplication. #

Total comments: 10

Patch Set 4 : Comment block for initialization function. #

Patch Set 5 : Header comment #

Total comments: 8

Patch Set 6 : Logging #

Total comments: 10

Patch Set 7 : Nits. #

Patch Set 8 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -40 lines) Patch
M content/common/gpu/media/vt_video_decode_accelerator.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator.cc View 1 2 3 4 5 6 7 5 chunks +125 lines, -40 lines 0 comments Download
M content/common/sandbox_mac.mm View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (8 generated)
jeremy
Thanks for looking into this! A couple of high level remarks: * Does this work ...
6 years, 1 month ago (2014-11-16 12:01:39 UTC) #3
sandersd (OOO until July 31)
On 2014/11/16 12:01:39, jeremy wrote: > Thanks for looking into this! > A couple of ...
6 years, 1 month ago (2014-11-18 20:18:39 UTC) #5
sandersd (OOO until July 31)
jeremy: ping
6 years, 1 month ago (2014-11-20 21:27:18 UTC) #6
sandersd (OOO until July 31)
dalecurtis: Please review for non-sandbox related issues.
6 years, 1 month ago (2014-11-20 21:28:57 UTC) #9
DaleCurtis
Can you please elaborate in the changelist description why you need to fake an initialization ...
6 years, 1 month ago (2014-11-20 23:08:33 UTC) #10
sandersd (OOO until July 31)
https://codereview.chromium.org/723993003/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/723993003/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode88 content/common/gpu/media/vt_video_decode_accelerator.cc:88: // Create a decoding session. On 2014/11/20 23:08:33, DaleCurtis ...
6 years, 1 month ago (2014-11-21 00:04:52 UTC) #11
DaleCurtis
https://codereview.chromium.org/723993003/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/723993003/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode88 content/common/gpu/media/vt_video_decode_accelerator.cc:88: // Create a decoding session. On 2014/11/21 00:04:52, sandersd ...
6 years, 1 month ago (2014-11-21 02:04:13 UTC) #12
sandersd (OOO until July 31)
https://codereview.chromium.org/723993003/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/723993003/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode88 content/common/gpu/media/vt_video_decode_accelerator.cc:88: // Create a decoding session. On 2014/11/21 02:04:13, DaleCurtis ...
6 years, 1 month ago (2014-11-21 02:07:08 UTC) #13
DaleCurtis
https://codereview.chromium.org/723993003/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/723993003/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode70 content/common/gpu/media/vt_video_decode_accelerator.cc:70: void InitializeVideoToolbox() { What's the impact on gpu process ...
6 years, 1 month ago (2014-11-21 19:01:02 UTC) #14
sandersd (OOO until July 31)
https://codereview.chromium.org/723993003/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/723993003/diff/60001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode70 content/common/gpu/media/vt_video_decode_accelerator.cc:70: void InitializeVideoToolbox() { On 2014/11/21 19:01:02, DaleCurtis wrote: > ...
6 years, 1 month ago (2014-11-21 20:19:35 UTC) #15
DaleCurtis
https://codereview.chromium.org/723993003/diff/100001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/723993003/diff/100001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode76 content/common/gpu/media/vt_video_decode_accelerator.cc:76: // not documented), then VideoToolbox will fall back on ...
6 years, 1 month ago (2014-11-21 21:00:50 UTC) #16
sandersd (OOO until July 31)
https://codereview.chromium.org/723993003/diff/100001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/723993003/diff/100001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode76 content/common/gpu/media/vt_video_decode_accelerator.cc:76: // not documented), then VideoToolbox will fall back on ...
6 years, 1 month ago (2014-11-21 21:20:19 UTC) #17
DaleCurtis
lgtm
6 years, 1 month ago (2014-11-21 21:24:06 UTC) #19
jeremy
A few very small nits, otherwise looks fine - I'd like rsesek@ to look at ...
6 years, 1 month ago (2014-11-23 10:29:16 UTC) #20
sandersd (OOO until July 31)
https://codereview.chromium.org/723993003/diff/140001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/723993003/diff/140001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode44 content/common/gpu/media/vt_video_decode_accelerator.cc:44: static CFMutableDictionaryRef BuildImageConfig( On 2014/11/23 10:29:16, jeremy wrote: > ...
6 years ago (2014-11-24 19:06:16 UTC) #21
Robert Sesek
LGTM
6 years ago (2014-11-24 19:45:26 UTC) #22
jeremy
LGTM
6 years ago (2014-11-25 14:23:38 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/723993003/200001
6 years ago (2014-11-27 01:29:03 UTC) #26
commit-bot: I haz the power
Committed patchset #8 (id:200001)
6 years ago (2014-11-27 01:57:10 UTC) #27
commit-bot: I haz the power
6 years ago (2014-11-27 01:57:55 UTC) #28
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/592cdf068b0e4dfabe9a6e44af55b3ee1e24fbc7
Cr-Commit-Position: refs/heads/master@{#305938}

Powered by Google App Engine
This is Rietveld 408576698