Skip to content

Commit e874832

Browse files
author
ericjunwei
committed
ADLX SDK v1.3
1 parent d361234 commit e874832

File tree

1,915 files changed

+21597
-11369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,915 files changed

+21597
-11369
lines changed

SDK/ADLXHelper/Windows/C/ADLXHelper.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright (c) 2021 - 2023 Advanced Micro Devices, Inc. All rights reserved.
2+
// Copyright (c) 2021 - 2024 Advanced Micro Devices, Inc. All rights reserved.
33
//
44
//-------------------------------------------------------------------------------------------------
55
#include "ADLXHelper.h"

SDK/ADLXHelper/Windows/C/ADLXHelper.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright (c) 2021 - 2023 Advanced Micro Devices, Inc. All rights reserved.
2+
// Copyright (c) 2021 - 2024 Advanced Micro Devices, Inc. All rights reserved.
33
//
44
//-------------------------------------------------------------------------------------------------
55

SDK/ADLXHelper/Windows/Cpp/ADLXHelper.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright (c) 2021 - 2023 Advanced Micro Devices, Inc. All rights reserved.
2+
// Copyright (c) 2021 - 2024 Advanced Micro Devices, Inc. All rights reserved.
33
//
44
//-------------------------------------------------------------------------------------------------
55

SDK/ADLXHelper/Windows/Cpp/ADLXHelper.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright (c) 2021 - 2023 Advanced Micro Devices, Inc. All rights reserved.
2+
// Copyright (c) 2021 - 2024 Advanced Micro Devices, Inc. All rights reserved.
33
//
44
//-------------------------------------------------------------------------------------------------
55

SDK/Include/ADLX.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright (c) 2021 - 2023 Advanced Micro Devices, Inc. All rights reserved.
2+
// Copyright (c) 2021 - 2024 Advanced Micro Devices, Inc. All rights reserved.
33
//
44
//-------------------------------------------------------------------------------------------------
55

SDK/Include/ADLXDefines.h

+22-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright (c) 2021 - 2023 Advanced Micro Devices, Inc. All rights reserved.
2+
// Copyright (c) 2021 - 2024 Advanced Micro Devices, Inc. All rights reserved.
33
//
44
//-------------------------------------------------------------------------------------------------
55

@@ -290,7 +290,9 @@ typedef enum
290290
ADLX_ORPHAN_OBJECTS, /**< @ENG_START_DOX This result indicates that ADLX was terminated with outstanding ADLX objects. Any interface obtained from ADLX points to invalid memory and calls in their methods will result in unexpected behavior. @ENG_END_DOX */
291291
ADLX_NOT_SUPPORTED, /**< @ENG_START_DOX This result indicates that the asked feature is not supported. @ENG_END_DOX */
292292
ADLX_PENDING_OPERATION, /**< @ENG_START_DOX This result indicates a failure due to an operation currently in progress. @ENG_END_DOX */
293-
ADLX_GPU_INACTIVE /**< @ENG_START_DOX This result indicates that the GPU is inactive. @ENG_END_DOX */
293+
ADLX_GPU_INACTIVE, /**< @ENG_START_DOX This result indicates that the GPU is inactive. @ENG_END_DOX */
294+
ADLX_GPU_IN_USE, /**< @ENG_START_DOX This result indicates that the GPU is in used by applications. @ENG_END_DOX */
295+
ADLX_TIMEOUT_OPERATION /**< @ENG_START_DOX This result indicates that the operation is timeout. @ENG_END_DOX */
294296
} ADLX_RESULT;
295297

296298
/**
@@ -851,7 +853,7 @@ typedef enum
851853
* @enum ADLX_MEMORYTIMING_DESCRIPTION
852854
* @ingroup enumerations
853855
* @ENG_START_DOX
854-
* @brief Indicates the priority of the log entry.
856+
* @brief Indicates the memory timing description.
855857
* @ENG_END_DOX
856858
*/
857859
typedef enum
@@ -976,6 +978,23 @@ typedef enum
976978
} ADLX_MGPU_MODE;
977979
#pragma endregion ADLX_MGPU_MODE
978980

