| Index: webrtc/sdk/objc/Framework/Classes/Video/RTCDefaultShader.h
|
| diff --git a/webrtc/sdk/objc/Framework/Classes/Video/RTCNV12TextureCache.h b/webrtc/sdk/objc/Framework/Classes/Video/RTCDefaultShader.h
|
| similarity index 58%
|
| copy from webrtc/sdk/objc/Framework/Classes/Video/RTCNV12TextureCache.h
|
| copy to webrtc/sdk/objc/Framework/Classes/Video/RTCDefaultShader.h
|
| index 0aa7a5718177b01678622b550cc001fdb290bd31..ed5125e2e8e5c4e36493e76785a36dfcb10ecc0f 100644
|
| --- a/webrtc/sdk/objc/Framework/Classes/Video/RTCNV12TextureCache.h
|
| +++ b/webrtc/sdk/objc/Framework/Classes/Video/RTCDefaultShader.h
|
| @@ -8,22 +8,15 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| -#import <GLKit/GLKit.h>
|
| -
|
| -@class RTCVideoFrame;
|
| +#import "WebRTC/RTCVideoViewShading.h"
|
|
|
| NS_ASSUME_NONNULL_BEGIN
|
|
|
| -@interface RTCNV12TextureCache : NSObject
|
| -
|
| -@property(nonatomic, readonly) GLuint yTexture;
|
| -@property(nonatomic, readonly) GLuint uvTexture;
|
| -
|
| -- (nullable instancetype)initWithContext:(EAGLContext *)context;
|
| -
|
| -- (BOOL)uploadFrameToTextures:(RTCVideoFrame *)frame;
|
| -
|
| -- (void)releaseTextures;
|
| +/** Default RTCVideoViewShading that will be used in RTCNSGLVideoView and
|
| + * RTCEAGLVideoView if no external shader is specified. This shader will render
|
| + * the video in a rectangle without any color or geometric transformations.
|
| + */
|
| +@interface RTCDefaultShader : NSObject<RTCVideoViewShading>
|
|
|
| @end
|
|
|
|
|