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 #ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_NSOPENGL_H_ | 14 #ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_NSOPENGL_H_ |
15 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_NSOPENGL_H_ | 15 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_NSOPENGL_H_ |
16 | 16 |
17 #import <Cocoa/Cocoa.h> | 17 #import <Cocoa/Cocoa.h> |
18 #import <OpenGL/OpenGL.h> | 18 #import <OpenGL/OpenGL.h> |
19 #import <OpenGL/glext.h> | 19 #import <OpenGL/glext.h> |
20 #import <OpenGL/glu.h> | 20 #import <OpenGL/glu.h> |
21 #include <QuickTime/QuickTime.h> | 21 #include <QuickTime/QuickTime.h> |
22 #include <list> | 22 #include <list> |
23 #include <map> | 23 #include <map> |
24 | 24 |
25 #include "webrtc/base/thread_annotations.h" | 25 #include "webrtc/base/thread_annotations.h" |
26 #include "webrtc/modules/video_render/include/video_render_defines.h" | 26 #include "webrtc/modules/video_render/video_render_defines.h" |
27 | 27 |
28 #import "webrtc/modules/video_render/mac/cocoa_full_screen_window.h" | 28 #import "webrtc/modules/video_render/mac/cocoa_full_screen_window.h" |
29 #import "webrtc/modules/video_render/mac/cocoa_render_view.h" | 29 #import "webrtc/modules/video_render/mac/cocoa_render_view.h" |
30 | 30 |
31 class Trace; | 31 class Trace; |
32 | 32 |
33 namespace webrtc { | 33 namespace webrtc { |
34 class EventTimerWrapper; | 34 class EventTimerWrapper; |
35 class ThreadWrapper; | 35 class ThreadWrapper; |
36 class VideoRenderNSOpenGL; | 36 class VideoRenderNSOpenGL; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 std::multimap<int, int> _zOrderToChannel; | 178 std::multimap<int, int> _zOrderToChannel; |
179 bool _renderingIsPaused; | 179 bool _renderingIsPaused; |
180 NSView* _windowRefSuperView; | 180 NSView* _windowRefSuperView; |
181 NSRect _windowRefSuperViewFrame; | 181 NSRect _windowRefSuperViewFrame; |
182 }; | 182 }; |
183 | 183 |
184 } // namespace webrtc | 184 } // namespace webrtc |
185 | 185 |
186 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_NSOPENGL_H_ | 186 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_NSOPENGL_H_ |
187 #endif // COCOA_RENDERING | 187 #endif // COCOA_RENDERING |
OLD | NEW |