ADL (AMD Display Library) Public APIs  Version 17.1
graphics.h
Go to the documentation of this file.
1 
7 
15 
16 #ifndef GRAPHICS_H_
17 #define GRAPHICS_H_
18 
19 #ifndef ADL_EXTERNC
20 #ifdef __cplusplus
21 #define ADL_EXTERNC extern "C"
22 #else
23 #define ADL_EXTERNC
24 #endif
25 #endif
26 
30 
31 
45 
55 
67 
80 
93 
103 
113 
122 ADL_EXTERNC int EXPOSED ADL2_Graphics_VulkanVersion_Get(ADL_CONTEXT_HANDLE context, ADLVulkanAppInfo *vulkanAppInfo);
123 
132 ADL_EXTERNC int EXPOSED ADL2_Graphics_VulkanVersionX2_Get(ADL_CONTEXT_HANDLE context, ADLVulkanAppInfo *vulkanAppInfo);
133 
143 ADL_EXTERNC int EXPOSED ADL2_Graphics_VulkanVersionX3_Get(ADL_CONTEXT_HANDLE context, ADLVulkanAppInfo *vulkanAppInfo, int iAdapterIndex);
144 
145 
146 
158 ADL_EXTERNC int EXPOSED ADL2_Graphics_Platform_Get(ADL_CONTEXT_HANDLE context,int *lpPlatForm);
159 
169 ADL_EXTERNC int EXPOSED ADL_Graphics_Platform_Get(int *lpPlatForm);
170 
181 
194 ADL_EXTERNC int EXPOSED ADL2_SmartDC_Caps(ADL_CONTEXT_HANDLE context, int *lpSupported, int *lpDefault);
195 
206 ADL_EXTERNC int EXPOSED ADL2_SmartDC_Status_Get(ADL_CONTEXT_HANDLE context, int *lpSmartDCState);
207 
218 ADL_EXTERNC int EXPOSED ADL2_SmartDC_Status_Set(ADL_CONTEXT_HANDLE context, int enable, int *lpSmartDCState);
219 
230 ADL_EXTERNC int EXPOSED ADL2_SmartDC_Active_State_Get(ADL_CONTEXT_HANDLE context, int* lpSmartDCActiveState);
231 
245 ADL_EXTERNC int EXPOSED ADL2_Driver_Path_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSize, char* lpDriverPath);
247 
248 
249 #endif /* GRAPHICS_H_ */
250 
ADL_Graphics_Platform_Get
int ADL_Graphics_Platform_Get(int *lpPlatForm)
Function to retrieve the type of graphics platform the system is currently running.
ADL2_Graphics_VulkanVersionX3_Get
int ADL2_Graphics_VulkanVersionX3_Get(ADL_CONTEXT_HANDLE context, ADLVulkanAppInfo *vulkanAppInfo, int iAdapterIndex)
Function to get Vulkan versions of different GPUs.
ADL_Graphics_Versions_Get
int ADL_Graphics_Versions_Get(ADLVersionsInfo *lpVersionsInfo)
Function to retrieve version information.
ADLMantleAppInfo
Structure containing Mantle App info.
Definition: adl_structures.h:4170
ADL2_Graphics_VersionsX3_Get
int ADL2_Graphics_VersionsX3_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLVersionsInfoX2 *lpVersionsInfo)
ADLGraphicCoreInfo
Structure containing information about Graphic Core.
Definition: adl_structures.h:2864
ADLVersionsInfoX2
Structure containing version information.
Definition: adl_structures.h:1373
ADL2_SmartDC_Status_Set
int ADL2_SmartDC_Status_Set(ADL_CONTEXT_HANDLE context, int enable, int *lpSmartDCState)
ADL2_Graphics_Versions_Get
int ADL2_Graphics_Versions_Get(ADL_CONTEXT_HANDLE context, ADLVersionsInfo *lpVersionsInfo)
ADL2_SmartDC_Status_Get
int ADL2_SmartDC_Status_Get(ADL_CONTEXT_HANDLE context, int *lpSmartDCState)
iAdapterIndex
int int iAdapterIndex
Definition: radeonusbled.h:92
ADL2_Adapter_Graphic_Core_Info_Get
int ADL2_Adapter_Graphic_Core_Info_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLGraphicCoreInfo *pGraphicCoreInfo)
Function to retrieve Graphic Core Info.
ADL2_Graphics_IsGfx9AndAbove
int ADL2_Graphics_IsGfx9AndAbove(ADL_CONTEXT_HANDLE context)
ADL_EXTERNC
#define ADL_EXTERNC
Definition: graphics.h:23
ADLVersionsInfo
Structure containing version information.
Definition: adl_structures.h:1357
ADL2_Graphics_Platform_Get
int ADL2_Graphics_Platform_Get(ADL_CONTEXT_HANDLE context, int *lpPlatForm)
Function to retrieve the type of graphics platform the system is currently running.
ADL2_Graphics_VulkanVersion_Get
int ADL2_Graphics_VulkanVersion_Get(ADL_CONTEXT_HANDLE context, ADLVulkanAppInfo *vulkanAppInfo)
Function to get Vulkan versions.
ADL_CONTEXT_HANDLE
void * ADL_CONTEXT_HANDLE
Handle to ADL client context.
Definition: adl_structures.h:2336
ADL2_Graphics_VulkanVersionX2_Get
int ADL2_Graphics_VulkanVersionX2_Get(ADL_CONTEXT_HANDLE context, ADLVulkanAppInfo *vulkanAppInfo)
Function to get Vulkan versions.
ADL2_Graphics_VersionsX2_Get
int ADL2_Graphics_VersionsX2_Get(ADL_CONTEXT_HANDLE context, ADLVersionsInfoX2 *lpVersionsInfo)
Function to retrieve s version information.
ADL2_SmartDC_Active_State_Get
int ADL2_SmartDC_Active_State_Get(ADL_CONTEXT_HANDLE context, int *lpSmartDCActiveState)
ADL2_Graphics_MantleVersion_Get
int ADL2_Graphics_MantleVersion_Get(ADL_CONTEXT_HANDLE context, ADLMantleAppInfo *mantleAppInfo)
ADL2_SmartDC_Caps
int ADL2_SmartDC_Caps(ADL_CONTEXT_HANDLE context, int *lpSupported, int *lpDefault)
ADL2_Graphics_IsDetachableGraphicsPlatform_Get
int ADL2_Graphics_IsDetachableGraphicsPlatform_Get(ADL_CONTEXT_HANDLE context, int *lpStatus)
ADL2_Driver_Path_Get
int ADL2_Driver_Path_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iSize, char *lpDriverPath)

Copyright © 2009-2020 Advanced Micro Devices, Inc. All rights reserved.