// 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 #import class SkSurface; class GrContext; class GrContextOptions; template class sk_sp; sk_sp SkMtkViewToSurface(MTKView*, GrContext*); sk_sp SkMetalDeviceToGrContext(id, id, const GrContextOptions&); void SkMtkViewConfigForSkia(MTKView*); #endif // SkMetalViewBridge_DEFINED