blob: 6cf973d6425d00e08675818a162cb3918026496c [file] [log] [blame]
Stephen White985741a2019-07-18 11:43:45 -04001/*
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
14GrPixelConfig GrDawnFormatToPixelConfig(dawn::TextureFormat format);
15bool GrPixelConfigToDawnFormat(GrPixelConfig config, dawn::TextureFormat* format);
16
17#endif // GrDawnUtil_DEFINED