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/modules/video_render/mac/cocoa_render_view.h" | 14 #include "webrtc/modules/video_render/mac/cocoa_render_view.h" |
15 #include "webrtc/modules/video_render/mac/video_render_mac_cocoa_impl.h" | 15 #include "webrtc/modules/video_render/mac/video_render_mac_cocoa_impl.h" |
16 #include "webrtc/modules/video_render/mac/video_render_nsopengl.h" | 16 #include "webrtc/modules/video_render/mac/video_render_nsopengl.h" |
17 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 17 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
18 #include "webrtc/system_wrappers/interface/trace.h" | 18 #include "webrtc/system_wrappers/include/trace.h" |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 | 21 |
22 VideoRenderMacCocoaImpl::VideoRenderMacCocoaImpl(const int32_t id, | 22 VideoRenderMacCocoaImpl::VideoRenderMacCocoaImpl(const int32_t id, |
23 const VideoRenderType videoRenderType, | 23 const VideoRenderType videoRenderType, |
24 void* window, | 24 void* window, |
25 const bool fullscreen) : | 25 const bool fullscreen) : |
26 _id(id), | 26 _id(id), |
27 _renderMacCocoaCritsect(*CriticalSectionWrapper::CreateCriticalSection()), | 27 _renderMacCocoaCritsect(*CriticalSectionWrapper::CreateCriticalSection()), |
28 _fullScreen(fullscreen), | 28 _fullScreen(fullscreen), |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 } | 244 } |
245 | 245 |
246 int32_t VideoRenderMacCocoaImpl::FullScreenRender(void* window, const bool enabl
e) | 246 int32_t VideoRenderMacCocoaImpl::FullScreenRender(void* window, const bool enabl
e) |
247 { | 247 { |
248 return -1; | 248 return -1; |
249 } | 249 } |
250 | 250 |
251 } // namespace webrtc | 251 } // namespace webrtc |
252 | 252 |
253 #endif // COCOA_RENDERING | 253 #endif // COCOA_RENDERING |
OLD | NEW |