Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Side by Side Diff: webrtc/sdk/objc/Framework/Classes/RTCEAGLVideoView.m

Issue 1903663002: Build dynamic iOS SDK. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix test gyp Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "webrtc/api/objc/RTCEAGLVideoView.h" 11 #import "WebRTC/RTCEAGLVideoView.h"
12 12
13 #import <GLKit/GLKit.h> 13 #import <GLKit/GLKit.h>
14 14
15 #import "webrtc/api/objc/RTCOpenGLVideoRenderer.h" 15 #import "RTCOpenGLVideoRenderer.h"
16 #import "webrtc/api/objc/RTCVideoFrame.h" 16 #import "WebRTC//RTCVideoFrame.h"
17 17
18 // RTCDisplayLinkTimer wraps a CADisplayLink and is set to fire every two screen 18 // RTCDisplayLinkTimer wraps a CADisplayLink and is set to fire every two screen
19 // refreshes, which should be 30fps. We wrap the display link in order to avoid 19 // refreshes, which should be 30fps. We wrap the display link in order to avoid
20 // a retain cycle since CADisplayLink takes a strong reference onto its target. 20 // a retain cycle since CADisplayLink takes a strong reference onto its target.
21 // The timer is paused by default. 21 // The timer is paused by default.
22 @interface RTCDisplayLinkTimer : NSObject 22 @interface RTCDisplayLinkTimer : NSObject
23 23
24 @property(nonatomic) BOOL isPaused; 24 @property(nonatomic) BOOL isPaused;
25 25
26 - (instancetype)initWithTimerHandler:(void (^)(void))timerHandler; 26 - (instancetype)initWithTimerHandler:(void (^)(void))timerHandler;
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 254
255 - (void)didBecomeActive { 255 - (void)didBecomeActive {
256 [self setupGL]; 256 [self setupGL];
257 } 257 }
258 258
259 - (void)willResignActive { 259 - (void)willResignActive {
260 [self teardownGL]; 260 [self teardownGL];
261 } 261 }
262 262
263 @end 263 @end
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/RTCDispatcher+Private.h ('k') | webrtc/sdk/objc/Framework/Classes/RTCFieldTrials.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698