| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 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 #import <Foundation/Foundation.h> |
| 12 |
| 11 #if !TARGET_OS_IPHONE | 13 #if !TARGET_OS_IPHONE |
| 12 | 14 |
| 13 #import "WebRTC/RTCNSGLVideoView.h" | 15 #import "WebRTC/RTCNSGLVideoView.h" |
| 14 | 16 |
| 15 #import <CoreVideo/CVDisplayLink.h> | 17 #import <CoreVideo/CVDisplayLink.h> |
| 16 #import <OpenGL/gl3.h> | 18 #import <OpenGL/gl3.h> |
| 17 | 19 |
| 18 #import "RTCOpenGLVideoRenderer.h" | 20 #import "RTCOpenGLVideoRenderer.h" |
| 19 #import "WebRTC/RTCVideoFrame.h" | 21 #import "WebRTC/RTCVideoFrame.h" |
| 20 | 22 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 if (!_displayLink) { | 139 if (!_displayLink) { |
| 138 return; | 140 return; |
| 139 } | 141 } |
| 140 CVDisplayLinkRelease(_displayLink); | 142 CVDisplayLinkRelease(_displayLink); |
| 141 _displayLink = NULL; | 143 _displayLink = NULL; |
| 142 } | 144 } |
| 143 | 145 |
| 144 @end | 146 @end |
| 145 | 147 |
| 146 #endif // !TARGET_OS_IPHONE | 148 #endif // !TARGET_OS_IPHONE |
| OLD | NEW |