• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2020 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // DXGI format info:
7 //   Determining metadata about a DXGI format.
8 
9 #ifndef LIBANGLE_RENDERER_DXGI_FORMAT_MAP_H_
10 #define LIBANGLE_RENDERER_DXGI_FORMAT_MAP_H_
11 
12 #include "common/platform.h"
13 
14 namespace rx
15 {
16 namespace d3d11
17 {
18 GLenum GetComponentType(DXGI_FORMAT dxgiFormat);
19 }  // namespace d3d11
20 
21 namespace d3d11_angle
22 {
23 const angle::Format &GetFormat(DXGI_FORMAT dxgiFormat);
24 }  // namespace d3d11_angle
25 }  // namespace rx
26 
27 #endif  // LIBANGLE_RENDERER_DXGI_FORMAT_MAP_H_
28