blob: 891b377878ae32eb9640e9c31dd08ed600dd97ab [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 Carlsson37bbf792018-09-05 16:29:27 +020013#import "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