981+
#pragma region ADLX_APP_GPU_DEPENDENCY
982+
/**
983+
* @enum ADLX_APP_GPU_DEPENDENCY
984+
* @ingroup enumerations
985+
* @ENG_START_DOX
986+
* @brief Indicates the type of dependence of an application on the GPU on which it runs.
987+
* @ENG_END_DOX
988+
*/
989+
typedef enum
990+
{
991+
APP_GPU_UNKNOWN = 0, /**< @ENG_START_DOX It is unknown if the application is bound to the GPU on which it runs. The application might behave unexpectedly if the GPU is powered off or disabled. @ENG_END_DOX */
992+
APP_GPU_BOUND, /**< @ENG_START_DOX The application is bound to the GPU on which it runs and will behave unexpectedly if the GPU is powered off or disabled. @ENG_END_DOX */
993+
APP_GPU_NOT_BOUND, /**< @ENG_START_DOX The application is not bound to this GPU on which it runs and will continue to run properly if the GPU is powered off or disabled. @ENG_END_DOX */
994+
} ADLX_APP_GPU_DEPENDENCY;
995+
996+
#pragma endregion ADLX_APP_GPU_DEPENDENCY
997+
979998
#pragma endregion ADLX data types
980999

9811000
//-------------------------------------------------------------------------------------------------

SDK/Include/ADLXStructures.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright (c) 2021 - 2023 Advanced Micro Devices, Inc. All rights reserved.
2+
// Copyright (c) 2021 - 2024 Advanced Micro Devices, Inc. All rights reserved.
33
//
44
//-------------------------------------------------------------------------------------------------
55

SDK/Include/ADLXVersion.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright (c) 2021 - 2023 Advanced Micro Devices, Inc. All rights reserved.
2+
// Copyright (c) 2021 - 2024 Advanced Micro Devices, Inc. All rights reserved.
33
//
44
//-------------------------------------------------------------------------------------------------
55

@@ -8,9 +8,9 @@
88
#pragma once
99

1010
#define ADLX_VER_MAJOR 1
11-
#define ADLX_VER_MINOR 2
11+
#define ADLX_VER_MINOR 3
1212
#define ADLX_VER_RELEASE 0
13-
#define ADLX_VER_BUILD_NUM 72
13+
#define ADLX_VER_BUILD_NUM 85
1414

1515
#define STRING(a) #a
1616
#define STRING_EXPAND(a) STRING(a)

SDK/Include/I3DSettings.h

+66-24
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright (c) 2021 - 2023 Advanced Micro Devices, Inc. All rights reserved.
2+
// Copyright (c) 2021 - 2024 Advanced Micro Devices, Inc. All rights reserved.
33
//
44
//-------------------------------------------------------------------------------------------------
55

