1 2 /* 3 * Copyright 2020 Google LLC 4 * 5 * Use of this source code is governed by a BSD-style license that can be 6 * found in the LICENSE file. 7 */ 8 9 #ifndef GrD3DTypesMinimal_DEFINED 10 #define GrD3DTypesMinimal_DEFINED 11 12 // Minimal definitions of Direct3D types, without including d3d12.h 13 14 #include <dxgiformat.h> 15 16 #include <functional> 17 #include "include/gpu/GrTypes.h" 18 19 struct ID3D12Resource; 20 typedef int GrD3DResourceStateEnum; 21 struct GrD3DTextureResourceInfo; 22 struct GrD3DFenceInfo; 23 24 #endif 25