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