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

Unified Diff: talk/app/webrtc/java/jni/surfacetexturehelper_jni.cc

Issue 1396013004: Android: Replace EGL14 with EGL10 (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add comments for hardcoded EGL constants Created 5 years, 2 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
Index: talk/app/webrtc/java/jni/surfacetexturehelper_jni.cc
diff --git a/talk/app/webrtc/java/jni/surfacetexturehelper_jni.cc b/talk/app/webrtc/java/jni/surfacetexturehelper_jni.cc
index 9e1092f2d40c7260ae14579a413a9f5f463f5674..05f1b2376894554b32de2d052b347d4805ab4414 100644
--- a/talk/app/webrtc/java/jni/surfacetexturehelper_jni.cc
+++ b/talk/app/webrtc/java/jni/surfacetexturehelper_jni.cc
@@ -40,14 +40,16 @@ SurfaceTextureHelper::SurfaceTextureHelper(JNIEnv* jni,
: j_surface_texture_helper_class_(
jni,
FindClass(jni, "org/webrtc/SurfaceTextureHelper")),
- j_surface_texture_helper_(jni, jni->CallStaticObjectMethod(
- *j_surface_texture_helper_class_,
- GetStaticMethodID(
- jni,
+ j_surface_texture_helper_(
+ jni,
+ jni->CallStaticObjectMethod(
*j_surface_texture_helper_class_,
- "create",
- "(Landroid/opengl/EGLContext;)Lorg/webrtc/SurfaceTextureHelper;"),
- egl_shared_context)),
+ GetStaticMethodID(jni,
+ *j_surface_texture_helper_class_,
+ "create",
+ "(Ljavax/microedition/khronos/egl/EGLContext;)"
+ "Lorg/webrtc/SurfaceTextureHelper;"),
+ egl_shared_context)),
j_return_texture_method_(GetMethodID(jni,
*j_surface_texture_helper_class_,
"returnTextureFrame",
« no previous file with comments | « talk/app/webrtc/java/jni/classreferenceholder.cc ('k') | talk/app/webrtc/java/src/org/webrtc/MediaCodecVideoDecoder.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698