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

Unified Diff: talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java

Issue 1615153002: Change PeerConnectionFactory.setVideoHwAccelerationOptions to create shared Egl context for harware… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added eglbase_jni to avoid code duplication. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/app/webrtc/java/jni/eglbase_jni.cc ('k') | talk/libjingle.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java
diff --git a/talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java b/talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java
index 6ee062b14d401656a167c62b7a9a80f456a12e39..e6b320562745438630fb5e03a6bfcb0e783702f2 100644
--- a/talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java
+++ b/talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java
@@ -176,18 +176,12 @@ public class PeerConnectionFactory {
nativeSetOptions(nativeFactory, options);
}
- @Deprecated
- public void setVideoHwAccelerationOptions(Object renderEGLContext) {
- nativeSetVideoHwAccelerationOptions(nativeFactory, renderEGLContext, renderEGLContext);
- }
-
/** Set the EGL context used by HW Video encoding and decoding.
*
- *
- * @param localEGLContext An instance of javax.microedition.khronos.egl.EGLContext.
+ * @param localEGLContext An instance of EglBase.Context.
* Must be the same as used by VideoCapturerAndroid and any local
* video renderer.
- * @param remoteEGLContext An instance of javax.microedition.khronos.egl.EGLContext.
+ * @param remoteEGLContext An instance of EglBase.Context.
* Must be the same as used by any remote video renderer.
*/
public void setVideoHwAccelerationOptions(Object localEGLContext, Object remoteEGLContext) {
« no previous file with comments | « talk/app/webrtc/java/jni/eglbase_jni.cc ('k') | talk/libjingle.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698