GrMtlCppUtil.h 400 B

123456789101112131415161718
  1. /*
  2. * Copyright 2018 Google Inc.
  3. *
  4. * Use of this source code is governed by a BSD-style license that can be
  5. * found in the LICENSE file.
  6. */
  7. #ifndef GrMtlCppUtil_DEFINED
  8. #define GrMtlCppUtil_DEFINED
  9. #include "include/gpu/mtl/GrMtlTypes.h"
  10. // Utilities that can be used from cpp files (rather than .mm).
  11. GrMTLPixelFormat GrGetMTLPixelFormatFromMtlTextureInfo(const GrMtlTextureInfo&);
  12. #endif