Stephen White | 985741a | 2019-07-18 11:43:45 -0400 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2019 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 | |
| 8 | #ifndef GrDawnUtil_DEFINED |
| 9 | #define GrDawnUtil_DEFINED |
| 10 | |
| 11 | #include "include/private/GrTypesPriv.h" |
| 12 | #include "dawn/dawncpp.h" |
| 13 | |
| 14 | GrPixelConfig GrDawnFormatToPixelConfig(dawn::TextureFormat format); |
| 15 | bool GrPixelConfigToDawnFormat(GrPixelConfig config, dawn::TextureFormat* format); |
| 16 | |
| 17 | #endif // GrDawnUtil_DEFINED |