blob: 8d377e26da32b71a7f9aa4d3e476343faef637b9 [file] [log] [blame]
denicija124a6fc2017-03-31 02:47:29 -07001/*
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020011#import <Cocoa/Cocoa.h>
denicija124a6fc2017-03-31 02:47:29 -070012
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020013#import "base/RTCVideoRenderer.h"
denicija124a6fc2017-03-31 02:47:29 -070014
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020015NS_AVAILABLE_MAC(10.11)
16
17RTC_EXPORT
18@interface RTCMTLNSVideoView : NSView <RTCVideoRenderer>
19
20@property(nonatomic, weak) id<RTCVideoViewDelegate> delegate;
21
22+ (BOOL)isMetalAvailable;
23
denicija124a6fc2017-03-31 02:47:29 -070024@end