// Copyright 2019 Google LLC. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #ifndef SkMetalViewBridge_DEFINED #define SkMetalViewBridge_DEFINED #include "tools/skottie_ios_app/GrContextHolder.h" #import #include class GrRecordingContext; class SkSurface; template class sk_sp; sk_sp SkMtkViewToSurface(MTKView*, GrRecordingContext*); GrContextHolder SkMetalDeviceToGrContext(id, id); void SkMtkViewConfigForSkia(MTKView*); #endif // SkMetalViewBridge_DEFINED