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(CARBON_RENDERING) | 12 #if defined(CARBON_RENDERING) |
13 | 13 |
14 #include <AGL/agl.h> | 14 #include <AGL/agl.h> |
15 #include "webrtc/modules/video_render/mac/video_render_agl.h" | 15 #include "webrtc/modules/video_render/mac/video_render_agl.h" |
16 #include "webrtc/modules/video_render/mac/video_render_mac_carbon_impl.h" | 16 #include "webrtc/modules/video_render/mac/video_render_mac_carbon_impl.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 VideoRenderMacCarbonImpl::VideoRenderMacCarbonImpl(const int32_t id, | 22 VideoRenderMacCarbonImpl::VideoRenderMacCarbonImpl(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 _renderMacCarbonCritsect(*CriticalSectionWrapper::CreateCriticalSection()), | 27 _renderMacCarbonCritsect(*CriticalSectionWrapper::CreateCriticalSection()), |
28 _fullScreen(fullscreen), | 28 _fullScreen(fullscreen), |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 const float right, | 271 const float right, |
272 const float bottom) | 272 const float bottom) |
273 { | 273 { |
274 return 0; | 274 return 0; |
275 } | 275 } |
276 | 276 |
277 | 277 |
278 } // namespace webrtc | 278 } // namespace webrtc |
279 | 279 |
280 #endif // CARBON_RENDERING | 280 #endif // CARBON_RENDERING |
OLD | NEW |