OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_NAT
IVE_OPENGL2_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_NAT
IVE_OPENGL2_H_ |
12 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_NAT
IVE_OPENGL2_H_ | 12 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_NAT
IVE_OPENGL2_H_ |
13 | 13 |
14 #include <jni.h> | 14 #include <jni.h> |
15 | 15 |
16 #include "webrtc/modules/video_render/android/video_render_android_impl.h" | 16 #include "webrtc/modules/video_render/android/video_render_android_impl.h" |
17 #include "webrtc/modules/video_render/android/video_render_opengles20.h" | 17 #include "webrtc/modules/video_render/android/video_render_opengles20.h" |
18 #include "webrtc/modules/video_render/include/video_render_defines.h" | 18 #include "webrtc/modules/video_render/video_render_defines.h" |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 | 21 |
22 class CriticalSectionWrapper; | 22 class CriticalSectionWrapper; |
23 | 23 |
24 class AndroidNativeOpenGl2Channel: public AndroidStream { | 24 class AndroidNativeOpenGl2Channel: public AndroidStream { |
25 public: | 25 public: |
26 AndroidNativeOpenGl2Channel( | 26 AndroidNativeOpenGl2Channel( |
27 uint32_t streamId, | 27 uint32_t streamId, |
28 JavaVM* jvm, | 28 JavaVM* jvm, |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 VideoRenderAndroid& renderer); | 86 VideoRenderAndroid& renderer); |
87 | 87 |
88 private: | 88 private: |
89 jobject _javaRenderObj; | 89 jobject _javaRenderObj; |
90 jclass _javaRenderClass; | 90 jclass _javaRenderClass; |
91 }; | 91 }; |
92 | 92 |
93 } // namespace webrtc | 93 } // namespace webrtc |
94 | 94 |
95 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_N
ATIVE_OPENGL2_H_ | 95 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_N
ATIVE_OPENGL2_H_ |
OLD | NEW |