| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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_IOS_OPEN_GLES20_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_RENDER_IOS_OPEN_GLES20_H_ |
| 12 #define WEBRTC_MODULES_VIDEO_RENDER_IOS_OPEN_GLES20_H_ | 12 #define WEBRTC_MODULES_VIDEO_RENDER_IOS_OPEN_GLES20_H_ |
| 13 | 13 |
| 14 #include <OpenGLES/ES2/glext.h> | 14 #include <OpenGLES/ES2/glext.h> |
| 15 | 15 |
| 16 #include "webrtc/modules/video_render/include/video_render_defines.h" | 16 #include "webrtc/modules/video_render/video_render_defines.h" |
| 17 | 17 |
| 18 /* | 18 /* |
| 19 * This OpenGles20 is the class of renderer for VideoFrame into a GLES 2.0 | 19 * This OpenGles20 is the class of renderer for VideoFrame into a GLES 2.0 |
| 20 * windows used in the VideoRenderIosView class. | 20 * windows used in the VideoRenderIosView class. |
| 21 */ | 21 */ |
| 22 namespace webrtc { | 22 namespace webrtc { |
| 23 class OpenGles20 { | 23 class OpenGles20 { |
| 24 public: | 24 public: |
| 25 OpenGles20(); | 25 OpenGles20(); |
| 26 ~OpenGles20(); | 26 ~OpenGles20(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 55 GLsizei texture_width_; | 55 GLsizei texture_width_; |
| 56 GLsizei texture_height_; | 56 GLsizei texture_height_; |
| 57 | 57 |
| 58 GLfloat vertices_[20]; | 58 GLfloat vertices_[20]; |
| 59 static const char indices_[]; | 59 static const char indices_[]; |
| 60 static const char vertext_shader_[]; | 60 static const char vertext_shader_[]; |
| 61 static const char fragment_shader_[]; | 61 static const char fragment_shader_[]; |
| 62 }; | 62 }; |
| 63 } // namespace webrtc | 63 } // namespace webrtc |
| 64 #endif // WEBRTC_MODULES_VIDEO_RENDER_IOS_OPEN_GLES20_H_ | 64 #endif // WEBRTC_MODULES_VIDEO_RENDER_IOS_OPEN_GLES20_H_ |
| OLD | NEW |