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

Issue 1615153002: Change PeerConnectionFactory.setVideoHwAccelerationOptions to create shared Egl context for harware… (Closed)

Created:
4 years, 11 months ago by perkj_webrtc
Modified:
4 years, 11 months ago
Reviewers:
AlexG
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Change PeerConnectionFactory.setVideoHwAccelerationOptions to create shared Egl context for harware encoders and decoders. Before this fix, it was required that the EGL context used as an argument was kept open until all PeerConnections using the context had been closed. With this fix, that is no longer required. Also, if a released EGLContext (EGL_NO_CONTEXT) is used, harware codecs will fallback to use byte buffers for encoding and decoding. BUG=b/26583522 R=glaznev@webrtc.org Committed: https://crrev.com/ec2922f86437f88a4a72292696b8b1a3fa133d0d Cr-Commit-Position: refs/heads/master@{#11398}

Patch Set 1 : EglBase10 #

Patch Set 2 : ... #

Patch Set 3 : Added eglbase_jni to avoid code duplication. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -103 lines) Patch
M talk/app/webrtc/java/android/org/webrtc/EglBase.java View 1 chunk +4 lines, -0 lines 0 comments Download
M talk/app/webrtc/java/android/org/webrtc/EglBase10.java View 1 1 chunk +3 lines, -0 lines 0 comments Download
M talk/app/webrtc/java/android/org/webrtc/EglBase14.java View 1 chunk +3 lines, -0 lines 0 comments Download
M talk/app/webrtc/java/jni/androidmediacodeccommon.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M talk/app/webrtc/java/jni/androidmediadecoder_jni.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M talk/app/webrtc/java/jni/androidmediadecoder_jni.cc View 1 2 4 chunks +8 lines, -33 lines 0 comments Download
M talk/app/webrtc/java/jni/androidmediaencoder_jni.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M talk/app/webrtc/java/jni/androidmediaencoder_jni.cc View 1 2 6 chunks +11 lines, -29 lines 0 comments Download
A + talk/app/webrtc/java/jni/eglbase_jni.h View 1 2 2 chunks +24 lines, -19 lines 0 comments Download
A talk/app/webrtc/java/jni/eglbase_jni.cc View 1 2 1 chunk +90 lines, -0 lines 0 comments Download
M talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java View 1 chunk +2 lines, -8 lines 0 comments Download
M talk/libjingle.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java View 8 chunks +63 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
perkj_webrtc
Something like this...
4 years, 11 months ago (2016-01-21 21:05:23 UTC) #3
AlexG
On 2016/01/21 21:05:23, perkj_webrtc wrote: > Something like this... May be a little easier solution ...
4 years, 11 months ago (2016-01-26 01:04:26 UTC) #4
perkj_webrtc
On 2016/01/26 01:04:26, AlexG wrote: > On 2016/01/21 21:05:23, perkj_webrtc wrote: > > Something like ...
4 years, 11 months ago (2016-01-26 10:00:35 UTC) #5
AlexG
On 2016/01/26 10:00:35, perkj_webrtc wrote: > On 2016/01/26 01:04:26, AlexG wrote: > > On 2016/01/21 ...
4 years, 11 months ago (2016-01-26 19:46:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1615153002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1615153002/60001
4 years, 11 months ago (2016-01-27 09:06:08 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_libfuzzer_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_libfuzzer_rel/builds/601)
4 years, 11 months ago (2016-01-27 10:08:16 UTC) #10
perkj_webrtc
Committed patchset #3 (id:60001) manually as ec2922f86437f88a4a72292696b8b1a3fa133d0d (presubmit successful).
4 years, 11 months ago (2016-01-27 14:26:02 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 14:26:06 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ec2922f86437f88a4a72292696b8b1a3fa133d0d
Cr-Commit-Position: refs/heads/master@{#11398}

Powered by Google App Engine
This is Rietveld 408576698