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

Unified Diff: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h

Issue 2869143002: iOS: Add interface for injecting custom shaders (Closed)
Patch Set: Simplify previous delegate protocol Created 3 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h
diff --git a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h
index 34588dbe4ca4f3b23053c99adb0331fd34decd71..19165d1b58bc95e0b7e6d8b6f161ae322c753800 100644
--- a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h
+++ b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h
@@ -15,6 +15,7 @@
#import <AppKit/NSOpenGLView.h>
#import <WebRTC/RTCVideoRenderer.h>
+#import <WebRTC/RTCVideoViewShader.h>
NS_ASSUME_NONNULL_BEGIN
@@ -29,6 +30,10 @@ NS_ASSUME_NONNULL_BEGIN
@property(nonatomic, weak) id<RTCNSGLVideoViewDelegate> delegate;
+- (instancetype)initWithFrame:(NSRect)frameRect
+ pixelFormat:(NSOpenGLPixelFormat *)format
+ shaderDelegate:(id<RTCVideoViewShader>)shaderDelegate NS_DESIGNATED_INITIALIZER;
+
@end
NS_ASSUME_NONNULL_END

Powered by Google App Engine
This is Rietveld 408576698