/* * Copyright 2023 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/graphite/dawn/DawnUtilsPriv.h" #include "include/core/SkColor.h" #include "include/core/SkTypes.h" #include "src/gpu/graphite/dawn/DawnSharedContext.h" #if defined(__EMSCRIPTEN__) #include <emscripten.h> #endif // __EMSCRIPTEN__ namespace skgpu::graphite { // TODO: A lot of these values are not correct size_t DawnFormatBytesPerBlock(wgpu::TextureFormat format) { … } SkTextureCompressionType DawnFormatToCompressionType(wgpu::TextureFormat format) { … } uint32_t DawnFormatChannels(wgpu::TextureFormat format) { … } } // namespace skgpu::graphite