summaryrefslogtreecommitdiffstats
path: root/gfx/angle/checkout/src/libANGLE/renderer/dxgi_format_map.h
blob: 711d0d0a0bbf32dd435be6510ffde9ba2a468785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// Copyright 2020 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// DXGI format info:
//   Determining metadata about a DXGI format.

#ifndef LIBANGLE_RENDERER_DXGI_FORMAT_MAP_H_
#define LIBANGLE_RENDERER_DXGI_FORMAT_MAP_H_

#include "common/platform.h"

namespace rx
{
namespace d3d11
{
GLenum GetComponentType(DXGI_FORMAT dxgiFormat);
}  // namespace d3d11

namespace d3d11_angle
{
const angle::Format &GetFormat(DXGI_FORMAT dxgiFormat);
}  // namespace d3d11_angle
}  // namespace rx

#endif  // LIBANGLE_RENDERER_DXGI_FORMAT_MAP_H_