xref: /aosp_15_r20/external/gmmlib/Source/GmmLib/inc/GmmLib.h (revision 35ffd701415c9e32e53136d61a677a8d0a8fc4a5)
1*35ffd701SAndroid Build Coastguard Worker /*==============================================================================
2*35ffd701SAndroid Build Coastguard Worker Copyright(c) 2017 Intel Corporation
3*35ffd701SAndroid Build Coastguard Worker 
4*35ffd701SAndroid Build Coastguard Worker Permission is hereby granted, free of charge, to any person obtaining a
5*35ffd701SAndroid Build Coastguard Worker copy of this software and associated documentation files(the "Software"),
6*35ffd701SAndroid Build Coastguard Worker to deal in the Software without restriction, including without limitation
7*35ffd701SAndroid Build Coastguard Worker the rights to use, copy, modify, merge, publish, distribute, sublicense,
8*35ffd701SAndroid Build Coastguard Worker and / or sell copies of the Software, and to permit persons to whom the
9*35ffd701SAndroid Build Coastguard Worker Software is furnished to do so, subject to the following conditions:
10*35ffd701SAndroid Build Coastguard Worker 
11*35ffd701SAndroid Build Coastguard Worker The above copyright notice and this permission notice shall be included
12*35ffd701SAndroid Build Coastguard Worker in all copies or substantial portions of the Software.
13*35ffd701SAndroid Build Coastguard Worker 
14*35ffd701SAndroid Build Coastguard Worker THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15*35ffd701SAndroid Build Coastguard Worker OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16*35ffd701SAndroid Build Coastguard Worker FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17*35ffd701SAndroid Build Coastguard Worker THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
18*35ffd701SAndroid Build Coastguard Worker OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19*35ffd701SAndroid Build Coastguard Worker ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20*35ffd701SAndroid Build Coastguard Worker OTHER DEALINGS IN THE SOFTWARE.
21*35ffd701SAndroid Build Coastguard Worker ============================================================================*/
22*35ffd701SAndroid Build Coastguard Worker 
23*35ffd701SAndroid Build Coastguard Worker #pragma once
24*35ffd701SAndroid Build Coastguard Worker 
25*35ffd701SAndroid Build Coastguard Worker #ifdef __cplusplus
26*35ffd701SAndroid Build Coastguard Worker extern "C" {
27*35ffd701SAndroid Build Coastguard Worker #endif /*__cplusplus*/
28*35ffd701SAndroid Build Coastguard Worker 
29*35ffd701SAndroid Build Coastguard Worker #ifndef _WIN32
30*35ffd701SAndroid Build Coastguard Worker #include <portable_compiler.h>
31*35ffd701SAndroid Build Coastguard Worker #endif
32*35ffd701SAndroid Build Coastguard Worker 
33*35ffd701SAndroid Build Coastguard Worker #if defined(LHDM) && !defined(__GMM_KMD__) && defined(_WIN32)
34*35ffd701SAndroid Build Coastguard Worker 
35*35ffd701SAndroid Build Coastguard Worker #include <WINDOWS.h>
36*35ffd701SAndroid Build Coastguard Worker #include <d3d9Types.h>
37*35ffd701SAndroid Build Coastguard Worker #include <WTypesbase.h>
38*35ffd701SAndroid Build Coastguard Worker #include <d3dumddi.h>
39*35ffd701SAndroid Build Coastguard Worker 
40*35ffd701SAndroid Build Coastguard Worker #else
41*35ffd701SAndroid Build Coastguard Worker     // Since we are compiled not for WinOS, we don't want to include later any Visual Studio specific files.
42*35ffd701SAndroid Build Coastguard Worker     #define VER_H
43*35ffd701SAndroid Build Coastguard Worker #endif // LHDM
44*35ffd701SAndroid Build Coastguard Worker 
45*35ffd701SAndroid Build Coastguard Worker #include "../../inc/umKmInc/sharedata.h"
46*35ffd701SAndroid Build Coastguard Worker 
47*35ffd701SAndroid Build Coastguard Worker // GMM Lib Client Exports
48*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmCommonExt.h"
49*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmUtil.h"
50*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmResourceFlags.h"
51*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmCachePolicy.h"
52*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmCachePolicyExt.h"
53*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmResourceInfoExt.h"
54*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmPlatformExt.h"
55*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmTextureExt.h"
56*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmInfoExt.h"
57*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmResourceInfo.h"
58*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmInfo.h"
59*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmClientContext.h"
60*35ffd701SAndroid Build Coastguard Worker 
61*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmPageTableMgr.h"
62*35ffd701SAndroid Build Coastguard Worker 
63*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmLibDll.h"
64*35ffd701SAndroid Build Coastguard Worker #include "External/Common/GmmLibDllName.h"
65*35ffd701SAndroid Build Coastguard Worker 
66*35ffd701SAndroid Build Coastguard Worker #ifdef __cplusplus
67*35ffd701SAndroid Build Coastguard Worker }
68*35ffd701SAndroid Build Coastguard Worker #endif /*__cplusplus*/
69