| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2016 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 #import "RTCOpenGLDefines.h" | 13 #import "RTCOpenGLDefines.h" |
| 12 | 14 |
| 13 @class RTCVideoFrame; | 15 @class RTCVideoFrame; |
| 14 | 16 |
| 15 @protocol RTCShader <NSObject> | 17 @protocol RTCShader <NSObject> |
| 16 | 18 |
| 17 - (BOOL)drawFrame:(RTCVideoFrame *)frame; | 19 - (BOOL)drawFrame:(RTCVideoFrame *)frame; |
| 18 | 20 |
| 19 @end | 21 @end |
| 20 | 22 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 34 // Shader for native NV12 frames. | 36 // Shader for native NV12 frames. |
| 35 @interface RTCNativeNV12Shader : NSObject <RTCShader> | 37 @interface RTCNativeNV12Shader : NSObject <RTCShader> |
| 36 | 38 |
| 37 - (instancetype)init NS_UNAVAILABLE; | 39 - (instancetype)init NS_UNAVAILABLE; |
| 38 - (instancetype)initWithContext:(GlContextType *)context NS_DESIGNATED_INITIALIZ
ER; | 40 - (instancetype)initWithContext:(GlContextType *)context NS_DESIGNATED_INITIALIZ
ER; |
| 39 - (BOOL)drawFrame:(RTCVideoFrame *)frame; | 41 - (BOOL)drawFrame:(RTCVideoFrame *)frame; |
| 40 | 42 |
| 41 @end | 43 @end |
| 42 | 44 |
| 43 #endif // TARGET_OS_IPHONE | 45 #endif // TARGET_OS_IPHONE |
| OLD | NEW |