| 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_OPENGLES20_
H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_OPENGLES20_
H_ |
| 12 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_OPENGLES20_
H_ | 12 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_OPENGLES20_
H_ |
| 13 | 13 |
| 14 #include "webrtc/modules/video_render/include/video_render_defines.h" | 14 #include "webrtc/modules/video_render/video_render_defines.h" |
| 15 | 15 |
| 16 #include <GLES2/gl2.h> | 16 #include <GLES2/gl2.h> |
| 17 #include <GLES2/gl2ext.h> | 17 #include <GLES2/gl2ext.h> |
| 18 | 18 |
| 19 namespace webrtc | 19 namespace webrtc |
| 20 { | 20 { |
| 21 | 21 |
| 22 class VideoRenderOpenGles20 { | 22 class VideoRenderOpenGles20 { |
| 23 public: | 23 public: |
| 24 VideoRenderOpenGles20(int32_t id); | 24 VideoRenderOpenGles20(int32_t id); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 48 static const char g_indices[]; | 48 static const char g_indices[]; |
| 49 | 49 |
| 50 static const char g_vertextShader[]; | 50 static const char g_vertextShader[]; |
| 51 static const char g_fragmentShader[]; | 51 static const char g_fragmentShader[]; |
| 52 | 52 |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } // namespace webrtc | 55 } // namespace webrtc |
| 56 | 56 |
| 57 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_OPENGLES
20_H_ | 57 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_OPENGLES
20_H_ |
| OLD | NEW |