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 #include "webrtc/engine_configurations.h" | 11 #include "webrtc/engine_configurations.h" |
12 #if defined(COCOA_RENDERING) | 12 #if defined(COCOA_RENDERING) |
13 | 13 |
14 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 14 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
15 #include "webrtc/modules/video_render/mac/video_render_nsopengl.h" | 15 #include "webrtc/modules/video_render/mac/video_render_nsopengl.h" |
16 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 16 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
17 #include "webrtc/system_wrappers/interface/event_wrapper.h" | 17 #include "webrtc/system_wrappers/include/event_wrapper.h" |
18 #include "webrtc/system_wrappers/interface/thread_wrapper.h" | 18 #include "webrtc/system_wrappers/include/thread_wrapper.h" |
19 #include "webrtc/system_wrappers/interface/trace.h" | 19 #include "webrtc/system_wrappers/include/trace.h" |
20 | 20 |
21 namespace webrtc { | 21 namespace webrtc { |
22 | 22 |
23 VideoChannelNSOpenGL::VideoChannelNSOpenGL(NSOpenGLContext *nsglContext, int iId
, VideoRenderNSOpenGL* owner) : | 23 VideoChannelNSOpenGL::VideoChannelNSOpenGL(NSOpenGLContext *nsglContext, int iId
, VideoRenderNSOpenGL* owner) : |
24 _nsglContext( nsglContext), | 24 _nsglContext( nsglContext), |
25 _id( iId), | 25 _id( iId), |
26 _owner( owner), | 26 _owner( owner), |
27 _width( 0), | 27 _width( 0), |
28 _height( 0), | 28 _height( 0), |
29 _startWidth( 0.0f), | 29 _startWidth( 0.0f), |
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1242 } | 1242 } |
1243 | 1243 |
1244 | 1244 |
1245 | 1245 |
1246 */ | 1246 */ |
1247 | 1247 |
1248 | 1248 |
1249 } // namespace webrtc | 1249 } // namespace webrtc |
1250 | 1250 |
1251 #endif // COCOA_RENDERING | 1251 #endif // COCOA_RENDERING |
OLD | NEW |