OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 | 12 |
13 #if defined(CARBON_RENDERING) | 13 #if defined(CARBON_RENDERING) |
14 | 14 |
15 #ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_AGL_H_ | 15 #ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_AGL_H_ |
16 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_AGL_H_ | 16 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_AGL_H_ |
17 | 17 |
18 #include "webrtc/modules/video_render/include/video_render_defines.h" | 18 #include "webrtc/modules/video_render/include/video_render_defines.h" |
19 #include "webrtc/system_wrappers/interface/thread_wrapper.h" | 19 #include "webrtc/system_wrappers/include/thread_wrapper.h" |
20 | 20 |
21 #define NEW_HIVIEW_PARENT_EVENT_HANDLER 1 | 21 #define NEW_HIVIEW_PARENT_EVENT_HANDLER 1 |
22 #define NEW_HIVIEW_EVENT_HANDLER 1 | 22 #define NEW_HIVIEW_EVENT_HANDLER 1 |
23 #define USE_STRUCT_RGN | 23 #define USE_STRUCT_RGN |
24 | 24 |
25 #include <AGL/agl.h> | 25 #include <AGL/agl.h> |
26 #include <Carbon/Carbon.h> | 26 #include <Carbon/Carbon.h> |
27 #include <OpenGL/OpenGL.h> | 27 #include <OpenGL/OpenGL.h> |
28 #include <OpenGL/glext.h> | 28 #include <OpenGL/glext.h> |
29 #include <OpenGL/glu.h> | 29 #include <OpenGL/glu.h> |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 HIRect _currentViewBounds; | 167 HIRect _currentViewBounds; |
168 HIRect _lastViewBounds; | 168 HIRect _lastViewBounds; |
169 bool _renderingIsPaused; | 169 bool _renderingIsPaused; |
170 }; | 170 }; |
171 | 171 |
172 } // namespace webrtc | 172 } // namespace webrtc |
173 | 173 |
174 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_AGL_H_ | 174 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_AGL_H_ |
175 | 175 |
176 #endif // CARBON_RENDERING | 176 #endif // CARBON_RENDERING |
OLD | NEW |