webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
dxgi_support_table.h
Go to the documentation of this file.
1 //
2 // Copyright 2015 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_support_table:
7 // Queries for DXGI support of various texture formats. Depends on DXGI
8 // version, D3D feature level, and is sometimes guaranteed or optional.
9 //
10 
11 #include "common/platform.h"
12 
13 namespace rx
14 {
15 
16 namespace d3d11
17 {
18 
20 {
25  {
26  }
27 
28  DXGISupport(UINT alwaysSupportedIn, UINT neverSupportedIn, UINT optionallySupportedIn)
29  : alwaysSupportedFlags(alwaysSupportedIn),
30  neverSupportedFlags(neverSupportedIn),
31  optionallySupportedFlags(optionallySupportedIn)
32  {
33  }
34 
38 };
39 
40 const DXGISupport &GetDXGISupport(DXGI_FORMAT dxgiFormat, D3D_FEATURE_LEVEL featureLevel);
41 
42 } // namespace d3d11
43 
44 } // namespace rx
DXGISupport()
Definition: dxgi_support_table.h:21
UINT alwaysSupportedFlags
Definition: dxgi_support_table.h:35
Definition: dxgi_support_table.h:19
Definition: mathutil.h:804
DXGISupport(UINT alwaysSupportedIn, UINT neverSupportedIn, UINT optionallySupportedIn)
Definition: dxgi_support_table.h:28
UINT neverSupportedFlags
Definition: dxgi_support_table.h:36
UINT optionallySupportedFlags
Definition: dxgi_support_table.h:37
const DXGISupport & GetDXGISupport(DXGI_FORMAT dxgiFormat, D3D_FEATURE_LEVEL featureLevel)
Definition: dxgi_support_table.cpp:2428