2017-12-02 02:44:37 +08:00
|
|
|
/*==============================================================================
|
|
|
|
Copyright(c) 2017 Intel Corporation
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a
|
2017-12-09 03:19:18 +08:00
|
|
|
copy of this software and associated documentation files(the "Software"),
|
|
|
|
to deal in the Software without restriction, including without limitation
|
|
|
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
|
|
and / or sell copies of the Software, and to permit persons to whom the
|
2017-12-02 02:44:37 +08:00
|
|
|
Software is furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included
|
|
|
|
in all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
2017-12-09 03:19:18 +08:00
|
|
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
|
|
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
|
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
2017-12-02 02:44:37 +08:00
|
|
|
OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
============================================================================*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /*__cplusplus*/
|
|
|
|
|
|
|
|
#ifndef _WIN32
|
|
|
|
#include <portable_compiler.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(LHDM) && !defined(__GMM_KMD__) && defined(_WIN32)
|
2018-02-19 12:37:01 +08:00
|
|
|
|
|
|
|
#include <WINDOWS.h>
|
|
|
|
#include <d3d9Types.h>
|
|
|
|
#include <WTypesbase.h>
|
|
|
|
#include <d3dumddi.h>
|
|
|
|
|
2017-12-02 02:44:37 +08:00
|
|
|
#else
|
|
|
|
// Since we are compiled not for WinOS, we don't want to include later any Visual Studio specific files.
|
|
|
|
#define VER_H
|
|
|
|
#endif // LHDM
|
|
|
|
|
|
|
|
#include "../../inc/umKmInc/sharedata.h"
|
|
|
|
|
|
|
|
// GMM Lib Client Exports
|
|
|
|
#include "External/Common/GmmCommonExt.h"
|
|
|
|
#include "External/Common/GmmUtil.h"
|
|
|
|
#include "External/Common/GmmResourceFlags.h"
|
|
|
|
#include "External/Common/GmmCachePolicy.h"
|
|
|
|
#include "External/Common/GmmCachePolicyExt.h"
|
|
|
|
#include "External/Common/GmmResourceInfoExt.h"
|
|
|
|
#include "External/Common/GmmPlatformExt.h"
|
|
|
|
#include "External/Common/GmmTextureExt.h"
|
|
|
|
#include "External/Common/GmmInfoExt.h"
|
|
|
|
#include "External/Common/GmmResourceInfo.h"
|
|
|
|
#include "External/Common/GmmInfo.h"
|
2018-01-11 18:11:18 +08:00
|
|
|
#include "External/Common/GmmClientContext.h"
|
2017-12-02 02:44:37 +08:00
|
|
|
|
2018-03-01 13:42:17 +08:00
|
|
|
#include "External/Common/GmmLibDll.h"
|
|
|
|
|
2017-12-02 02:44:37 +08:00
|
|
|
#ifdef __GMM_KMD__
|
|
|
|
#include "External/Windows/GmmHeap.h"
|
|
|
|
#include "External/Windows/node.h"
|
|
|
|
#include "External/Common/GmmGttExt.h"
|
|
|
|
#include "External/Common/GmmProto.h"
|
|
|
|
#include "../Utility/GmmUtility.h"
|
2018-03-12 14:24:29 +08:00
|
|
|
#include "../Utility/Windows/GmmUtilityWin.h"
|
2017-12-02 02:44:37 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /*__cplusplus*/
|