blob: b79f2f833e3076e7b9093ea7bb6518f7ad04e9f9 [file] [log] [blame]
Hal Canary118df7c2019-12-18 16:26:19 -05001// Copyright 2020 Google LLC.
2// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
3#ifndef SkiaContext_DEFINED
4#define SkiaContext_DEFINED
5
6#include "tools/skottie_ios_app/SkottieViewController.h"
7
8#import <UIKit/UIKit.h>
9
10@interface SkiaContext : NSObject
11 - (UIView*) makeViewWithController:(SkiaViewController*)vc withFrame:(CGRect)frame;
12 - (SkiaViewController*) getViewController:(UIView*)view;
13@end
14
15SkiaContext* MakeSkiaMetalContext();
16
17SkiaContext* MakeSkiaGLContext();
18
19SkiaContext* MakeSkiaUIContext();
20#endif // SkiaContext_DEFINED