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

Side by Side Diff: webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.h

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 <Foundation/Foundation.h> 11 #import <Foundation/Foundation.h>
12 #if TARGET_OS_IPHONE 12 #if TARGET_OS_IPHONE
13 #import <GLKit/GLKit.h> 13 #import <GLKit/GLKit.h>
14 #else 14 #else
15 #import <AppKit/NSOpenGL.h> 15 #import <AppKit/NSOpenGL.h>
16 #endif 16 #endif
17 17
18 #import "webrtc/base/objc/RTCMacros.h" 18 #import "WebRTC/RTCMacros.h"
19 19
20 NS_ASSUME_NONNULL_BEGIN 20 NS_ASSUME_NONNULL_BEGIN
21 21
22 @class RTCVideoFrame; 22 @class RTCVideoFrame;
23 23
24 // RTCOpenGLVideoRenderer issues appropriate OpenGL commands to draw a frame to 24 // RTCOpenGLVideoRenderer issues appropriate OpenGL commands to draw a frame to
25 // the currently bound framebuffer. Supports OpenGL 3.2 and OpenGLES 2.0. OpenGL 25 // the currently bound framebuffer. Supports OpenGL 3.2 and OpenGLES 2.0. OpenGL
26 // framebuffer creation and management should be handled elsewhere using the 26 // framebuffer creation and management should be handled elsewhere using the
27 // same context used to initialize this class. 27 // same context used to initialize this class.
28 RTC_EXPORT 28 RTC_EXPORT
(...skipping 23 matching lines...) Expand all
52 // Sets up the OpenGL state needed for rendering. 52 // Sets up the OpenGL state needed for rendering.
53 - (void)setupGL; 53 - (void)setupGL;
54 // Tears down the OpenGL state created by |setupGL|. 54 // Tears down the OpenGL state created by |setupGL|.
55 - (void)teardownGL; 55 - (void)teardownGL;
56 56
57 - (instancetype)init NS_UNAVAILABLE; 57 - (instancetype)init NS_UNAVAILABLE;
58 58
59 @end 59 @end
60 60
61 NS_ASSUME_NONNULL_END 61 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/RTCNSGLVideoView.m ('k') | webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698