@@ -70,7 +70,11 @@ namespace adlx
7070
* @addinfo
7171
* @ENG_START_DOX
7272
* Radeon Anti-Lag helps reduce input lag in GPU-limited cases by controlling the pace of the CPU work to ensure it doesn't get too far ahead of the GPU. <br>
73-
* __Note:__ @ref DOX_IADLX3DChill "AMD Radeon Chill", and AMD Radeon Anti-Lag features cannot be enabled simultaneously. If AMD Radeon Chill is enabled, AMD Radeon Anti-Lag is automatically disabled.
73+
*
74+
* @depifc
75+
* AMD Radeon Anti-Lag cannot be simultaneously enabled with @ref DOX_IADLX3DChill "AMD Radeon Chill".<br>
76+
*
77+
* When a mutually exclusive feature is enabled, AMD Radeon Anti-Lag is automatically disabled.
7478
* @ENG_END_DOX
7579
*
7680
*@copydoc IADLX3DAntiLag_REQ_TABLE
@@ -98,7 +102,11 @@ namespace adlx
98102
* @addinfo
99103
* @ENG_START_DOX
100104
* Radeon Anti-Lag helps reduce input lag in GPU-limited cases by controlling the pace of the CPU work to ensure it doesn't get too far ahead of the GPU. <br>
101-
* __Note:__ @ref DOX_IADLX3DChill "AMD Radeon Chill", and AMD Radeon Anti-Lag features cannot be enabled simultaneously. If AMD Radeon Anti-Lag is enabled, AMD Radeon Chill is automatically disabled. However, the configuration of the disabled feature is preserved.
105+
*
106+
* @depifc
107+
* AMD Radeon Anti-Lag cannot be simultaneously enabled with @ref DOX_IADLX3DChill "AMD Radeon Chill".<br>
108+
*
109+
* When AMD Radeon Anti-Lag is enabled, the mutually exclusive features are automatically disabled. If a mutually exclusive feature is re-enabled, its previous configuration settings are restored.
102110
* @ENG_END_DOX
103111
*
104112
*@copydoc IADLX3DAntiLag_REQ_TABLE
@@ -282,10 +290,13 @@ namespace adlx
282290
* @addinfo
283291
* @ENG_START_DOX
284292
* AMD Radeon Chill conserves GPU power and reduces heat by adjusting the FPS based on the intensity of in-game movement.<br>
285-
* AMD Radeon Chill cannot be enabled simultaneously with @ref DOX_IADLX3DBoost "AMD Radeon Boost", @ref DOX_IADLX3DAntiLag "AMD Radeon Anti-Lag", and @ref DOX_IADLX3DAntiLag1 "AMD Radeon Anti-Lag Next".<br>
286-
* On some AMD GPUs, AMD Radeon Chill cannot be enabled simultaneously with @ref DOX_IADLX3DRadeonSuperResolution "Radeon Super Resolution".<br>
287-
* When a mutually exclusive feature is enabled, AMD Radeon Chill is automatically disabled.<br>
288-
* __Note:__ If AMD Radeon Chill is later re-enabled, its previous configuration settings will be restored.
293+
*
294+
* @depifc
295+
* AMD Radeon Chill cannot be simultaneously enabled with @ref DOX_IADLX3DBoost "AMD Radeon Boost", @ref DOX_IADLX3DAntiLag "AMD Radeon Anti-Lag" @ref DOX_IADLX3DAntiLag1 "AMD Radeon Anti-Lag Next", or @ref DOX_IADLX3DAMDFluidMotionFrames "AMD Fluid Motion Frames".<br>
296+
*
297+
* On some AMD GPUs, AMD Radeon Chill cannot be simultaneously enabled with @ref DOX_IADLX3DRadeonSuperResolution "Radeon Super Resolution".<br>
298+
*
299+
* If a mutually exclusive feature is enabled, AMD Radeon Chill is automatically disabled. When AMD Radeon Chill is re-enabled, its previous configuration settings are restored.<br>
289300
* @ENG_END_DOX
290301
*
291302
*@copydoc IADLX3DChill_REQ_TABLE
@@ -405,10 +416,13 @@ namespace adlx
405416
* @addinfo
406417
* @ENG_START_DOX
407418
* AMD Radeon Chill conserves GPU power and reduces heat by adjusting the FPS based on the intensity of in-game movement.<br>
408-
* AMD Radeon Chill cannot be enabled simultaneously with @ref DOX_IADLX3DBoost "AMD Radeon Boost", @ref DOX_IADLX3DAntiLag "AMD Radeon Anti-Lag", and @ref DOX_IADLX3DAntiLag1 "AMD Radeon Anti-Lag Next".<br>
409-
* On some AMD GPUs, AMD Radeon Chill cannot be enabled simultaneously with @ref DOX_IADLX3DRadeonSuperResolution "Radeon Super Resolution".<br>
410-
* When AMD Radeon Chill is enabled, the mutually exclusive features are automatically disabled.<br>
411-
* __Note:__ If the disabled feature is later re-enabled, its previous configuration settings will be restored.
419+
*
420+
* @depifc
421+
* AMD Radeon Chill cannot be simultaneously enabled with @ref DOX_IADLX3DBoost "AMD Radeon Boost", @ref DOX_IADLX3DAntiLag "AMD Radeon Anti-Lag" @ref DOX_IADLX3DAntiLag1 "AMD Radeon Anti-Lag Next", and @ref DOX_IADLX3DAMDFluidMotionFrames "AMD Fluid Motion Frames".<br>
422+
*
423+
* On some AMD GPUs, AMD Radeon Chill cannot simultaneously enabled with @ref DOX_IADLX3DRadeonSuperResolution "Radeon Super Resolution".<br>
424+
*
425+
* When AMD Radeon Chill is enabled, the mutually exclusive features are automatically disabled. If a mutually exclusive feature is re-enabled, its previous configuration settings are restored.<br>
412426
* @ENG_END_DOX
413427
*
414428
*@copydoc IADLX3DChill_REQ_TABLE
@@ -560,9 +574,15 @@ namespace adlx
560574
* Refer to @ref ADLX_RESULT for success codes and error codes.<br> @ENG_END_DOX
561575
*
562576
* @addinfo
563-
*@ENG_START_DOX AMD Radeon Boost dynamically reduces resolution during motion to improve performance with little perceptible impact on image quality. Only works in supported games.<br>
564-
* __Note:__ @ref DOX_IADLX3DChill "AMD Radeon Chill", AMD Radeon Boost features cannot be enabled simultaneously. If AMD Radeon Chill is enabled, AMD Radeon Boost is automatically disabled.<br>
565-
* On some AMD GPUs, AMD Radeon Boost and @ref DOX_IADLX3DRadeonSuperResolution "Radeon Super Resolution" cannot be enabled simultaneously. If Radeon Super Resolution is enabled, AMD Radeon Boost is automatically disabled.
577+
*@ENG_START_DOX AMD Radeon Boost dynamically reduces resolution during motion to improve performance with little perceptible impact on image quality.<br>
578+
* __Note:__ Only works in supported games.<br>
579+
*
580+
* @depifc
581+
* AMD Radeon Boost cannot be simultaneously enabled with @ref DOX_IADLX3DChill "AMD Radeon Chill".<br>
582+
*
583+
* On some AMD GPUs, AMD Radeon Boost cannot be simultaneously enabled with @ref DOX_IADLX3DRadeonSuperResolution "Radeon Super Resolution".<br>
584+
*
585+
* When a mutually exclusive feature is enabled, AMD Radeon Boost is automatically disabled. If AMD Radeon Boost is later re-enabled, its previous configuration settings will be restored.
566586
* @ENG_END_DOX
567587
*
568588
*@copydoc IADLX3DBoost_REQ_TABLE
@@ -645,9 +665,15 @@ namespace adlx
645665
* Refer to @ref ADLX_RESULT for success codes and error codes.<br> @ENG_END_DOX
646666
*
647667
* @addinfo
648-
*@ENG_START_DOX AMD Radeon Boost dynamically reduces resolution during motion to improve performance with little perceptible impact on image quality. Only works in supported games. <br>
649-
* __Note:__ @ref DOX_IADLX3DChill "AMD Radeon Chill", AMD Radeon Boost features cannot be enabled simultaneously. If AMD Radeon Boost is enabled, AMD Radeon Chill are automatically disabled. However, the configuration of the disabled feature is preserved.<br>
650-
* On some AMD GPUs, AMD Radeon Boost and @ref DOX_IADLX3DRadeonSuperResolution "Radeon Super Resolution" cannot be enabled simultaneously. If AMD Radeon Boost is enabled, Radeon Super Resolution is automatically disabled.
668+
*@ENG_START_DOX AMD Radeon Boost dynamically reduces resolution during motion to improve performance with little perceptible impact on image quality.<br>
669+
* __Note:__ Only works in supported games.<br>
670+
*
671+
* @depifc
672+
* AMD Radeon Boost cannot be simultaneously enabled with @ref DOX_IADLX3DChill "AMD Radeon Chill".<br>
673+
*
674+
* On some AMD GPUs, AMD Radeon Boost cannot be simultaneously enabled with @ref DOX_IADLX3DRadeonSuperResolution "Radeon Super Resolution".<br>
675+
*
676+
* When AMD Radeon Boost is enabled, the mutually exclusive features are automatically disabled. If a mutually exclusive feature is re-enabled, its previous configuration settings are restored.
651677
* @ENG_END_DOX
652678
*
653679
*@copydoc IADLX3DBoost_REQ_TABLE
@@ -766,7 +792,12 @@ namespace adlx
766792
*
767793
* @addinfo
768794
*@ENG_START_DOX AMD Radeon Image Sharpening restores clarity softened by other effects to in-game visuals, and select productivity and media applications.<br>
769-
* __Note:__ On some AMD GPUs, AMD Radeon Image Sharpening and @ref DOX_IADLX3DRadeonSuperResolution "Radeon Super Resolution" cannot be enabled simultaneously. If Radeon Super Resolution is enabled, AMD Radeon Image Sharpening is automatically disabled.
795+
796+
797+
* @depifc
798+
* On some AMD GPUs, AMD Radeon 3D Image Sharpening is mutually exclusive with @ref DOX_IADLX3DRadeonSuperResolution "Radeon Super Resolution".<br>
799+
*
800+
* When a mutually exclusive feature is enabled, AMD Radeon 3D Image Sharpening is automatically disabled. If AMD Radeon 3D Image Sharpening is later re-enabled, its previous configuration settings will be restored.<br>
770801
* @ENG_END_DOX
771802
*
772803
*@copydoc IADLX3DImageSharpening_REQ_TABLE
@@ -848,7 +879,11 @@ namespace adlx
848879
*
849880
* @addinfo
850881
*@ENG_START_DOX AMD Radeon Image Sharpening restores clarity softened by other effects to in-game visuals, and select productivity and media applications.<br>
851-
* __Note:__ On some AMD GPUs, AMD Radeon Image Sharpening and @ref DOX_IADLX3DRadeonSuperResolution "Radeon Super Resolution" cannot be enabled simultaneously. If Radeon Image Sharpening is enabled, AMD Radeon Super Resolution is automatically disabled.
882+
*
883+
* @depifc
884+
* On some AMD GPUs, AMD Radeon 3D Image Sharpening is mutually exclusive with @ref DOX_IADLX3DRadeonSuperResolution "Radeon Super Resolution".<br>
885+
*
886+
* When AMD Radeon 3D Image Sharpening is enabled, the mutually exclusive features are automatically disabled. If a mutually exclusive feature is re-enabled, its previous configuration settings are restored.<br>
852887
* @ENG_END_DOX
853888
*
854889
*@copydoc IADLX3DImageSharpening_REQ_TABLE
@@ -2149,9 +2184,12 @@ namespace adlx
21492184
* @ENG_START_DOX
21502185
* Radeon Super Resolution is an upscaling feature for faster game frame rates. <br>
21512186
*
2152-
* __Note:__ @ref DOX_IADLXDisplayGPUScaling "GPU scaling" is a requirement for Radeon Super Resolution. When Radeon Super Resolution is enabled, GPU scaling is automatically enabled. If GPU scaling is disabled while Radeon Super Resolution is enabled, Radeon Super Resolution is automatically disabled.
2187+
* @depifc
2188+
* Radeon Super Resolution requires @ref DOX_IADLXDisplayGPUScaling "GPU scaling". When Radeon Super Resolution is enabled, GPU scaling is automatically enabled. If GPU scaling is disabled while Radeon Super Resolution is enabled, Radeon Super Resolution is automatically disabled.<br>
2189+
*
2190+
* On some AMD GPUs, Radeon Super Resolution is mutually exclusive with @ref DOX_IADLX3DChill "AMD Radeon Chill", @ref DOX_IADLX3DBoost "AMD Radeon Boost", @ref DOX_IADLX3DImageSharpening "AMD Radeon Image Sharpening", @ref DOX_IADLXDisplayIntegerScaling "Integer Display Scaling", or @ref DOX_IADLXDisplayScalingMode_GetMode "Center Scaling".<br>
21532191
*
2154-
* On some AMD GPUs, Radeon Super Resolution is mutually exclusive with @ref DOX_IADLX3DChill "AMD Radeon Chill", @ref DOX_IADLX3DBoost "AMD Radeon Boost", @ref DOX_IADLX3DImageSharpening "AMD Radeon Image Sharpening", @ref DOX_IADLXDisplayIntegerScaling "Integer Display Scaling", and @ref DOX_IADLXDisplayScalingMode_GetMode "Center Scaling". When Radeon Super Resolution is enabled, the mutually exclusive features are automatically disabled.<br>
2192+
* When a mutually exclusive feature is enabled, Radeon Super Resolution is automatically disabled. If Radeon Super Resolution is later re-enabled, its previous configuration settings will be restored.<br>
21552193
* @ENG_END_DOX
21562194
*
21572195
*@copydoc IADLX3DRadeonSuperResolution_REQ_TABLE
@@ -2180,10 +2218,14 @@ namespace adlx
21802218
* @ENG_START_DOX
21812219
* Radeon Super Resolution is an upscaling feature for faster game frame rates. <br>
21822220
*
2183-
* __Note:__ @ref DOX_IADLXDisplayGPUScaling "GPU scaling" is a requirement for Radeon Super Resolution. When Radeon Super Resolution is enabled, GPU scaling is automatically enabled. If GPU scaling is disabled while Radeon Super Resolution is enabled, Radeon Super Resolution is automatically disabled.
2221+
* @depifc
2222+
* Radeon Super Resolution requires @ref DOX_IADLXDisplayGPUScaling "GPU scaling". When Radeon Super Resolution is enabled, GPU scaling is automatically enabled. If GPU scaling is disabled while Radeon Super Resolution is enabled, Radeon Super Resolution is automatically disabled.<br>
21842223
*
2185-
* On some AMD GPUs, Radeon Super Resolution is mutually exclusive with @ref DOX_IADLX3DChill "AMD Radeon Chill", @ref DOX_IADLX3DBoost "AMD Radeon Boost", @ref DOX_IADLX3DImageSharpening "AMD Radeon Image Sharpening", @ref DOX_IADLXDisplayIntegerScaling "Integer Display Scaling", and @ref DOX_IADLXDisplayScalingMode_GetMode "Center Scaling". When Radeon Super Resolution is enabled, the mutually exclusive features are automatically disabled.<br>
2186-
2224+
* On some AMD GPUs, Radeon Super Resolution is mutually exclusive with @ref DOX_IADLX3DChill "AMD Radeon Chill", @ref DOX_IADLX3DBoost "AMD Radeon Boost", @ref DOX_IADLX3DImageSharpening "AMD Radeon Image Sharpening", @ref DOX_IADLXDisplayIntegerScaling "Integer Display Scaling", or @ref DOX_IADLXDisplayScalingMode_GetMode "Center Scaling".<br>
2225+
*
2226+
* When Radeon Super Resolution is enabled, the mutually exclusive features are automatically disabled.<br>
2227+
*
2228+
* If a mutually exclusive feature is re-enabled, its previous configuration settings are restored.<br>
21872229
* @ENG_END_DOX
21882230
*
21892231
*@copydoc IADLX3DRadeonSuperResolution_REQ_TABLE

0 commit comments

Comments
 (0)