Add nvapi-opensource files

This commit is contained in:
ns6089 2023-06-19 14:23:07 +03:00 committed by Cameron Gutman
parent 16d69f40fd
commit 6992d424a8
6 changed files with 27758 additions and 0 deletions

View File

@ -0,0 +1,956 @@
/*****************************************************************************\
|* *|
|* Copyright (c) 2019-2022, NVIDIA CORPORATION. All rights reserved. *|
|* *|
|* Permission is hereby granted, free of charge, to any person obtaining a *|
|* 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 *|
|* 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 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 OTHER *|
|* DEALINGS IN THE SOFTWARE. *|
|* *|
|* *|
\*****************************************************************************/
#include "NvApiDriverSettings.h"
EValues_OGL_AA_LINE_GAMMA g_valuesOGL_AA_LINE_GAMMA[OGL_AA_LINE_GAMMA_NUM_VALUES] =
{
OGL_AA_LINE_GAMMA_DISABLED,
OGL_AA_LINE_GAMMA_ENABLED,
OGL_AA_LINE_GAMMA_MIN,
OGL_AA_LINE_GAMMA_MAX,
};
EValues_OGL_CPL_GDI_COMPATIBILITY g_valuesOGL_CPL_GDI_COMPATIBILITY[OGL_CPL_GDI_COMPATIBILITY_NUM_VALUES] =
{
OGL_CPL_GDI_COMPATIBILITY_PREFER_DISABLED,
OGL_CPL_GDI_COMPATIBILITY_PREFER_ENABLED,
OGL_CPL_GDI_COMPATIBILITY_AUTO,
};
EValues_OGL_CPL_PREFER_DXPRESENT g_valuesOGL_CPL_PREFER_DXPRESENT[OGL_CPL_PREFER_DXPRESENT_NUM_VALUES] =
{
OGL_CPL_PREFER_DXPRESENT_PREFER_DISABLED,
OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED,
OGL_CPL_PREFER_DXPRESENT_AUTO,
};
EValues_OGL_DEEP_COLOR_SCANOUT g_valuesOGL_DEEP_COLOR_SCANOUT[OGL_DEEP_COLOR_SCANOUT_NUM_VALUES] =
{
OGL_DEEP_COLOR_SCANOUT_DISABLE,
OGL_DEEP_COLOR_SCANOUT_ENABLE,
};
EValues_OGL_DEFAULT_SWAP_INTERVAL g_valuesOGL_DEFAULT_SWAP_INTERVAL[OGL_DEFAULT_SWAP_INTERVAL_NUM_VALUES] =
{
OGL_DEFAULT_SWAP_INTERVAL_TEAR,
OGL_DEFAULT_SWAP_INTERVAL_VSYNC_ONE,
OGL_DEFAULT_SWAP_INTERVAL_VSYNC,
OGL_DEFAULT_SWAP_INTERVAL_VALUE_MASK,
OGL_DEFAULT_SWAP_INTERVAL_FORCE_MASK,
OGL_DEFAULT_SWAP_INTERVAL_FORCE_OFF,
OGL_DEFAULT_SWAP_INTERVAL_FORCE_ON,
OGL_DEFAULT_SWAP_INTERVAL_APP_CONTROLLED,
OGL_DEFAULT_SWAP_INTERVAL_DISABLE,
};
EValues_OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL g_valuesOGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL[OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_NUM_VALUES] =
{
OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_ZERO_SCANLINES,
OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_ONE_FULL_FRAME_OF_SCANLINES,
};
EValues_OGL_DEFAULT_SWAP_INTERVAL_SIGN g_valuesOGL_DEFAULT_SWAP_INTERVAL_SIGN[OGL_DEFAULT_SWAP_INTERVAL_SIGN_NUM_VALUES] =
{
OGL_DEFAULT_SWAP_INTERVAL_SIGN_POSITIVE,
OGL_DEFAULT_SWAP_INTERVAL_SIGN_NEGATIVE,
};
EValues_OGL_EVENT_LOG_SEVERITY_THRESHOLD g_valuesOGL_EVENT_LOG_SEVERITY_THRESHOLD[OGL_EVENT_LOG_SEVERITY_THRESHOLD_NUM_VALUES] =
{
OGL_EVENT_LOG_SEVERITY_THRESHOLD_DISABLE,
OGL_EVENT_LOG_SEVERITY_THRESHOLD_CRITICAL,
OGL_EVENT_LOG_SEVERITY_THRESHOLD_WARNING,
OGL_EVENT_LOG_SEVERITY_THRESHOLD_INFORMATION,
OGL_EVENT_LOG_SEVERITY_THRESHOLD_ALL,
};
EValues_OGL_FORCE_BLIT g_valuesOGL_FORCE_BLIT[OGL_FORCE_BLIT_NUM_VALUES] =
{
OGL_FORCE_BLIT_ON,
OGL_FORCE_BLIT_OFF,
};
EValues_OGL_FORCE_STEREO g_valuesOGL_FORCE_STEREO[OGL_FORCE_STEREO_NUM_VALUES] =
{
OGL_FORCE_STEREO_OFF,
OGL_FORCE_STEREO_ON,
};
const wchar_t * g_valuesOGL_IMPLICIT_GPU_AFFINITY[OGL_IMPLICIT_GPU_AFFINITY_NUM_VALUES] =
{
OGL_IMPLICIT_GPU_AFFINITY_AUTOSELECT
};
EValues_OGL_OVERLAY_PIXEL_TYPE g_valuesOGL_OVERLAY_PIXEL_TYPE[OGL_OVERLAY_PIXEL_TYPE_NUM_VALUES] =
{
OGL_OVERLAY_PIXEL_TYPE_NONE,
OGL_OVERLAY_PIXEL_TYPE_CI,
OGL_OVERLAY_PIXEL_TYPE_RGBA,
OGL_OVERLAY_PIXEL_TYPE_CI_AND_RGBA,
};
EValues_OGL_OVERLAY_SUPPORT g_valuesOGL_OVERLAY_SUPPORT[OGL_OVERLAY_SUPPORT_NUM_VALUES] =
{
OGL_OVERLAY_SUPPORT_OFF,
OGL_OVERLAY_SUPPORT_ON,
OGL_OVERLAY_SUPPORT_FORCE_SW,
};
EValues_OGL_QUALITY_ENHANCEMENTS g_valuesOGL_QUALITY_ENHANCEMENTS[OGL_QUALITY_ENHANCEMENTS_NUM_VALUES] =
{
OGL_QUALITY_ENHANCEMENTS_HQUAL,
OGL_QUALITY_ENHANCEMENTS_QUAL,
OGL_QUALITY_ENHANCEMENTS_PERF,
OGL_QUALITY_ENHANCEMENTS_HPERF,
};
EValues_OGL_SINGLE_BACKDEPTH_BUFFER g_valuesOGL_SINGLE_BACKDEPTH_BUFFER[OGL_SINGLE_BACKDEPTH_BUFFER_NUM_VALUES] =
{
OGL_SINGLE_BACKDEPTH_BUFFER_DISABLE,
OGL_SINGLE_BACKDEPTH_BUFFER_ENABLE,
OGL_SINGLE_BACKDEPTH_BUFFER_USE_HW_DEFAULT,
};
EValues_OGL_SLI_CFR_MODE g_valuesOGL_SLI_CFR_MODE[OGL_SLI_CFR_MODE_NUM_VALUES] =
{
OGL_SLI_CFR_MODE_DISABLE,
OGL_SLI_CFR_MODE_ENABLE,
OGL_SLI_CFR_MODE_CLASSIC_SFR,
};
EValues_OGL_SLI_MULTICAST g_valuesOGL_SLI_MULTICAST[OGL_SLI_MULTICAST_NUM_VALUES] =
{
OGL_SLI_MULTICAST_DISABLE,
OGL_SLI_MULTICAST_ENABLE,
OGL_SLI_MULTICAST_FORCE_DISABLE,
OGL_SLI_MULTICAST_ALLOW_MOSAIC,
};
EValues_OGL_THREAD_CONTROL g_valuesOGL_THREAD_CONTROL[OGL_THREAD_CONTROL_NUM_VALUES] =
{
OGL_THREAD_CONTROL_ENABLE,
OGL_THREAD_CONTROL_DISABLE,
};
EValues_OGL_TMON_LEVEL g_valuesOGL_TMON_LEVEL[OGL_TMON_LEVEL_NUM_VALUES] =
{
OGL_TMON_LEVEL_DISABLE,
OGL_TMON_LEVEL_CRITICAL,
OGL_TMON_LEVEL_WARNING,
OGL_TMON_LEVEL_INFORMATION,
OGL_TMON_LEVEL_MOST,
OGL_TMON_LEVEL_VERBOSE,
};
EValues_OGL_TRIPLE_BUFFER g_valuesOGL_TRIPLE_BUFFER[OGL_TRIPLE_BUFFER_NUM_VALUES] =
{
OGL_TRIPLE_BUFFER_DISABLED,
OGL_TRIPLE_BUFFER_ENABLED,
};
EValues_AA_BEHAVIOR_FLAGS g_valuesAA_BEHAVIOR_FLAGS[AA_BEHAVIOR_FLAGS_NUM_VALUES] =
{
AA_BEHAVIOR_FLAGS_NONE,
AA_BEHAVIOR_FLAGS_TREAT_OVERRIDE_AS_APP_CONTROLLED,
AA_BEHAVIOR_FLAGS_TREAT_OVERRIDE_AS_ENHANCE,
AA_BEHAVIOR_FLAGS_DISABLE_OVERRIDE,
AA_BEHAVIOR_FLAGS_TREAT_ENHANCE_AS_APP_CONTROLLED,
AA_BEHAVIOR_FLAGS_TREAT_ENHANCE_AS_OVERRIDE,
AA_BEHAVIOR_FLAGS_DISABLE_ENHANCE,
AA_BEHAVIOR_FLAGS_MAP_VCAA_TO_MULTISAMPLING,
AA_BEHAVIOR_FLAGS_SLI_DISABLE_TRANSPARENCY_SUPERSAMPLING,
AA_BEHAVIOR_FLAGS_DISABLE_CPLAA,
AA_BEHAVIOR_FLAGS_SKIP_RT_DIM_CHECK_FOR_ENHANCE,
AA_BEHAVIOR_FLAGS_DISABLE_SLIAA,
AA_BEHAVIOR_FLAGS_DEFAULT,
AA_BEHAVIOR_FLAGS_AA_RT_BPP_DIV_4,
AA_BEHAVIOR_FLAGS_AA_RT_BPP_DIV_4_SHIFT,
AA_BEHAVIOR_FLAGS_NON_AA_RT_BPP_DIV_4,
AA_BEHAVIOR_FLAGS_NON_AA_RT_BPP_DIV_4_SHIFT,
AA_BEHAVIOR_FLAGS_MASK,
};
EValues_AA_MODE_ALPHATOCOVERAGE g_valuesAA_MODE_ALPHATOCOVERAGE[AA_MODE_ALPHATOCOVERAGE_NUM_VALUES] =
{
AA_MODE_ALPHATOCOVERAGE_MODE_MASK,
AA_MODE_ALPHATOCOVERAGE_MODE_OFF,
AA_MODE_ALPHATOCOVERAGE_MODE_ON,
AA_MODE_ALPHATOCOVERAGE_MODE_MAX,
};
EValues_AA_MODE_GAMMACORRECTION g_valuesAA_MODE_GAMMACORRECTION[AA_MODE_GAMMACORRECTION_NUM_VALUES] =
{
AA_MODE_GAMMACORRECTION_MASK,
AA_MODE_GAMMACORRECTION_OFF,
AA_MODE_GAMMACORRECTION_ON_IF_FOS,
AA_MODE_GAMMACORRECTION_ON_ALWAYS,
AA_MODE_GAMMACORRECTION_MAX,
AA_MODE_GAMMACORRECTION_DEFAULT,
AA_MODE_GAMMACORRECTION_DEFAULT_TESLA,
AA_MODE_GAMMACORRECTION_DEFAULT_FERMI,
};
EValues_AA_MODE_METHOD g_valuesAA_MODE_METHOD[AA_MODE_METHOD_NUM_VALUES] =
{
AA_MODE_METHOD_NONE,
AA_MODE_METHOD_SUPERSAMPLE_2X_H,
AA_MODE_METHOD_SUPERSAMPLE_2X_V,
AA_MODE_METHOD_SUPERSAMPLE_1_5X1_5,
AA_MODE_METHOD_FREE_0x03,
AA_MODE_METHOD_FREE_0x04,
AA_MODE_METHOD_SUPERSAMPLE_4X,
AA_MODE_METHOD_SUPERSAMPLE_4X_BIAS,
AA_MODE_METHOD_SUPERSAMPLE_4X_GAUSSIAN,
AA_MODE_METHOD_FREE_0x08,
AA_MODE_METHOD_FREE_0x09,
AA_MODE_METHOD_SUPERSAMPLE_9X,
AA_MODE_METHOD_SUPERSAMPLE_9X_BIAS,
AA_MODE_METHOD_SUPERSAMPLE_16X,
AA_MODE_METHOD_SUPERSAMPLE_16X_BIAS,
AA_MODE_METHOD_MULTISAMPLE_2X_DIAGONAL,
AA_MODE_METHOD_MULTISAMPLE_2X_QUINCUNX,
AA_MODE_METHOD_MULTISAMPLE_4X,
AA_MODE_METHOD_FREE_0x11,
AA_MODE_METHOD_MULTISAMPLE_4X_GAUSSIAN,
AA_MODE_METHOD_MIXEDSAMPLE_4X_SKEWED_4TAP,
AA_MODE_METHOD_FREE_0x14,
AA_MODE_METHOD_FREE_0x15,
AA_MODE_METHOD_MIXEDSAMPLE_6X,
AA_MODE_METHOD_MIXEDSAMPLE_6X_SKEWED_6TAP,
AA_MODE_METHOD_MIXEDSAMPLE_8X,
AA_MODE_METHOD_MIXEDSAMPLE_8X_SKEWED_8TAP,
AA_MODE_METHOD_MIXEDSAMPLE_16X,
AA_MODE_METHOD_MULTISAMPLE_4X_GAMMA,
AA_MODE_METHOD_MULTISAMPLE_16X,
AA_MODE_METHOD_VCAA_32X_8v24,
AA_MODE_METHOD_CORRUPTION_CHECK,
AA_MODE_METHOD_6X_CT,
AA_MODE_METHOD_MULTISAMPLE_2X_DIAGONAL_GAMMA,
AA_MODE_METHOD_SUPERSAMPLE_4X_GAMMA,
AA_MODE_METHOD_MULTISAMPLE_4X_FOSGAMMA,
AA_MODE_METHOD_MULTISAMPLE_2X_DIAGONAL_FOSGAMMA,
AA_MODE_METHOD_SUPERSAMPLE_4X_FOSGAMMA,
AA_MODE_METHOD_MULTISAMPLE_8X,
AA_MODE_METHOD_VCAA_8X_4v4,
AA_MODE_METHOD_VCAA_16X_4v12,
AA_MODE_METHOD_VCAA_16X_8v8,
AA_MODE_METHOD_MIXEDSAMPLE_32X,
AA_MODE_METHOD_SUPERVCAA_64X_4v12,
AA_MODE_METHOD_SUPERVCAA_64X_8v8,
AA_MODE_METHOD_MIXEDSAMPLE_64X,
AA_MODE_METHOD_MIXEDSAMPLE_128X,
AA_MODE_METHOD_COUNT,
AA_MODE_METHOD_METHOD_MASK,
AA_MODE_METHOD_METHOD_MAX,
};
EValues_AA_MODE_REPLAY g_valuesAA_MODE_REPLAY[AA_MODE_REPLAY_NUM_VALUES] =
{
AA_MODE_REPLAY_SAMPLES_MASK,
AA_MODE_REPLAY_SAMPLES_ONE,
AA_MODE_REPLAY_SAMPLES_TWO,
AA_MODE_REPLAY_SAMPLES_FOUR,
AA_MODE_REPLAY_SAMPLES_EIGHT,
AA_MODE_REPLAY_SAMPLES_MAX,
AA_MODE_REPLAY_MODE_MASK,
AA_MODE_REPLAY_MODE_OFF,
AA_MODE_REPLAY_MODE_ALPHA_TEST,
AA_MODE_REPLAY_MODE_PIXEL_KILL,
AA_MODE_REPLAY_MODE_DYN_BRANCH,
AA_MODE_REPLAY_MODE_OPTIMAL,
AA_MODE_REPLAY_MODE_ALL,
AA_MODE_REPLAY_MODE_MAX,
AA_MODE_REPLAY_TRANSPARENCY,
AA_MODE_REPLAY_DISALLOW_TRAA,
AA_MODE_REPLAY_TRANSPARENCY_DEFAULT,
AA_MODE_REPLAY_TRANSPARENCY_DEFAULT_TESLA,
AA_MODE_REPLAY_TRANSPARENCY_DEFAULT_FERMI,
AA_MODE_REPLAY_MASK,
};
EValues_AA_MODE_SELECTOR g_valuesAA_MODE_SELECTOR[AA_MODE_SELECTOR_NUM_VALUES] =
{
AA_MODE_SELECTOR_MASK,
AA_MODE_SELECTOR_APP_CONTROL,
AA_MODE_SELECTOR_OVERRIDE,
AA_MODE_SELECTOR_ENHANCE,
AA_MODE_SELECTOR_MAX,
};
EValues_AA_MODE_SELECTOR_SLIAA g_valuesAA_MODE_SELECTOR_SLIAA[AA_MODE_SELECTOR_SLIAA_NUM_VALUES] =
{
AA_MODE_SELECTOR_SLIAA_DISABLED,
AA_MODE_SELECTOR_SLIAA_ENABLED,
};
EValues_ANISO_MODE_LEVEL g_valuesANISO_MODE_LEVEL[ANISO_MODE_LEVEL_NUM_VALUES] =
{
ANISO_MODE_LEVEL_MASK,
ANISO_MODE_LEVEL_NONE_POINT,
ANISO_MODE_LEVEL_NONE_LINEAR,
ANISO_MODE_LEVEL_MAX,
ANISO_MODE_LEVEL_DEFAULT,
};
EValues_ANISO_MODE_SELECTOR g_valuesANISO_MODE_SELECTOR[ANISO_MODE_SELECTOR_NUM_VALUES] =
{
ANISO_MODE_SELECTOR_MASK,
ANISO_MODE_SELECTOR_APP,
ANISO_MODE_SELECTOR_USER,
ANISO_MODE_SELECTOR_COND,
ANISO_MODE_SELECTOR_MAX,
ANISO_MODE_SELECTOR_DEFAULT,
};
EValues_ANSEL_ALLOW g_valuesANSEL_ALLOW[ANSEL_ALLOW_NUM_VALUES] =
{
ANSEL_ALLOW_DISALLOWED,
ANSEL_ALLOW_ALLOWED,
};
EValues_ANSEL_ALLOWLISTED g_valuesANSEL_ALLOWLISTED[ANSEL_ALLOWLISTED_NUM_VALUES] =
{
ANSEL_ALLOWLISTED_DISALLOWED,
ANSEL_ALLOWLISTED_ALLOWED,
};
EValues_ANSEL_ENABLE g_valuesANSEL_ENABLE[ANSEL_ENABLE_NUM_VALUES] =
{
ANSEL_ENABLE_OFF,
ANSEL_ENABLE_ON,
};
EValues_APPLICATION_PROFILE_NOTIFICATION_TIMEOUT g_valuesAPPLICATION_PROFILE_NOTIFICATION_TIMEOUT[APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_NUM_VALUES] =
{
APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_DISABLED,
APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_NINE_SECONDS,
APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_FIFTEEN_SECONDS,
APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_THIRTY_SECONDS,
APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_ONE_MINUTE,
APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_TWO_MINUTES,
};
EValues_BATTERY_BOOST_APP_FPS g_valuesBATTERY_BOOST_APP_FPS[BATTERY_BOOST_APP_FPS_NUM_VALUES] =
{
BATTERY_BOOST_APP_FPS_MIN,
BATTERY_BOOST_APP_FPS_MAX,
BATTERY_BOOST_APP_FPS_NO_OVERRIDE,
};
EValues_CPL_HIDDEN_PROFILE g_valuesCPL_HIDDEN_PROFILE[CPL_HIDDEN_PROFILE_NUM_VALUES] =
{
CPL_HIDDEN_PROFILE_DISABLED,
CPL_HIDDEN_PROFILE_ENABLED,
};
const wchar_t * g_valuesCUDA_EXCLUDED_GPUS[CUDA_EXCLUDED_GPUS_NUM_VALUES] =
{
CUDA_EXCLUDED_GPUS_NONE
};
const wchar_t * g_valuesD3DOGL_GPU_MAX_POWER[D3DOGL_GPU_MAX_POWER_NUM_VALUES] =
{
D3DOGL_GPU_MAX_POWER_DEFAULTPOWER
};
EValues_EXPORT_PERF_COUNTERS g_valuesEXPORT_PERF_COUNTERS[EXPORT_PERF_COUNTERS_NUM_VALUES] =
{
EXPORT_PERF_COUNTERS_OFF,
EXPORT_PERF_COUNTERS_ON,
};
EValues_EXTERNAL_QUIET_MODE g_valuesEXTERNAL_QUIET_MODE[EXTERNAL_QUIET_MODE_NUM_VALUES] =
{
EXTERNAL_QUIET_MODE_ON,
EXTERNAL_QUIET_MODE_OFF,
};
EValues_FRL_FPS g_valuesFRL_FPS[FRL_FPS_NUM_VALUES] =
{
FRL_FPS_DISABLED,
FRL_FPS_MIN,
FRL_FPS_MAX,
};
EValues_FXAA_ALLOW g_valuesFXAA_ALLOW[FXAA_ALLOW_NUM_VALUES] =
{
FXAA_ALLOW_DISALLOWED,
FXAA_ALLOW_ALLOWED,
};
EValues_FXAA_ENABLE g_valuesFXAA_ENABLE[FXAA_ENABLE_NUM_VALUES] =
{
FXAA_ENABLE_OFF,
FXAA_ENABLE_ON,
};
EValues_FXAA_INDICATOR_ENABLE g_valuesFXAA_INDICATOR_ENABLE[FXAA_INDICATOR_ENABLE_NUM_VALUES] =
{
FXAA_INDICATOR_ENABLE_OFF,
FXAA_INDICATOR_ENABLE_ON,
};
EValues_LATENCY_INDICATOR_AUTOALIGN g_valuesLATENCY_INDICATOR_AUTOALIGN[LATENCY_INDICATOR_AUTOALIGN_NUM_VALUES] =
{
LATENCY_INDICATOR_AUTOALIGN_DISABLED,
LATENCY_INDICATOR_AUTOALIGN_ENABLED,
};
EValues_MCSFRSHOWSPLIT g_valuesMCSFRSHOWSPLIT[MCSFRSHOWSPLIT_NUM_VALUES] =
{
MCSFRSHOWSPLIT_DISABLED,
MCSFRSHOWSPLIT_ENABLED,
};
EValues_NV_QUALITY_UPSCALING g_valuesNV_QUALITY_UPSCALING[NV_QUALITY_UPSCALING_NUM_VALUES] =
{
NV_QUALITY_UPSCALING_OFF,
NV_QUALITY_UPSCALING_ON,
};
EValues_OPTIMUS_MAXAA g_valuesOPTIMUS_MAXAA[OPTIMUS_MAXAA_NUM_VALUES] =
{
OPTIMUS_MAXAA_MIN,
OPTIMUS_MAXAA_MAX,
};
EValues_PHYSXINDICATOR g_valuesPHYSXINDICATOR[PHYSXINDICATOR_NUM_VALUES] =
{
PHYSXINDICATOR_DISABLED,
PHYSXINDICATOR_ENABLED,
};
EValues_PREFERRED_PSTATE g_valuesPREFERRED_PSTATE[PREFERRED_PSTATE_NUM_VALUES] =
{
PREFERRED_PSTATE_ADAPTIVE,
PREFERRED_PSTATE_PREFER_MAX,
PREFERRED_PSTATE_DRIVER_CONTROLLED,
PREFERRED_PSTATE_PREFER_CONSISTENT_PERFORMANCE,
PREFERRED_PSTATE_PREFER_MIN,
PREFERRED_PSTATE_OPTIMAL_POWER,
PREFERRED_PSTATE_MIN,
PREFERRED_PSTATE_MAX,
};
EValues_PREVENT_UI_AF_OVERRIDE g_valuesPREVENT_UI_AF_OVERRIDE[PREVENT_UI_AF_OVERRIDE_NUM_VALUES] =
{
PREVENT_UI_AF_OVERRIDE_OFF,
PREVENT_UI_AF_OVERRIDE_ON,
};
EValues_SHIM_MCCOMPAT g_valuesSHIM_MCCOMPAT[SHIM_MCCOMPAT_NUM_VALUES] =
{
SHIM_MCCOMPAT_INTEGRATED,
SHIM_MCCOMPAT_ENABLE,
SHIM_MCCOMPAT_USER_EDITABLE,
SHIM_MCCOMPAT_MASK,
SHIM_MCCOMPAT_VIDEO_MASK,
SHIM_MCCOMPAT_VARYING_BIT,
SHIM_MCCOMPAT_AUTO_SELECT,
SHIM_MCCOMPAT_OVERRIDE_BIT,
};
EValues_SHIM_RENDERING_MODE g_valuesSHIM_RENDERING_MODE[SHIM_RENDERING_MODE_NUM_VALUES] =
{
SHIM_RENDERING_MODE_INTEGRATED,
SHIM_RENDERING_MODE_ENABLE,
SHIM_RENDERING_MODE_USER_EDITABLE,
SHIM_RENDERING_MODE_MASK,
SHIM_RENDERING_MODE_VIDEO_MASK,
SHIM_RENDERING_MODE_VARYING_BIT,
SHIM_RENDERING_MODE_AUTO_SELECT,
SHIM_RENDERING_MODE_OVERRIDE_BIT,
};
EValues_SHIM_RENDERING_OPTIONS g_valuesSHIM_RENDERING_OPTIONS[SHIM_RENDERING_OPTIONS_NUM_VALUES] =
{
SHIM_RENDERING_OPTIONS_DEFAULT_RENDERING_MODE,
SHIM_RENDERING_OPTIONS_DISABLE_ASYNC_PRESENT,
SHIM_RENDERING_OPTIONS_EHSHELL_DETECT,
SHIM_RENDERING_OPTIONS_FLASHPLAYER_HOST_DETECT,
SHIM_RENDERING_OPTIONS_VIDEO_DRM_APP_DETECT,
SHIM_RENDERING_OPTIONS_IGNORE_OVERRIDES,
SHIM_RENDERING_OPTIONS_RESERVED1,
SHIM_RENDERING_OPTIONS_ENABLE_DWM_ASYNC_PRESENT,
SHIM_RENDERING_OPTIONS_RESERVED2,
SHIM_RENDERING_OPTIONS_ALLOW_INHERITANCE,
SHIM_RENDERING_OPTIONS_DISABLE_WRAPPERS,
SHIM_RENDERING_OPTIONS_DISABLE_DXGI_WRAPPERS,
SHIM_RENDERING_OPTIONS_PRUNE_UNSUPPORTED_FORMATS,
SHIM_RENDERING_OPTIONS_ENABLE_ALPHA_FORMAT,
SHIM_RENDERING_OPTIONS_IGPU_TRANSCODING,
SHIM_RENDERING_OPTIONS_DISABLE_CUDA,
SHIM_RENDERING_OPTIONS_ALLOW_CP_CAPS_FOR_VIDEO,
SHIM_RENDERING_OPTIONS_IGPU_TRANSCODING_FWD_OPTIMUS,
SHIM_RENDERING_OPTIONS_DISABLE_DURING_SECURE_BOOT,
SHIM_RENDERING_OPTIONS_INVERT_FOR_QUADRO,
SHIM_RENDERING_OPTIONS_INVERT_FOR_MSHYBRID,
SHIM_RENDERING_OPTIONS_REGISTER_PROCESS_ENABLE_GOLD,
SHIM_RENDERING_OPTIONS_HANDLE_WINDOWED_MODE_PERF_OPT,
SHIM_RENDERING_OPTIONS_HANDLE_WIN7_ASYNC_RUNTIME_BUG,
SHIM_RENDERING_OPTIONS_EXPLICIT_ADAPTER_OPTED_BY_APP,
SHIM_RENDERING_OPTIONS_ALLOW_DYNAMIC_DISPLAY_MUX_SWITCH,
SHIM_RENDERING_OPTIONS_DISALLOW_DYNAMIC_DISPLAY_MUX_SWITCH,
SHIM_RENDERING_OPTIONS_DISABLE_TURING_POWER_POLICY,
};
EValues_SLI_GPU_COUNT g_valuesSLI_GPU_COUNT[SLI_GPU_COUNT_NUM_VALUES] =
{
SLI_GPU_COUNT_AUTOSELECT,
SLI_GPU_COUNT_ONE,
SLI_GPU_COUNT_TWO,
SLI_GPU_COUNT_THREE,
SLI_GPU_COUNT_FOUR,
};
EValues_SLI_PREDEFINED_GPU_COUNT g_valuesSLI_PREDEFINED_GPU_COUNT[SLI_PREDEFINED_GPU_COUNT_NUM_VALUES] =
{
SLI_PREDEFINED_GPU_COUNT_AUTOSELECT,
SLI_PREDEFINED_GPU_COUNT_ONE,
SLI_PREDEFINED_GPU_COUNT_TWO,
SLI_PREDEFINED_GPU_COUNT_THREE,
SLI_PREDEFINED_GPU_COUNT_FOUR,
};
EValues_SLI_PREDEFINED_GPU_COUNT_DX10 g_valuesSLI_PREDEFINED_GPU_COUNT_DX10[SLI_PREDEFINED_GPU_COUNT_DX10_NUM_VALUES] =
{
SLI_PREDEFINED_GPU_COUNT_DX10_AUTOSELECT,
SLI_PREDEFINED_GPU_COUNT_DX10_ONE,
SLI_PREDEFINED_GPU_COUNT_DX10_TWO,
SLI_PREDEFINED_GPU_COUNT_DX10_THREE,
SLI_PREDEFINED_GPU_COUNT_DX10_FOUR,
};
EValues_SLI_PREDEFINED_MODE g_valuesSLI_PREDEFINED_MODE[SLI_PREDEFINED_MODE_NUM_VALUES] =
{
SLI_PREDEFINED_MODE_AUTOSELECT,
SLI_PREDEFINED_MODE_FORCE_SINGLE,
SLI_PREDEFINED_MODE_FORCE_AFR,
SLI_PREDEFINED_MODE_FORCE_AFR2,
SLI_PREDEFINED_MODE_FORCE_SFR,
SLI_PREDEFINED_MODE_FORCE_AFR_OF_SFR__FALLBACK_3AFR,
};
EValues_SLI_PREDEFINED_MODE_DX10 g_valuesSLI_PREDEFINED_MODE_DX10[SLI_PREDEFINED_MODE_DX10_NUM_VALUES] =
{
SLI_PREDEFINED_MODE_DX10_AUTOSELECT,
SLI_PREDEFINED_MODE_DX10_FORCE_SINGLE,
SLI_PREDEFINED_MODE_DX10_FORCE_AFR,
SLI_PREDEFINED_MODE_DX10_FORCE_AFR2,
SLI_PREDEFINED_MODE_DX10_FORCE_SFR,
SLI_PREDEFINED_MODE_DX10_FORCE_AFR_OF_SFR__FALLBACK_3AFR,
};
EValues_SLI_RENDERING_MODE g_valuesSLI_RENDERING_MODE[SLI_RENDERING_MODE_NUM_VALUES] =
{
SLI_RENDERING_MODE_AUTOSELECT,
SLI_RENDERING_MODE_FORCE_SINGLE,
SLI_RENDERING_MODE_FORCE_AFR,
SLI_RENDERING_MODE_FORCE_AFR2,
SLI_RENDERING_MODE_FORCE_SFR,
SLI_RENDERING_MODE_FORCE_AFR_OF_SFR__FALLBACK_3AFR,
};
EValues_VRPRERENDERLIMIT g_valuesVRPRERENDERLIMIT[VRPRERENDERLIMIT_NUM_VALUES] =
{
VRPRERENDERLIMIT_MIN,
VRPRERENDERLIMIT_MAX,
VRPRERENDERLIMIT_APP_CONTROLLED,
VRPRERENDERLIMIT_DEFAULT,
};
EValues_VRRFEATUREINDICATOR g_valuesVRRFEATUREINDICATOR[VRRFEATUREINDICATOR_NUM_VALUES] =
{
VRRFEATUREINDICATOR_DISABLED,
VRRFEATUREINDICATOR_ENABLED,
};
EValues_VRROVERLAYINDICATOR g_valuesVRROVERLAYINDICATOR[VRROVERLAYINDICATOR_NUM_VALUES] =
{
VRROVERLAYINDICATOR_DISABLED,
VRROVERLAYINDICATOR_ENABLED,
};
EValues_VRRREQUESTSTATE g_valuesVRRREQUESTSTATE[VRRREQUESTSTATE_NUM_VALUES] =
{
VRRREQUESTSTATE_DISABLED,
VRRREQUESTSTATE_FULLSCREEN_ONLY,
VRRREQUESTSTATE_FULLSCREEN_AND_WINDOWED,
};
EValues_VRR_APP_OVERRIDE g_valuesVRR_APP_OVERRIDE[VRR_APP_OVERRIDE_NUM_VALUES] =
{
VRR_APP_OVERRIDE_ALLOW,
VRR_APP_OVERRIDE_FORCE_OFF,
VRR_APP_OVERRIDE_DISALLOW,
VRR_APP_OVERRIDE_ULMB,
VRR_APP_OVERRIDE_FIXED_REFRESH,
};
EValues_VRR_APP_OVERRIDE_REQUEST_STATE g_valuesVRR_APP_OVERRIDE_REQUEST_STATE[VRR_APP_OVERRIDE_REQUEST_STATE_NUM_VALUES] =
{
VRR_APP_OVERRIDE_REQUEST_STATE_ALLOW,
VRR_APP_OVERRIDE_REQUEST_STATE_FORCE_OFF,
VRR_APP_OVERRIDE_REQUEST_STATE_DISALLOW,
VRR_APP_OVERRIDE_REQUEST_STATE_ULMB,
VRR_APP_OVERRIDE_REQUEST_STATE_FIXED_REFRESH,
};
EValues_VRR_MODE g_valuesVRR_MODE[VRR_MODE_NUM_VALUES] =
{
VRR_MODE_DISABLED,
VRR_MODE_FULLSCREEN_ONLY,
VRR_MODE_FULLSCREEN_AND_WINDOWED,
};
EValues_VSYNCSMOOTHAFR g_valuesVSYNCSMOOTHAFR[VSYNCSMOOTHAFR_NUM_VALUES] =
{
VSYNCSMOOTHAFR_OFF,
VSYNCSMOOTHAFR_ON,
};
EValues_VSYNCVRRCONTROL g_valuesVSYNCVRRCONTROL[VSYNCVRRCONTROL_NUM_VALUES] =
{
VSYNCVRRCONTROL_DISABLE,
VSYNCVRRCONTROL_ENABLE,
VSYNCVRRCONTROL_NOTSUPPORTED,
};
EValues_VSYNC_BEHAVIOR_FLAGS g_valuesVSYNC_BEHAVIOR_FLAGS[VSYNC_BEHAVIOR_FLAGS_NUM_VALUES] =
{
VSYNC_BEHAVIOR_FLAGS_NONE,
VSYNC_BEHAVIOR_FLAGS_DEFAULT,
VSYNC_BEHAVIOR_FLAGS_IGNORE_FLIPINTERVAL_MULTIPLE,
};
EValues_WKS_API_STEREO_EYES_EXCHANGE g_valuesWKS_API_STEREO_EYES_EXCHANGE[WKS_API_STEREO_EYES_EXCHANGE_NUM_VALUES] =
{
WKS_API_STEREO_EYES_EXCHANGE_OFF,
WKS_API_STEREO_EYES_EXCHANGE_ON,
};
EValues_WKS_API_STEREO_MODE g_valuesWKS_API_STEREO_MODE[WKS_API_STEREO_MODE_NUM_VALUES] =
{
WKS_API_STEREO_MODE_SHUTTER_GLASSES,
WKS_API_STEREO_MODE_VERTICAL_INTERLACED,
WKS_API_STEREO_MODE_TWINVIEW,
WKS_API_STEREO_MODE_NV17_SHUTTER_GLASSES_AUTO,
WKS_API_STEREO_MODE_NV17_SHUTTER_GLASSES_DAC0,
WKS_API_STEREO_MODE_NV17_SHUTTER_GLASSES_DAC1,
WKS_API_STEREO_MODE_COLOR_LINE,
WKS_API_STEREO_MODE_COLOR_INTERLEAVED,
WKS_API_STEREO_MODE_ANAGLYPH,
WKS_API_STEREO_MODE_HORIZONTAL_INTERLACED,
WKS_API_STEREO_MODE_SIDE_FIELD,
WKS_API_STEREO_MODE_SUB_FIELD,
WKS_API_STEREO_MODE_CHECKERBOARD,
WKS_API_STEREO_MODE_INVERSE_CHECKERBOARD,
WKS_API_STEREO_MODE_TRIDELITY_SL,
WKS_API_STEREO_MODE_TRIDELITY_MV,
WKS_API_STEREO_MODE_SEEFRONT,
WKS_API_STEREO_MODE_STEREO_MIRROR,
WKS_API_STEREO_MODE_FRAME_SEQUENTIAL,
WKS_API_STEREO_MODE_AUTODETECT_PASSIVE_MODE,
WKS_API_STEREO_MODE_AEGIS_DT_FRAME_SEQUENTIAL,
WKS_API_STEREO_MODE_OEM_EMITTER_FRAME_SEQUENTIAL,
WKS_API_STEREO_MODE_DP_INBAND,
WKS_API_STEREO_MODE_USE_HW_DEFAULT,
WKS_API_STEREO_MODE_DEFAULT_GL,
};
EValues_WKS_MEMORY_ALLOCATION_POLICY g_valuesWKS_MEMORY_ALLOCATION_POLICY[WKS_MEMORY_ALLOCATION_POLICY_NUM_VALUES] =
{
WKS_MEMORY_ALLOCATION_POLICY_AS_NEEDED,
WKS_MEMORY_ALLOCATION_POLICY_MODERATE_PRE_ALLOCATION,
WKS_MEMORY_ALLOCATION_POLICY_AGGRESSIVE_PRE_ALLOCATION,
};
EValues_WKS_STEREO_DONGLE_SUPPORT g_valuesWKS_STEREO_DONGLE_SUPPORT[WKS_STEREO_DONGLE_SUPPORT_NUM_VALUES] =
{
WKS_STEREO_DONGLE_SUPPORT_OFF,
WKS_STEREO_DONGLE_SUPPORT_DAC,
WKS_STEREO_DONGLE_SUPPORT_DLP,
};
EValues_WKS_STEREO_SUPPORT g_valuesWKS_STEREO_SUPPORT[WKS_STEREO_SUPPORT_NUM_VALUES] =
{
WKS_STEREO_SUPPORT_OFF,
WKS_STEREO_SUPPORT_ON,
};
EValues_WKS_STEREO_SWAP_MODE g_valuesWKS_STEREO_SWAP_MODE[WKS_STEREO_SWAP_MODE_NUM_VALUES] =
{
WKS_STEREO_SWAP_MODE_APPLICATION_CONTROL,
WKS_STEREO_SWAP_MODE_PER_EYE,
WKS_STEREO_SWAP_MODE_PER_EYE_PAIR,
WKS_STEREO_SWAP_MODE_LEGACY_BEHAVIOR,
WKS_STEREO_SWAP_MODE_PER_EYE_FOR_SWAP_GROUP,
};
EValues_AO_MODE g_valuesAO_MODE[AO_MODE_NUM_VALUES] =
{
AO_MODE_OFF,
AO_MODE_LOW,
AO_MODE_MEDIUM,
AO_MODE_HIGH,
};
EValues_AO_MODE_ACTIVE g_valuesAO_MODE_ACTIVE[AO_MODE_ACTIVE_NUM_VALUES] =
{
AO_MODE_ACTIVE_DISABLED,
AO_MODE_ACTIVE_ENABLED,
};
EValues_AUTO_LODBIASADJUST g_valuesAUTO_LODBIASADJUST[AUTO_LODBIASADJUST_NUM_VALUES] =
{
AUTO_LODBIASADJUST_OFF,
AUTO_LODBIASADJUST_ON,
};
EValues_EXPORT_PERF_COUNTERS_DX9_ONLY g_valuesEXPORT_PERF_COUNTERS_DX9_ONLY[EXPORT_PERF_COUNTERS_DX9_ONLY_NUM_VALUES] =
{
EXPORT_PERF_COUNTERS_DX9_ONLY_OFF,
EXPORT_PERF_COUNTERS_DX9_ONLY_ON,
};
EValues_LODBIASADJUST g_valuesLODBIASADJUST[LODBIASADJUST_NUM_VALUES] =
{
LODBIASADJUST_MIN,
LODBIASADJUST_MAX,
};
EValues_MAXWELL_B_SAMPLE_INTERLEAVE g_valuesMAXWELL_B_SAMPLE_INTERLEAVE[MAXWELL_B_SAMPLE_INTERLEAVE_NUM_VALUES] =
{
MAXWELL_B_SAMPLE_INTERLEAVE_OFF,
MAXWELL_B_SAMPLE_INTERLEAVE_ON,
};
EValues_PRERENDERLIMIT g_valuesPRERENDERLIMIT[PRERENDERLIMIT_NUM_VALUES] =
{
PRERENDERLIMIT_MIN,
PRERENDERLIMIT_MAX,
PRERENDERLIMIT_APP_CONTROLLED,
};
EValues_PS_SHADERDISKCACHE g_valuesPS_SHADERDISKCACHE[PS_SHADERDISKCACHE_NUM_VALUES] =
{
PS_SHADERDISKCACHE_OFF,
PS_SHADERDISKCACHE_ON,
};
EValues_PS_SHADERDISKCACHE_MAX_SIZE g_valuesPS_SHADERDISKCACHE_MAX_SIZE[PS_SHADERDISKCACHE_MAX_SIZE_NUM_VALUES] =
{
PS_SHADERDISKCACHE_MAX_SIZE_MIN,
PS_SHADERDISKCACHE_MAX_SIZE_MAX,
};
EValues_PS_TEXFILTER_ANISO_OPTS2 g_valuesPS_TEXFILTER_ANISO_OPTS2[PS_TEXFILTER_ANISO_OPTS2_NUM_VALUES] =
{
PS_TEXFILTER_ANISO_OPTS2_OFF,
PS_TEXFILTER_ANISO_OPTS2_ON,
};
EValues_PS_TEXFILTER_BILINEAR_IN_ANISO g_valuesPS_TEXFILTER_BILINEAR_IN_ANISO[PS_TEXFILTER_BILINEAR_IN_ANISO_NUM_VALUES] =
{
PS_TEXFILTER_BILINEAR_IN_ANISO_OFF,
PS_TEXFILTER_BILINEAR_IN_ANISO_ON,
};
EValues_PS_TEXFILTER_DISABLE_TRILIN_SLOPE g_valuesPS_TEXFILTER_DISABLE_TRILIN_SLOPE[PS_TEXFILTER_DISABLE_TRILIN_SLOPE_NUM_VALUES] =
{
PS_TEXFILTER_DISABLE_TRILIN_SLOPE_OFF,
PS_TEXFILTER_DISABLE_TRILIN_SLOPE_ON,
};
EValues_PS_TEXFILTER_NO_NEG_LODBIAS g_valuesPS_TEXFILTER_NO_NEG_LODBIAS[PS_TEXFILTER_NO_NEG_LODBIAS_NUM_VALUES] =
{
PS_TEXFILTER_NO_NEG_LODBIAS_OFF,
PS_TEXFILTER_NO_NEG_LODBIAS_ON,
};
EValues_QUALITY_ENHANCEMENTS g_valuesQUALITY_ENHANCEMENTS[QUALITY_ENHANCEMENTS_NUM_VALUES] =
{
QUALITY_ENHANCEMENTS_HIGHQUALITY,
QUALITY_ENHANCEMENTS_QUALITY,
QUALITY_ENHANCEMENTS_PERFORMANCE,
QUALITY_ENHANCEMENTS_HIGHPERFORMANCE,
};
EValues_QUALITY_ENHANCEMENT_SUBSTITUTION g_valuesQUALITY_ENHANCEMENT_SUBSTITUTION[QUALITY_ENHANCEMENT_SUBSTITUTION_NUM_VALUES] =
{
QUALITY_ENHANCEMENT_SUBSTITUTION_NO_SUBSTITUTION,
QUALITY_ENHANCEMENT_SUBSTITUTION_HIGHQUALITY_BECOMES_QUALITY,
};
EValues_REFRESH_RATE_OVERRIDE g_valuesREFRESH_RATE_OVERRIDE[REFRESH_RATE_OVERRIDE_NUM_VALUES] =
{
REFRESH_RATE_OVERRIDE_APPLICATION_CONTROLLED,
REFRESH_RATE_OVERRIDE_HIGHEST_AVAILABLE,
REFRESH_RATE_OVERRIDE_LOW_LATENCY_RR_MASK,
};
EValues_SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE g_valuesSET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE[SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_NUM_VALUES] =
{
SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_OFF,
SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_ON,
};
EValues_SET_VAB_DATA g_valuesSET_VAB_DATA[SET_VAB_DATA_NUM_VALUES] =
{
SET_VAB_DATA_ZERO,
SET_VAB_DATA_UINT_ONE,
SET_VAB_DATA_FLOAT_ONE,
SET_VAB_DATA_FLOAT_POS_INF,
SET_VAB_DATA_FLOAT_NAN,
SET_VAB_DATA_USE_API_DEFAULTS,
};
EValues_VSYNCMODE g_valuesVSYNCMODE[VSYNCMODE_NUM_VALUES] =
{
VSYNCMODE_PASSIVE,
VSYNCMODE_FORCEOFF,
VSYNCMODE_FORCEON,
VSYNCMODE_FLIPINTERVAL2,
VSYNCMODE_FLIPINTERVAL3,
VSYNCMODE_FLIPINTERVAL4,
VSYNCMODE_VIRTUAL,
};
EValues_VSYNCTEARCONTROL g_valuesVSYNCTEARCONTROL[VSYNCTEARCONTROL_NUM_VALUES] =
{
VSYNCTEARCONTROL_DISABLE,
VSYNCTEARCONTROL_ENABLE,
};
SettingDWORDNameString mapSettingDWORD[TOTAL_DWORD_SETTING_NUM] =
{
{OGL_AA_LINE_GAMMA_ID, OGL_AA_LINE_GAMMA_STRING, 4, (NvU32 *)g_valuesOGL_AA_LINE_GAMMA, OGL_AA_LINE_GAMMA_DISABLED},
{OGL_CPL_GDI_COMPATIBILITY_ID, OGL_CPL_GDI_COMPATIBILITY_STRING, 3, (NvU32 *)g_valuesOGL_CPL_GDI_COMPATIBILITY, OGL_CPL_GDI_COMPATIBILITY_AUTO},
{OGL_CPL_PREFER_DXPRESENT_ID, OGL_CPL_PREFER_DXPRESENT_STRING, 3, (NvU32 *)g_valuesOGL_CPL_PREFER_DXPRESENT, OGL_CPL_PREFER_DXPRESENT_AUTO},
{OGL_DEEP_COLOR_SCANOUT_ID, OGL_DEEP_COLOR_SCANOUT_STRING, 2, (NvU32 *)g_valuesOGL_DEEP_COLOR_SCANOUT, OGL_DEEP_COLOR_SCANOUT_ENABLE},
{OGL_DEFAULT_SWAP_INTERVAL_ID, OGL_DEFAULT_SWAP_INTERVAL_STRING, 9, (NvU32 *)g_valuesOGL_DEFAULT_SWAP_INTERVAL, OGL_DEFAULT_SWAP_INTERVAL_VSYNC_ONE},
{OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_ID, OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_STRING, 2, (NvU32 *)g_valuesOGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL, 0x00000000},
{OGL_DEFAULT_SWAP_INTERVAL_SIGN_ID, OGL_DEFAULT_SWAP_INTERVAL_SIGN_STRING, 2, (NvU32 *)g_valuesOGL_DEFAULT_SWAP_INTERVAL_SIGN, OGL_DEFAULT_SWAP_INTERVAL_SIGN_POSITIVE},
{OGL_EVENT_LOG_SEVERITY_THRESHOLD_ID, OGL_EVENT_LOG_SEVERITY_THRESHOLD_STRING, 5, (NvU32 *)g_valuesOGL_EVENT_LOG_SEVERITY_THRESHOLD, OGL_EVENT_LOG_SEVERITY_THRESHOLD_ALL},
{OGL_EXTENSION_STRING_VERSION_ID, OGL_EXTENSION_STRING_VERSION_STRING, 0, NULL, 0x00000000},
{OGL_FORCE_BLIT_ID, OGL_FORCE_BLIT_STRING, 2, (NvU32 *)g_valuesOGL_FORCE_BLIT, OGL_FORCE_BLIT_OFF},
{OGL_FORCE_STEREO_ID, OGL_FORCE_STEREO_STRING, 2, (NvU32 *)g_valuesOGL_FORCE_STEREO, OGL_FORCE_STEREO_OFF},
{OGL_MAX_FRAMES_ALLOWED_ID, OGL_MAX_FRAMES_ALLOWED_STRING, 0, NULL, 0x00000002},
{OGL_OVERLAY_PIXEL_TYPE_ID, OGL_OVERLAY_PIXEL_TYPE_STRING, 4, (NvU32 *)g_valuesOGL_OVERLAY_PIXEL_TYPE, OGL_OVERLAY_PIXEL_TYPE_CI},
{OGL_OVERLAY_SUPPORT_ID, OGL_OVERLAY_SUPPORT_STRING, 3, (NvU32 *)g_valuesOGL_OVERLAY_SUPPORT, OGL_OVERLAY_SUPPORT_OFF},
{OGL_QUALITY_ENHANCEMENTS_ID, OGL_QUALITY_ENHANCEMENTS_STRING, 4, (NvU32 *)g_valuesOGL_QUALITY_ENHANCEMENTS, OGL_QUALITY_ENHANCEMENTS_QUAL},
{OGL_SINGLE_BACKDEPTH_BUFFER_ID, OGL_SINGLE_BACKDEPTH_BUFFER_STRING, 3, (NvU32 *)g_valuesOGL_SINGLE_BACKDEPTH_BUFFER, OGL_SINGLE_BACKDEPTH_BUFFER_DISABLE},
{OGL_SLI_CFR_MODE_ID, OGL_SLI_CFR_MODE_STRING, 3, (NvU32 *)g_valuesOGL_SLI_CFR_MODE, OGL_SLI_CFR_MODE_DISABLE},
{OGL_SLI_MULTICAST_ID, OGL_SLI_MULTICAST_STRING, 4, (NvU32 *)g_valuesOGL_SLI_MULTICAST, OGL_SLI_MULTICAST_DISABLE},
{OGL_THREAD_CONTROL_ID, OGL_THREAD_CONTROL_STRING, 2, (NvU32 *)g_valuesOGL_THREAD_CONTROL, 0x00000000},
{OGL_TMON_LEVEL_ID, OGL_TMON_LEVEL_STRING, 6, (NvU32 *)g_valuesOGL_TMON_LEVEL, OGL_TMON_LEVEL_MOST},
{OGL_TRIPLE_BUFFER_ID, OGL_TRIPLE_BUFFER_STRING, 2, (NvU32 *)g_valuesOGL_TRIPLE_BUFFER, OGL_TRIPLE_BUFFER_DISABLED},
{AA_BEHAVIOR_FLAGS_ID, AA_BEHAVIOR_FLAGS_STRING, 18, (NvU32 *)g_valuesAA_BEHAVIOR_FLAGS, AA_BEHAVIOR_FLAGS_DEFAULT},
{AA_MODE_ALPHATOCOVERAGE_ID, AA_MODE_ALPHATOCOVERAGE_STRING, 4, (NvU32 *)g_valuesAA_MODE_ALPHATOCOVERAGE, 0x00000000},
{AA_MODE_GAMMACORRECTION_ID, AA_MODE_GAMMACORRECTION_STRING, 8, (NvU32 *)g_valuesAA_MODE_GAMMACORRECTION, 0x00000000},
{AA_MODE_METHOD_ID, AA_MODE_METHOD_STRING, 50, (NvU32 *)g_valuesAA_MODE_METHOD, AA_MODE_METHOD_NONE},
{AA_MODE_REPLAY_ID, AA_MODE_REPLAY_STRING, 20, (NvU32 *)g_valuesAA_MODE_REPLAY, 0x00000000},
{AA_MODE_SELECTOR_ID, AA_MODE_SELECTOR_STRING, 5, (NvU32 *)g_valuesAA_MODE_SELECTOR, AA_MODE_SELECTOR_APP_CONTROL},
{AA_MODE_SELECTOR_SLIAA_ID, AA_MODE_SELECTOR_SLIAA_STRING, 2, (NvU32 *)g_valuesAA_MODE_SELECTOR_SLIAA, AA_MODE_SELECTOR_SLIAA_DISABLED},
{ANISO_MODE_LEVEL_ID, ANISO_MODE_LEVEL_STRING, 5, (NvU32 *)g_valuesANISO_MODE_LEVEL, ANISO_MODE_LEVEL_DEFAULT},
{ANISO_MODE_SELECTOR_ID, ANISO_MODE_SELECTOR_STRING, 6, (NvU32 *)g_valuesANISO_MODE_SELECTOR, ANISO_MODE_SELECTOR_DEFAULT},
{ANSEL_ALLOW_ID, ANSEL_ALLOW_STRING, 2, (NvU32 *)g_valuesANSEL_ALLOW, ANSEL_ALLOW_ALLOWED},
{ANSEL_ALLOWLISTED_ID, ANSEL_ALLOWLISTED_STRING, 2, (NvU32 *)g_valuesANSEL_ALLOWLISTED, ANSEL_ALLOWLISTED_DISALLOWED},
{ANSEL_ENABLE_ID, ANSEL_ENABLE_STRING, 2, (NvU32 *)g_valuesANSEL_ENABLE, ANSEL_ENABLE_ON},
{APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_ID, APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_STRING, 6, (NvU32 *)g_valuesAPPLICATION_PROFILE_NOTIFICATION_TIMEOUT, APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_DISABLED},
{APPLICATION_STEAM_ID_ID, APPLICATION_STEAM_ID_STRING, 0, NULL, 0x00000000},
{BATTERY_BOOST_APP_FPS_ID, BATTERY_BOOST_APP_FPS_STRING, 3, (NvU32 *)g_valuesBATTERY_BOOST_APP_FPS, BATTERY_BOOST_APP_FPS_NO_OVERRIDE},
{CPL_HIDDEN_PROFILE_ID, CPL_HIDDEN_PROFILE_STRING, 2, (NvU32 *)g_valuesCPL_HIDDEN_PROFILE, CPL_HIDDEN_PROFILE_DISABLED},
{EXPORT_PERF_COUNTERS_ID, EXPORT_PERF_COUNTERS_STRING, 2, (NvU32 *)g_valuesEXPORT_PERF_COUNTERS, EXPORT_PERF_COUNTERS_OFF},
{EXTERNAL_QUIET_MODE_ID, EXTERNAL_QUIET_MODE_STRING, 2, (NvU32 *)g_valuesEXTERNAL_QUIET_MODE, EXTERNAL_QUIET_MODE_OFF},
{FRL_FPS_ID, FRL_FPS_STRING, 3, (NvU32 *)g_valuesFRL_FPS, FRL_FPS_DISABLED},
{FXAA_ALLOW_ID, FXAA_ALLOW_STRING, 2, (NvU32 *)g_valuesFXAA_ALLOW, FXAA_ALLOW_ALLOWED},
{FXAA_ENABLE_ID, FXAA_ENABLE_STRING, 2, (NvU32 *)g_valuesFXAA_ENABLE, FXAA_ENABLE_OFF},
{FXAA_INDICATOR_ENABLE_ID, FXAA_INDICATOR_ENABLE_STRING, 2, (NvU32 *)g_valuesFXAA_INDICATOR_ENABLE, FXAA_INDICATOR_ENABLE_OFF},
{LATENCY_INDICATOR_AUTOALIGN_ID, LATENCY_INDICATOR_AUTOALIGN_STRING, 2, (NvU32 *)g_valuesLATENCY_INDICATOR_AUTOALIGN, LATENCY_INDICATOR_AUTOALIGN_ENABLED},
{MCSFRSHOWSPLIT_ID, MCSFRSHOWSPLIT_STRING, 2, (NvU32 *)g_valuesMCSFRSHOWSPLIT, MCSFRSHOWSPLIT_DISABLED},
{NV_QUALITY_UPSCALING_ID, NV_QUALITY_UPSCALING_STRING, 2, (NvU32 *)g_valuesNV_QUALITY_UPSCALING, NV_QUALITY_UPSCALING_OFF},
{OPTIMUS_MAXAA_ID, OPTIMUS_MAXAA_STRING, 2, (NvU32 *)g_valuesOPTIMUS_MAXAA, 0x00000000},
{PHYSXINDICATOR_ID, PHYSXINDICATOR_STRING, 2, (NvU32 *)g_valuesPHYSXINDICATOR, PHYSXINDICATOR_DISABLED},
{PREFERRED_PSTATE_ID, PREFERRED_PSTATE_STRING, 8, (NvU32 *)g_valuesPREFERRED_PSTATE, PREFERRED_PSTATE_OPTIMAL_POWER},
{PREVENT_UI_AF_OVERRIDE_ID, PREVENT_UI_AF_OVERRIDE_STRING, 2, (NvU32 *)g_valuesPREVENT_UI_AF_OVERRIDE, PREVENT_UI_AF_OVERRIDE_OFF},
{SHIM_MAXRES_ID, SHIM_MAXRES_STRING, 0, NULL, 0x00000000},
{SHIM_MCCOMPAT_ID, SHIM_MCCOMPAT_STRING, 8, (NvU32 *)g_valuesSHIM_MCCOMPAT, SHIM_MCCOMPAT_AUTO_SELECT},
{SHIM_RENDERING_MODE_ID, SHIM_RENDERING_MODE_STRING, 8, (NvU32 *)g_valuesSHIM_RENDERING_MODE, SHIM_RENDERING_MODE_AUTO_SELECT},
{SHIM_RENDERING_OPTIONS_ID, SHIM_RENDERING_OPTIONS_STRING, 28, (NvU32 *)g_valuesSHIM_RENDERING_OPTIONS, 0x00000000},
{SLI_GPU_COUNT_ID, SLI_GPU_COUNT_STRING, 5, (NvU32 *)g_valuesSLI_GPU_COUNT, SLI_GPU_COUNT_AUTOSELECT},
{SLI_PREDEFINED_GPU_COUNT_ID, SLI_PREDEFINED_GPU_COUNT_STRING, 5, (NvU32 *)g_valuesSLI_PREDEFINED_GPU_COUNT, SLI_PREDEFINED_GPU_COUNT_AUTOSELECT},
{SLI_PREDEFINED_GPU_COUNT_DX10_ID, SLI_PREDEFINED_GPU_COUNT_DX10_STRING, 5, (NvU32 *)g_valuesSLI_PREDEFINED_GPU_COUNT_DX10, SLI_PREDEFINED_GPU_COUNT_DX10_AUTOSELECT},
{SLI_PREDEFINED_MODE_ID, SLI_PREDEFINED_MODE_STRING, 6, (NvU32 *)g_valuesSLI_PREDEFINED_MODE, SLI_PREDEFINED_MODE_AUTOSELECT},
{SLI_PREDEFINED_MODE_DX10_ID, SLI_PREDEFINED_MODE_DX10_STRING, 6, (NvU32 *)g_valuesSLI_PREDEFINED_MODE_DX10, SLI_PREDEFINED_MODE_DX10_AUTOSELECT},
{SLI_RENDERING_MODE_ID, SLI_RENDERING_MODE_STRING, 6, (NvU32 *)g_valuesSLI_RENDERING_MODE, SLI_RENDERING_MODE_AUTOSELECT},
{VRPRERENDERLIMIT_ID, VRPRERENDERLIMIT_STRING, 4, (NvU32 *)g_valuesVRPRERENDERLIMIT, VRPRERENDERLIMIT_DEFAULT},
{VRRFEATUREINDICATOR_ID, VRRFEATUREINDICATOR_STRING, 2, (NvU32 *)g_valuesVRRFEATUREINDICATOR, VRRFEATUREINDICATOR_ENABLED},
{VRROVERLAYINDICATOR_ID, VRROVERLAYINDICATOR_STRING, 2, (NvU32 *)g_valuesVRROVERLAYINDICATOR, VRROVERLAYINDICATOR_ENABLED},
{VRRREQUESTSTATE_ID, VRRREQUESTSTATE_STRING, 3, (NvU32 *)g_valuesVRRREQUESTSTATE, VRRREQUESTSTATE_FULLSCREEN_ONLY},
{VRR_APP_OVERRIDE_ID, VRR_APP_OVERRIDE_STRING, 5, (NvU32 *)g_valuesVRR_APP_OVERRIDE, VRR_APP_OVERRIDE_ALLOW},
{VRR_APP_OVERRIDE_REQUEST_STATE_ID, VRR_APP_OVERRIDE_REQUEST_STATE_STRING, 5, (NvU32 *)g_valuesVRR_APP_OVERRIDE_REQUEST_STATE, VRR_APP_OVERRIDE_REQUEST_STATE_ALLOW},
{VRR_MODE_ID, VRR_MODE_STRING, 3, (NvU32 *)g_valuesVRR_MODE, VRR_MODE_FULLSCREEN_ONLY},
{VSYNCSMOOTHAFR_ID, VSYNCSMOOTHAFR_STRING, 2, (NvU32 *)g_valuesVSYNCSMOOTHAFR, VSYNCSMOOTHAFR_OFF},
{VSYNCVRRCONTROL_ID, VSYNCVRRCONTROL_STRING, 3, (NvU32 *)g_valuesVSYNCVRRCONTROL, VSYNCVRRCONTROL_ENABLE},
{VSYNC_BEHAVIOR_FLAGS_ID, VSYNC_BEHAVIOR_FLAGS_STRING, 3, (NvU32 *)g_valuesVSYNC_BEHAVIOR_FLAGS, VSYNC_BEHAVIOR_FLAGS_DEFAULT},
{WKS_API_STEREO_EYES_EXCHANGE_ID, WKS_API_STEREO_EYES_EXCHANGE_STRING, 2, (NvU32 *)g_valuesWKS_API_STEREO_EYES_EXCHANGE, WKS_API_STEREO_EYES_EXCHANGE_OFF},
{WKS_API_STEREO_MODE_ID, WKS_API_STEREO_MODE_STRING, 25, (NvU32 *)g_valuesWKS_API_STEREO_MODE, WKS_API_STEREO_MODE_SHUTTER_GLASSES},
{WKS_MEMORY_ALLOCATION_POLICY_ID, WKS_MEMORY_ALLOCATION_POLICY_STRING, 3, (NvU32 *)g_valuesWKS_MEMORY_ALLOCATION_POLICY, WKS_MEMORY_ALLOCATION_POLICY_AS_NEEDED},
{WKS_STEREO_DONGLE_SUPPORT_ID, WKS_STEREO_DONGLE_SUPPORT_STRING, 3, (NvU32 *)g_valuesWKS_STEREO_DONGLE_SUPPORT, WKS_STEREO_DONGLE_SUPPORT_DAC},
{WKS_STEREO_SUPPORT_ID, WKS_STEREO_SUPPORT_STRING, 2, (NvU32 *)g_valuesWKS_STEREO_SUPPORT, WKS_STEREO_SUPPORT_OFF},
{WKS_STEREO_SWAP_MODE_ID, WKS_STEREO_SWAP_MODE_STRING, 5, (NvU32 *)g_valuesWKS_STEREO_SWAP_MODE, WKS_STEREO_SWAP_MODE_APPLICATION_CONTROL},
{AO_MODE_ID, AO_MODE_STRING, 4, (NvU32 *)g_valuesAO_MODE, AO_MODE_OFF},
{AO_MODE_ACTIVE_ID, AO_MODE_ACTIVE_STRING, 2, (NvU32 *)g_valuesAO_MODE_ACTIVE, AO_MODE_ACTIVE_DISABLED},
{AUTO_LODBIASADJUST_ID, AUTO_LODBIASADJUST_STRING, 2, (NvU32 *)g_valuesAUTO_LODBIASADJUST, AUTO_LODBIASADJUST_ON},
{EXPORT_PERF_COUNTERS_DX9_ONLY_ID, EXPORT_PERF_COUNTERS_DX9_ONLY_STRING, 2, (NvU32 *)g_valuesEXPORT_PERF_COUNTERS_DX9_ONLY, EXPORT_PERF_COUNTERS_DX9_ONLY_OFF},
{LODBIASADJUST_ID, LODBIASADJUST_STRING, 2, (NvU32 *)g_valuesLODBIASADJUST, 0x00000000},
{MAXWELL_B_SAMPLE_INTERLEAVE_ID, MAXWELL_B_SAMPLE_INTERLEAVE_STRING, 2, (NvU32 *)g_valuesMAXWELL_B_SAMPLE_INTERLEAVE, MAXWELL_B_SAMPLE_INTERLEAVE_OFF},
{PRERENDERLIMIT_ID, PRERENDERLIMIT_STRING, 3, (NvU32 *)g_valuesPRERENDERLIMIT, PRERENDERLIMIT_APP_CONTROLLED},
{PS_SHADERDISKCACHE_ID, PS_SHADERDISKCACHE_STRING, 2, (NvU32 *)g_valuesPS_SHADERDISKCACHE, PS_SHADERDISKCACHE_ON},
{PS_SHADERDISKCACHE_MAX_SIZE_ID, PS_SHADERDISKCACHE_MAX_SIZE_STRING, 2, (NvU32 *)g_valuesPS_SHADERDISKCACHE_MAX_SIZE, 0x00000000},
{PS_TEXFILTER_ANISO_OPTS2_ID, PS_TEXFILTER_ANISO_OPTS2_STRING, 2, (NvU32 *)g_valuesPS_TEXFILTER_ANISO_OPTS2, PS_TEXFILTER_ANISO_OPTS2_OFF},
{PS_TEXFILTER_BILINEAR_IN_ANISO_ID, PS_TEXFILTER_BILINEAR_IN_ANISO_STRING, 2, (NvU32 *)g_valuesPS_TEXFILTER_BILINEAR_IN_ANISO, PS_TEXFILTER_BILINEAR_IN_ANISO_OFF},
{PS_TEXFILTER_DISABLE_TRILIN_SLOPE_ID, PS_TEXFILTER_DISABLE_TRILIN_SLOPE_STRING, 2, (NvU32 *)g_valuesPS_TEXFILTER_DISABLE_TRILIN_SLOPE, PS_TEXFILTER_DISABLE_TRILIN_SLOPE_OFF},
{PS_TEXFILTER_NO_NEG_LODBIAS_ID, PS_TEXFILTER_NO_NEG_LODBIAS_STRING, 2, (NvU32 *)g_valuesPS_TEXFILTER_NO_NEG_LODBIAS, PS_TEXFILTER_NO_NEG_LODBIAS_OFF},
{QUALITY_ENHANCEMENTS_ID, QUALITY_ENHANCEMENTS_STRING, 4, (NvU32 *)g_valuesQUALITY_ENHANCEMENTS, QUALITY_ENHANCEMENTS_QUALITY},
{QUALITY_ENHANCEMENT_SUBSTITUTION_ID, QUALITY_ENHANCEMENT_SUBSTITUTION_STRING, 2, (NvU32 *)g_valuesQUALITY_ENHANCEMENT_SUBSTITUTION, QUALITY_ENHANCEMENT_SUBSTITUTION_NO_SUBSTITUTION},
{REFRESH_RATE_OVERRIDE_ID, REFRESH_RATE_OVERRIDE_STRING, 3, (NvU32 *)g_valuesREFRESH_RATE_OVERRIDE, REFRESH_RATE_OVERRIDE_APPLICATION_CONTROLLED},
{SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_ID, SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_STRING, 2, (NvU32 *)g_valuesSET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE, SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_OFF},
{SET_VAB_DATA_ID, SET_VAB_DATA_STRING, 6, (NvU32 *)g_valuesSET_VAB_DATA, SET_VAB_DATA_USE_API_DEFAULTS},
{VSYNCMODE_ID, VSYNCMODE_STRING, 7, (NvU32 *)g_valuesVSYNCMODE, VSYNCMODE_PASSIVE},
{VSYNCTEARCONTROL_ID, VSYNCTEARCONTROL_STRING, 2, (NvU32 *)g_valuesVSYNCTEARCONTROL, VSYNCTEARCONTROL_DISABLE},
};
SettingWSTRINGNameString mapSettingWSTRING[TOTAL_WSTRING_SETTING_NUM] =
{
{OGL_IMPLICIT_GPU_AFFINITY_ID, OGL_IMPLICIT_GPU_AFFINITY_STRING, 1, (const wchar_t **)g_valuesOGL_IMPLICIT_GPU_AFFINITY, L"autoselect"},
{CUDA_EXCLUDED_GPUS_ID, CUDA_EXCLUDED_GPUS_STRING, 1, (const wchar_t **)g_valuesCUDA_EXCLUDED_GPUS, L"none"},
{D3DOGL_GPU_MAX_POWER_ID, D3DOGL_GPU_MAX_POWER_STRING, 1, (const wchar_t **)g_valuesD3DOGL_GPU_MAX_POWER, L"0"},
{ICAFE_LOGO_CONFIG_ID, ICAFE_LOGO_CONFIG_STRING, 0, NULL, L""},
};

File diff suppressed because it is too large Load Diff

25148
third-party/nvapi-opensource/nvapi.h vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,490 @@
/*****************************************************************************\
|* *|
|* Copyright (c) 2019-2022, NVIDIA CORPORATION. All rights reserved. *|
|* *|
|* Permission is hereby granted, free of charge, to any person obtaining a *|
|* 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 *|
|* 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 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 OTHER *|
|* DEALINGS IN THE SOFTWARE. *|
|* *|
|* *|
\*****************************************************************************/
#ifndef _NVAPI_INTERFACE_H
#define _NVAPI_INTERFACE_H
struct NVAPI_INTERFACE_TABLE { const char * func; unsigned int id; };
struct NVAPI_INTERFACE_TABLE nvapi_interface_table[] =
{
{ "NvAPI_Initialize", 0x0150e828 },
{ "NvAPI_Unload", 0xd22bdd7e },
{ "NvAPI_GetErrorMessage", 0x6c2d048c },
{ "NvAPI_GetInterfaceVersionString", 0x01053fa5 },
{ "NvAPI_GPU_GetEDID", 0x37d32e69 },
{ "NvAPI_SetView", 0x0957d7b6 },
{ "NvAPI_SetViewEx", 0x06b89e68 },
{ "NvAPI_GetDisplayDriverVersion", 0xf951a4d1 },
{ "NvAPI_SYS_GetDriverAndBranchVersion", 0x2926aaad },
{ "NvAPI_GPU_GetMemoryInfo", 0x07f9b368 },
{ "NvAPI_GPU_GetMemoryInfoEx", 0xc0599498 },
{ "NvAPI_OGL_ExpertModeSet", 0x3805ef7a },
{ "NvAPI_OGL_ExpertModeGet", 0x22ed9516 },
{ "NvAPI_OGL_ExpertModeDefaultsSet", 0xb47a657e },
{ "NvAPI_OGL_ExpertModeDefaultsGet", 0xae921f12 },
{ "NvAPI_EnumPhysicalGPUs", 0xe5ac921f },
{ "NvAPI_EnumTCCPhysicalGPUs", 0xd9930b07 },
{ "NvAPI_EnumLogicalGPUs", 0x48b3ea59 },
{ "NvAPI_GetPhysicalGPUsFromDisplay", 0x34ef9506 },
{ "NvAPI_GetPhysicalGPUFromUnAttachedDisplay", 0x5018ed61 },
{ "NvAPI_GetLogicalGPUFromDisplay", 0xee1370cf },
{ "NvAPI_GetLogicalGPUFromPhysicalGPU", 0xadd604d1 },
{ "NvAPI_GetPhysicalGPUsFromLogicalGPU", 0xaea3fa32 },
{ "NvAPI_GetPhysicalGPUFromGPUID", 0x5380ad1a },
{ "NvAPI_GetGPUIDfromPhysicalGPU", 0x6533ea3e },
{ "NvAPI_GPU_GetShaderSubPipeCount", 0x0be17923 },
{ "NvAPI_GPU_GetGpuCoreCount", 0xc7026a87 },
{ "NvAPI_GPU_GetAllOutputs", 0x7d554f8e },
{ "NvAPI_GPU_GetConnectedOutputs", 0x1730bfc9 },
{ "NvAPI_GPU_GetConnectedSLIOutputs", 0x0680de09 },
{ "NvAPI_GPU_GetConnectedDisplayIds", 0x0078dba2 },
{ "NvAPI_GPU_GetAllDisplayIds", 0x785210a2 },
{ "NvAPI_GPU_GetConnectedOutputsWithLidState", 0xcf8caf39 },
{ "NvAPI_GPU_GetConnectedSLIOutputsWithLidState", 0x96043cc7 },
{ "NvAPI_GPU_GetSystemType", 0xbaaabfcc },
{ "NvAPI_GPU_GetActiveOutputs", 0xe3e89b6f },
{ "NvAPI_GPU_SetEDID", 0xe83d6456 },
{ "NvAPI_GPU_GetOutputType", 0x40a505e4 },
{ "NvAPI_GPU_ValidateOutputCombination", 0x34c9c2d4 },
{ "NvAPI_GPU_GetFullName", 0xceee8e9f },
{ "NvAPI_GPU_GetPCIIdentifiers", 0x2ddfb66e },
{ "NvAPI_GPU_GetGPUType", 0xc33baeb1 },
{ "NvAPI_GPU_GetBusType", 0x1bb18724 },
{ "NvAPI_GPU_GetBusId", 0x1be0b8e5 },
{ "NvAPI_GPU_GetBusSlotId", 0x2a0a350f },
{ "NvAPI_GPU_GetIRQ", 0xe4715417 },
{ "NvAPI_GPU_GetVbiosRevision", 0xacc3da0a },
{ "NvAPI_GPU_GetVbiosOEMRevision", 0x2d43fb31 },
{ "NvAPI_GPU_GetVbiosVersionString", 0xa561fd7d },
{ "NvAPI_GPU_GetAGPAperture", 0x6e042794 },
{ "NvAPI_GPU_GetCurrentAGPRate", 0xc74925a0 },
{ "NvAPI_GPU_GetCurrentPCIEDownstreamWidth", 0xd048c3b1 },
{ "NvAPI_GPU_GetPhysicalFrameBufferSize", 0x46fbeb03 },
{ "NvAPI_GPU_GetVirtualFrameBufferSize", 0x5a04b644 },
{ "NvAPI_GPU_GetQuadroStatus", 0xe332fa47 },
{ "NvAPI_GPU_GetBoardInfo", 0x22d54523 },
{ "NvAPI_GPU_GetRamBusWidth", 0x7975c581 },
{ "NvAPI_GPU_GetArchInfo", 0xd8265d24 },
{ "NvAPI_I2CRead", 0x2fde12c5 },
{ "NvAPI_I2CWrite", 0xe812eb07 },
{ "NvAPI_GPU_WorkstationFeatureSetup", 0x6c1f3fe4 },
{ "NvAPI_GPU_WorkstationFeatureQuery", 0x004537df },
{ "NvAPI_GPU_GetHDCPSupportStatus", 0xf089eef5 },
{ "NvAPI_GPU_CudaEnumComputeCapableGpus", 0x5786cc6e },
{ "NvAPI_GPU_GetTachReading", 0x5f608315 },
{ "NvAPI_GPU_GetECCStatusInfo", 0xca1ddaf3 },
{ "NvAPI_GPU_GetECCErrorInfo", 0xc71f85a6 },
{ "NvAPI_GPU_ResetECCErrorInfo", 0xc02eec20 },
{ "NvAPI_GPU_GetECCConfigurationInfo", 0x77a796f3 },
{ "NvAPI_GPU_SetECCConfiguration", 0x1cf639d9 },
{ "NvAPI_GPU_QueryWorkstationFeatureSupport", 0x80b1abb9 },
{ "NvAPI_GPU_SetScanoutIntensity", 0xa57457a4 },
{ "NvAPI_GPU_GetScanoutIntensityState", 0xe81ce836 },
{ "NvAPI_GPU_SetScanoutWarping", 0xb34bab4f },
{ "NvAPI_GPU_GetScanoutWarpingState", 0x6f5435af },
{ "NvAPI_GPU_SetScanoutCompositionParameter", 0xf898247d },
{ "NvAPI_GPU_GetScanoutCompositionParameter", 0x58fe51e6 },
{ "NvAPI_GPU_GetScanoutConfiguration", 0x6a9f5b63 },
{ "NvAPI_GPU_GetScanoutConfigurationEx", 0xe2e1e6f0 },
{ "NvAPI_GPU_GetAdapterIdFromPhysicalGpu", 0x0ff07fde },
{ "NvAPI_GPU_GetVirtualizationInfo", 0x44e022a9 },
{ "NvAPI_GPU_GetLogicalGpuInfo", 0x842b066e },
{ "NvAPI_GPU_GetLicensableFeatures", 0x3fc596aa },
{ "NvAPI_GPU_GetVRReadyData", 0x81d629c5 },
{ "NvAPI_GPU_GetPerfDecreaseInfo", 0x7f7f4600 },
{ "NvAPI_GPU_GetPstatesInfoEx", 0x843c0256 },
{ "NvAPI_GPU_GetPstates20", 0x6ff81213 },
{ "NvAPI_GPU_GetCurrentPstate", 0x927da4f6 },
{ "NvAPI_GPU_GetDynamicPstatesInfoEx", 0x60ded2ed },
{ "NvAPI_GPU_GetThermalSettings", 0xe3640a56 },
{ "NvAPI_GPU_GetAllClockFrequencies", 0xdcb616c3 },
{ "NvAPI_GPU_QueryIlluminationSupport", 0xa629da31 },
{ "NvAPI_GPU_GetIllumination", 0x9a1b9365 },
{ "NvAPI_GPU_SetIllumination", 0x0254a187 },
{ "NvAPI_GPU_ClientIllumDevicesGetInfo", 0xd4100e58 },
{ "NvAPI_GPU_ClientIllumDevicesGetControl", 0x73c01d58 },
{ "NvAPI_GPU_ClientIllumDevicesSetControl", 0x57024c62 },
{ "NvAPI_GPU_ClientIllumZonesGetInfo", 0x4b81241b },
{ "NvAPI_GPU_ClientIllumZonesGetControl", 0x3dbf5764 },
{ "NvAPI_GPU_ClientIllumZonesSetControl", 0x197d065e },
{ "NvAPI_Event_RegisterCallback", 0xe6dbea69 },
{ "NvAPI_Event_UnregisterCallback", 0xde1f9b45 },
{ "NvAPI_EnumNvidiaDisplayHandle", 0x9abdd40d },
{ "NvAPI_EnumNvidiaUnAttachedDisplayHandle", 0x20de9260 },
{ "NvAPI_CreateDisplayFromUnAttachedDisplay", 0x63f9799e },
{ "NvAPI_GetAssociatedNvidiaDisplayHandle", 0x35c29134 },
{ "NvAPI_DISP_GetAssociatedUnAttachedNvidiaDisplayHandle", 0xa70503b2 },
{ "NvAPI_GetAssociatedNvidiaDisplayName", 0x22a78b05 },
{ "NvAPI_GetUnAttachedAssociatedDisplayName", 0x4888d790 },
{ "NvAPI_EnableHWCursor", 0x2863148d },
{ "NvAPI_DisableHWCursor", 0xab163097 },
{ "NvAPI_GetVBlankCounter", 0x67b5db55 },
{ "NvAPI_SetRefreshRateOverride", 0x3092ac32 },
{ "NvAPI_GetAssociatedDisplayOutputId", 0xd995937e },
{ "NvAPI_GetDisplayPortInfo", 0xc64ff367 },
{ "NvAPI_SetDisplayPort", 0xfa13e65a },
{ "NvAPI_GetHDMISupportInfo", 0x6ae16ec3 },
{ "NvAPI_Disp_InfoFrameControl", 0x6067af3f },
{ "NvAPI_Disp_ColorControl", 0x92f9d80d },
{ "NvAPI_Disp_GetHdrCapabilities", 0x84f2a8df },
{ "NvAPI_Disp_HdrColorControl", 0x351da224 },
{ "NvAPI_Disp_SetSourceColorSpace", 0x473b6caf },
{ "NvAPI_Disp_GetSourceColorSpace", 0xceedc85b },
{ "NvAPI_Disp_SetSourceHdrMetadata", 0x905eb63b },
{ "NvAPI_Disp_GetSourceHdrMetadata", 0x0d3f52da },
{ "NvAPI_Disp_SetOutputMode", 0x98e7661a },
{ "NvAPI_Disp_GetOutputMode", 0x81fed88d },
{ "NvAPI_Disp_SetHdrToneMapping", 0xdd6da362 },
{ "NvAPI_Disp_GetHdrToneMapping", 0xfbd36e71 },
{ "NvAPI_DISP_GetTiming", 0x175167e9 },
{ "NvAPI_DISP_GetMonitorCapabilities", 0x3b05c7e1 },
{ "NvAPI_DISP_GetMonitorColorCapabilities", 0x6ae4cfb5 },
{ "NvAPI_DISP_EnumCustomDisplay", 0xa2072d59 },
{ "NvAPI_DISP_TryCustomDisplay", 0x1f7db630 },
{ "NvAPI_DISP_DeleteCustomDisplay", 0x552e5b9b },
{ "NvAPI_DISP_SaveCustomDisplay", 0x49882876 },
{ "NvAPI_DISP_RevertCustomDisplayTrial", 0xcbbd40f0 },
{ "NvAPI_GetView", 0xd6b99d89 },
{ "NvAPI_GetViewEx", 0xdbbc0af4 },
{ "NvAPI_GetSupportedViews", 0x66fb7fc0 },
{ "NvAPI_DISP_GetDisplayIdByDisplayName", 0xae457190 },
{ "NvAPI_DISP_GetGDIPrimaryDisplayId", 0x1e9d8a31 },
{ "NvAPI_DISP_GetDisplayConfig", 0x11abccf8 },
{ "NvAPI_DISP_SetDisplayConfig", 0x5d8cf8de },
{ "NvAPI_DISP_GetAdaptiveSyncData", 0xb73d1ee9 },
{ "NvAPI_DISP_SetAdaptiveSyncData", 0x3eebba1d },
{ "NvAPI_DISP_GetVirtualRefreshRateData", 0x8c00429a },
{ "NvAPI_DISP_SetVirtualRefreshRateData", 0x5abbe6a3 },
{ "NvAPI_DISP_SetPreferredStereoDisplay", 0xc9d0e25f },
{ "NvAPI_DISP_GetPreferredStereoDisplay", 0x1f6b4666 },
{ "NvAPI_DISP_GetNvManagedDedicatedDisplays", 0xdbdf0cb2 },
{ "NvAPI_DISP_AcquireDedicatedDisplay", 0x47c917ba },
{ "NvAPI_DISP_ReleaseDedicatedDisplay", 0x1247825f },
{ "NvAPI_Disp_GetDisplayIdInfo", 0xbae8aa5e },
{ "NvAPI_Disp_GetDisplayIdsFromTarget", 0xe7e5f89e },
{ "NvAPI_Disp_GetVRRInfo", 0xdf8fda57 },
{ "NvAPI_Mosaic_GetSupportedTopoInfo", 0xfdb63c81 },
{ "NvAPI_Mosaic_GetTopoGroup", 0xcb89381d },
{ "NvAPI_Mosaic_GetOverlapLimits", 0x989685f0 },
{ "NvAPI_Mosaic_SetCurrentTopo", 0x9b542831 },
{ "NvAPI_Mosaic_GetCurrentTopo", 0xec32944e },
{ "NvAPI_Mosaic_EnableCurrentTopo", 0x5f1aa66c },
{ "NvAPI_Mosaic_GetDisplayViewportsByResolution", 0xdc6dc8d3 },
{ "NvAPI_Mosaic_SetDisplayGrids", 0x4d959a89 },
{ "NvAPI_Mosaic_ValidateDisplayGrids", 0xcf43903d },
{ "NvAPI_Mosaic_EnumDisplayModes", 0x78db97d7 },
{ "NvAPI_Mosaic_EnumDisplayGrids", 0xdf2887af },
{ "NvAPI_GetSupportedMosaicTopologies", 0x410b5c25 },
{ "NvAPI_GetCurrentMosaicTopology", 0xf60852bd },
{ "NvAPI_SetCurrentMosaicTopology", 0xd54b8989 },
{ "NvAPI_EnableCurrentMosaicTopology", 0x74073cc9 },
{ "NvAPI_GSync_EnumSyncDevices", 0xd9639601 },
{ "NvAPI_GSync_QueryCapabilities", 0x44a3f1d1 },
{ "NvAPI_GSync_GetTopology", 0x4562bc38 },
{ "NvAPI_GSync_SetSyncStateSettings", 0x60acdfdd },
{ "NvAPI_GSync_GetControlParameters", 0x16de1c6a },
{ "NvAPI_GSync_SetControlParameters", 0x8bbff88b },
{ "NvAPI_GSync_AdjustSyncDelay", 0x2d11ff51 },
{ "NvAPI_GSync_GetSyncStatus", 0xf1f5b434 },
{ "NvAPI_GSync_GetStatusParameters", 0x70d404ec },
{ "NvAPI_D3D_GetCurrentSLIState", 0x4b708b54 },
{ "NvAPI_D3D9_RegisterResource", 0xa064bdfc },
{ "NvAPI_D3D9_UnregisterResource", 0xbb2b17aa },
{ "NvAPI_D3D9_AliasSurfaceAsTexture", 0xe5ceae41 },
{ "NvAPI_D3D9_StretchRectEx", 0x22de03aa },
{ "NvAPI_D3D9_ClearRT", 0x332d3942 },
{ "NvAPI_D3D_GetObjectHandleForResource", 0xfceac864 },
{ "NvAPI_D3D_SetResourceHint", 0x6c0ed98c },
{ "NvAPI_D3D_BeginResourceRendering", 0x91123d6a },
{ "NvAPI_D3D_EndResourceRendering", 0x37e7191c },
{ "NvAPI_D3D9_GetSurfaceHandle", 0x0f2dd3f2 },
{ "NvAPI_D3D9_VideoSetStereoInfo", 0xb852f4db },
{ "NvAPI_D3D10_SetDepthBoundsTest", 0x4eadf5d2 },
{ "NvAPI_D3D11_CreateDevice", 0x6a16d3a0 },
{ "NvAPI_D3D11_CreateDeviceAndSwapChain", 0xbb939ee5 },
{ "NvAPI_D3D11_SetDepthBoundsTest", 0x7aaf7a04 },
{ "NvAPI_D3D11_IsNvShaderExtnOpCodeSupported", 0x5f68da40 },
{ "NvAPI_D3D11_SetNvShaderExtnSlot", 0x8e90bb9f },
{ "NvAPI_D3D12_SetNvShaderExtnSlotSpace", 0xac2dfeb5 },
{ "NvAPI_D3D12_SetNvShaderExtnSlotSpaceLocalThread", 0x43d867c0 },
{ "NvAPI_D3D11_SetNvShaderExtnSlotLocalThread", 0x0e6482a0 },
{ "NvAPI_D3D11_BeginUAVOverlapEx", 0xba08208a },
{ "NvAPI_D3D11_BeginUAVOverlap", 0x65b93ca8 },
{ "NvAPI_D3D11_EndUAVOverlap", 0x2216a357 },
{ "NvAPI_D3D11_GetResourceHandle", 0x09d52986 },
{ "NvAPI_D3D_SetFPSIndicatorState", 0xa776e8db },
{ "NvAPI_D3D9_Present", 0x05650beb },
{ "NvAPI_D3D9_QueryFrameCount", 0x9083e53a },
{ "NvAPI_D3D9_ResetFrameCount", 0xfa6a0675 },
{ "NvAPI_D3D9_QueryMaxSwapGroup", 0x5995410d },
{ "NvAPI_D3D9_QuerySwapGroup", 0xeba4d232 },
{ "NvAPI_D3D9_JoinSwapGroup", 0x7d44bb54 },
{ "NvAPI_D3D9_BindSwapBarrier", 0x9c39c246 },
{ "NvAPI_D3D1x_Present", 0x03b845a1 },
{ "NvAPI_D3D1x_QueryFrameCount", 0x9152e055 },
{ "NvAPI_D3D1x_ResetFrameCount", 0xfbbb031a },
{ "NvAPI_D3D1x_QueryMaxSwapGroup", 0x9bb9d68f },
{ "NvAPI_D3D1x_QuerySwapGroup", 0x407f67aa },
{ "NvAPI_D3D1x_JoinSwapGroup", 0x14610cd7 },
{ "NvAPI_D3D1x_BindSwapBarrier", 0x9de8c729 },
{ "NvAPI_D3D12_QueryPresentBarrierSupport", 0xa15faef7 },
{ "NvAPI_D3D12_CreatePresentBarrierClient", 0x4d815de9 },
{ "NvAPI_D3D12_RegisterPresentBarrierResources", 0xd53c9ef0 },
{ "NvAPI_DestroyPresentBarrierClient", 0x3c5c351b },
{ "NvAPI_JoinPresentBarrier", 0x17f6bf82 },
{ "NvAPI_LeavePresentBarrier", 0xc3ec5a7f },
{ "NvAPI_QueryPresentBarrierFrameStatistics", 0x61b844a1 },
{ "NvAPI_D3D12_CreateDDisplayPresentBarrierClient", 0xb5a21987 },
{ "NvAPI_D3D11_CreateRasterizerState", 0xdb8d28af },
{ "NvAPI_D3D_ConfigureAnsel", 0x341c6c7f },
{ "NvAPI_D3D11_CreateTiledTexture2DArray", 0x7886981a },
{ "NvAPI_D3D11_CheckFeatureSupport", 0x106a487e },
{ "NvAPI_D3D11_CreateImplicitMSAATexture2D", 0xb8f79632 },
{ "NvAPI_D3D12_CreateCommittedImplicitMSAATexture2D", 0x24c6a07b },
{ "NvAPI_D3D11_ResolveSubresourceRegion", 0xe6bfedd6 },
{ "NvAPI_D3D12_ResolveSubresourceRegion", 0xc24a15bf },
{ "NvAPI_D3D11_TiledTexture2DArrayGetDesc", 0xf1a2b9d5 },
{ "NvAPI_D3D11_UpdateTileMappings", 0x9a06ea07 },
{ "NvAPI_D3D11_CopyTileMappings", 0xc09ee6bc },
{ "NvAPI_D3D11_TiledResourceBarrier", 0xd6839099 },
{ "NvAPI_D3D11_AliasMSAATexture2DAsNonMSAA", 0xf1c54fc9 },
{ "NvAPI_D3D11_CreateGeometryShaderEx_2", 0x99ed5c1c },
{ "NvAPI_D3D11_CreateVertexShaderEx", 0x0beaa0b2 },
{ "NvAPI_D3D11_CreateHullShaderEx", 0xb53cab00 },
{ "NvAPI_D3D11_CreateDomainShaderEx", 0xa0d7180d },
{ "NvAPI_D3D11_CreatePixelShaderEx_2", 0x4162822b },
{ "NvAPI_D3D11_CreateFastGeometryShaderExplicit", 0x71ab7c9c },
{ "NvAPI_D3D11_CreateFastGeometryShader", 0x525d43be },
{ "NvAPI_D3D11_DecompressView", 0x3a94e822 },
{ "NvAPI_D3D12_CreateGraphicsPipelineState", 0x2fc28856 },
{ "NvAPI_D3D12_CreateComputePipelineState", 0x2762deac },
{ "NvAPI_D3D12_SetDepthBoundsTestValues", 0xb9333fe9 },
{ "NvAPI_D3D12_CreateReservedResource", 0x2c85f101 },
{ "NvAPI_D3D12_CreateHeap", 0x5cb397cf },
{ "NvAPI_D3D12_CreateHeap2", 0x924be9d6 },
{ "NvAPI_D3D12_QueryCpuVisibleVidmem", 0x26322bc3 },
{ "NvAPI_D3D12_ReservedResourceGetDesc", 0x9aa2aabb },
{ "NvAPI_D3D12_UpdateTileMappings", 0xc6017a7d },
{ "NvAPI_D3D12_CopyTileMappings", 0x47f78194 },
{ "NvAPI_D3D12_ResourceAliasingBarrier", 0xb942bab7 },
{ "NvAPI_D3D12_CaptureUAVInfo", 0x6e5ea9db },
{ "NvAPI_D3D11_GetResourceGPUVirtualAddressEx", 0xaf6d14da },
{ "NvAPI_D3D11_EnumerateMetaCommands", 0xc7453ba8 },
{ "NvAPI_D3D11_CreateMetaCommand", 0xf505fba0 },
{ "NvAPI_D3D11_InitializeMetaCommand", 0xaec629e9 },
{ "NvAPI_D3D11_ExecuteMetaCommand", 0x82236c47 },
{ "NvAPI_D3D12_EnumerateMetaCommands", 0xcd9141d8 },
{ "NvAPI_D3D12_CreateMetaCommand", 0xeb29634b },
{ "NvAPI_D3D12_InitializeMetaCommand", 0xa4125399 },
{ "NvAPI_D3D12_ExecuteMetaCommand", 0xde24fc3d },
{ "NvAPI_D3D12_CreateCommittedResource", 0x027e98ae },
{ "NvAPI_D3D12_GetCopyableFootprints", 0xf6305eb5 },
{ "NvAPI_D3D12_CopyTextureRegion", 0x82b91b25 },
{ "NvAPI_D3D12_IsNvShaderExtnOpCodeSupported", 0x3dfacec8 },
{ "NvAPI_D3D12_GetOptimalThreadCountForMesh", 0xb43995cb },
{ "NvAPI_D3D_IsGSyncCapable", 0x9c1eed78 },
{ "NvAPI_D3D_IsGSyncActive", 0xe942b0ff },
{ "NvAPI_D3D1x_DisableShaderDiskCache", 0xd0cbca7d },
{ "NvAPI_D3D11_MultiGPU_GetCaps", 0xd2d25687 },
{ "NvAPI_D3D11_MultiGPU_Init", 0x017be49e },
{ "NvAPI_D3D11_CreateMultiGPUDevice", 0xbdb20007 },
{ "NvAPI_D3D_QuerySinglePassStereoSupport", 0x6f5f0a6d },
{ "NvAPI_D3D_SetSinglePassStereoMode", 0xa39e6e6e },
{ "NvAPI_D3D12_QuerySinglePassStereoSupport", 0x3b03791b },
{ "NvAPI_D3D12_SetSinglePassStereoMode", 0x83556d87 },
{ "NvAPI_D3D_QueryMultiViewSupport", 0xb6e0a41c },
{ "NvAPI_D3D_SetMultiViewMode", 0x8285c8da },
{ "NvAPI_D3D_QueryModifiedWSupport", 0xcbf9f4f5 },
{ "NvAPI_D3D_SetModifiedWMode", 0x06ea4bf4 },
{ "NvAPI_D3D12_QueryModifiedWSupport", 0x51235248 },
{ "NvAPI_D3D12_SetModifiedWMode", 0xe1fdaba7 },
{ "NvAPI_D3D_CreateLateLatchObject", 0x2db27d09 },
{ "NvAPI_D3D_QueryLateLatchSupport", 0x8ceca0ec },
{ "NvAPI_D3D_RegisterDevice", 0x8c02c4d0 },
{ "NvAPI_D3D11_MultiDrawInstancedIndirect", 0xd4e26bbf },
{ "NvAPI_D3D11_MultiDrawIndexedInstancedIndirect", 0x59e890f9 },
{ "NvAPI_D3D_ImplicitSLIControl", 0x2aede111 },
{ "NvAPI_D3D12_UseDriverHeapPriorities", 0xf0d978a8 },
{ "NvAPI_D3D12_Mosaic_GetCompanionAllocations", 0xa46022c7 },
{ "NvAPI_D3D12_Mosaic_GetViewportAndGpuPartitions", 0xb092b818 },
{ "NvAPI_D3D1x_GetGraphicsCapabilities", 0x52b1499a },
{ "NvAPI_D3D12_GetGraphicsCapabilities", 0x01e87354 },
{ "NvAPI_D3D11_RSSetExclusiveScissorRects", 0xae4d73ef },
{ "NvAPI_D3D11_RSSetViewportsPixelShadingRates", 0x34f7938f },
{ "NvAPI_D3D11_CreateShadingRateResourceView", 0x99ca2dff },
{ "NvAPI_D3D11_RSSetShadingRateResourceView", 0x1b0c2f83 },
{ "NvAPI_D3D11_RSGetPixelShadingRateSampleOrder", 0x092442a1 },
{ "NvAPI_D3D11_RSSetPixelShadingRateSampleOrder", 0xa942373a },
{ "NvAPI_D3D_InitializeVRSHelper", 0x4780d70b },
{ "NvAPI_D3D_InitializeNvGazeHandler", 0x5b3b7479 },
{ "NvAPI_D3D_InitializeSMPAssist", 0x42763d0c },
{ "NvAPI_D3D_QuerySMPAssistSupport", 0xc57921de },
{ "NvAPI_D3D_GetSleepStatus", 0xaef96ca1 },
{ "NvAPI_D3D_SetSleepMode", 0xac1ca9e0 },
{ "NvAPI_D3D_Sleep", 0x852cd1d2 },
{ "NvAPI_D3D_GetLatency", 0x1a587f9c },
{ "NvAPI_D3D_SetLatencyMarker", 0xd9984c05 },
{ "NvAPI_D3D12_SetAsyncFrameMarker", 0x13c98f73 },
{ "NvAPI_D3D12_NotifyOutOfBandCommandQueue", 0x03d6e8cb },
{ "NvAPI_D3D12_CreateCubinComputeShader", 0x2a2c79e8 },
{ "NvAPI_D3D12_CreateCubinComputeShaderEx", 0x3151211b },
{ "NvAPI_D3D12_CreateCubinComputeShaderWithName", 0x1dc7261f },
{ "NvAPI_D3D12_LaunchCubinShader", 0x5c52bb86 },
{ "NvAPI_D3D12_DestroyCubinComputeShader", 0x7fb785ba },
{ "NvAPI_D3D12_GetCudaTextureObject", 0x80403fc9 },
{ "NvAPI_D3D12_GetCudaSurfaceObject", 0x48f5b2ee },
{ "NvAPI_D3D12_IsFatbinPTXSupported", 0x70c07832 },
{ "NvAPI_D3D12_CreateCuModule", 0xad1a677d },
{ "NvAPI_D3D12_EnumFunctionsInModule", 0x7ab88d88 },
{ "NvAPI_D3D12_CreateCuFunction", 0xe2436e22 },
{ "NvAPI_D3D12_LaunchCuKernelChain", 0x24973538 },
{ "NvAPI_D3D12_DestroyCuModule", 0x41c65285 },
{ "NvAPI_D3D12_DestroyCuFunction", 0xdf295ea6 },
{ "NvAPI_D3D11_CreateCubinComputeShader", 0x0ed98181 },
{ "NvAPI_D3D11_CreateCubinComputeShaderEx", 0x32c2a0f6 },
{ "NvAPI_D3D11_CreateCubinComputeShaderWithName", 0xb672be19 },
{ "NvAPI_D3D11_LaunchCubinShader", 0x427e236d },
{ "NvAPI_D3D11_DestroyCubinComputeShader", 0x01682c86 },
{ "NvAPI_D3D11_IsFatbinPTXSupported", 0x6086bd93 },
{ "NvAPI_D3D11_CreateUnorderedAccessView", 0x74a497a1 },
{ "NvAPI_D3D11_CreateShaderResourceView", 0x65cb431e },
{ "NvAPI_D3D11_CreateSamplerState", 0x89eca416 },
{ "NvAPI_D3D11_GetCudaTextureObject", 0x9006fa68 },
{ "NvAPI_D3D11_GetResourceGPUVirtualAddress", 0x1819b423 },
{ "NvAPI_D3D12_GetRaytracingCaps", 0x85a6c2a0 },
{ "NvAPI_D3D12_GetRaytracingOpacityMicromapArrayPrebuildInfo", 0x4726d180 },
{ "NvAPI_D3D12_SetCreatePipelineStateOptions", 0x5c607a27 },
{ "NvAPI_D3D12_CheckDriverMatchingIdentifierEx", 0xafb237d4 },
{ "NvAPI_D3D12_GetRaytracingAccelerationStructurePrebuildInfoEx", 0x8d025b77 },
{ "NvAPI_D3D12_BuildRaytracingOpacityMicromapArray", 0x814f8d11 },
{ "NvAPI_D3D12_RelocateRaytracingOpacityMicromapArray", 0x0425c538 },
{ "NvAPI_D3D12_EmitRaytracingOpacityMicromapArrayPostbuildInfo", 0x1d9a39b6 },
{ "NvAPI_D3D12_BuildRaytracingAccelerationStructureEx", 0xe24ead45 },
{ "NvAPI_D3D12_QueryWorkstationFeatureProperties", 0xa92ea23a },
{ "NvAPI_D3D12_CreateCommittedRDMABuffer", 0xe78dcb44 },
{ "NvAPI_VIO_GetCapabilities", 0x1dc91303 },
{ "NvAPI_VIO_Open", 0x44ee4841 },
{ "NvAPI_VIO_Close", 0xd01bd237 },
{ "NvAPI_VIO_Status", 0x0e6ce4f1 },
{ "NvAPI_VIO_SyncFormatDetect", 0x118d48a3 },
{ "NvAPI_VIO_GetConfig", 0xd34a789b },
{ "NvAPI_VIO_SetConfig", 0x0e4eec07 },
{ "NvAPI_VIO_SetCSC", 0xa1ec8d74 },
{ "NvAPI_VIO_GetCSC", 0x7b0d72a3 },
{ "NvAPI_VIO_SetGamma", 0x964bf452 },
{ "NvAPI_VIO_GetGamma", 0x51d53d06 },
{ "NvAPI_VIO_SetSyncDelay", 0x2697a8d1 },
{ "NvAPI_VIO_GetSyncDelay", 0x462214a9 },
{ "NvAPI_VIO_GetPCIInfo", 0xb981d935 },
{ "NvAPI_VIO_IsRunning", 0x96bd040e },
{ "NvAPI_VIO_Start", 0xcde8e1a3 },
{ "NvAPI_VIO_Stop", 0x6ba2a5d6 },
{ "NvAPI_VIO_IsFrameLockModeCompatible", 0x7bf0a94d },
{ "NvAPI_VIO_EnumDevices", 0xfd7c5557 },
{ "NvAPI_VIO_QueryTopology", 0x869534e2 },
{ "NvAPI_VIO_EnumSignalFormats", 0xead72fe4 },
{ "NvAPI_VIO_EnumDataFormats", 0x221fa8e8 },
{ "NvAPI_Stereo_CreateConfigurationProfileRegistryKey", 0xbe7692ec },
{ "NvAPI_Stereo_DeleteConfigurationProfileRegistryKey", 0xf117b834 },
{ "NvAPI_Stereo_SetConfigurationProfileValue", 0x24409f48 },
{ "NvAPI_Stereo_DeleteConfigurationProfileValue", 0x49bceecf },
{ "NvAPI_Stereo_Enable", 0x239c4545 },
{ "NvAPI_Stereo_Disable", 0x2ec50c2b },
{ "NvAPI_Stereo_IsEnabled", 0x348ff8e1 },
{ "NvAPI_Stereo_GetStereoSupport", 0x296c434d },
{ "NvAPI_Stereo_CreateHandleFromIUnknown", 0xac7e37f4 },
{ "NvAPI_Stereo_DestroyHandle", 0x3a153134 },
{ "NvAPI_Stereo_Activate", 0xf6a1ad68 },
{ "NvAPI_Stereo_Deactivate", 0x2d68de96 },
{ "NvAPI_Stereo_IsActivated", 0x1fb0bc30 },
{ "NvAPI_Stereo_GetSeparation", 0x451f2134 },
{ "NvAPI_Stereo_SetSeparation", 0x5c069fa3 },
{ "NvAPI_Stereo_DecreaseSeparation", 0xda044458 },
{ "NvAPI_Stereo_IncreaseSeparation", 0xc9a8ecec },
{ "NvAPI_Stereo_GetConvergence", 0x4ab00934 },
{ "NvAPI_Stereo_SetConvergence", 0x3dd6b54b },
{ "NvAPI_Stereo_DecreaseConvergence", 0x4c87e317 },
{ "NvAPI_Stereo_IncreaseConvergence", 0xa17daabe },
{ "NvAPI_Stereo_GetFrustumAdjustMode", 0xe6839b43 },
{ "NvAPI_Stereo_SetFrustumAdjustMode", 0x7be27fa2 },
{ "NvAPI_Stereo_CaptureJpegImage", 0x932cb140 },
{ "NvAPI_Stereo_InitActivation", 0xc7177702 },
{ "NvAPI_Stereo_Trigger_Activation", 0x0d6c6cd2 },
{ "NvAPI_Stereo_CapturePngImage", 0x8b7e99b5 },
{ "NvAPI_Stereo_ReverseStereoBlitControl", 0x3cd58f89 },
{ "NvAPI_Stereo_SetNotificationMessage", 0x6b9b409e },
{ "NvAPI_Stereo_SetActiveEye", 0x96eea9f8 },
{ "NvAPI_Stereo_SetDriverMode", 0x5e8f0bec },
{ "NvAPI_Stereo_GetEyeSeparation", 0xce653127 },
{ "NvAPI_Stereo_IsWindowedModeSupported", 0x40c8ed5e },
{ "NvAPI_Stereo_SetSurfaceCreationMode", 0xf5dcfcba },
{ "NvAPI_Stereo_GetSurfaceCreationMode", 0x36f1c736 },
{ "NvAPI_Stereo_Debug_WasLastDrawStereoized", 0xed4416c5 },
{ "NvAPI_Stereo_SetDefaultProfile", 0x44f0ecd1 },
{ "NvAPI_Stereo_GetDefaultProfile", 0x624e21c2 },
{ "NvAPI_D3D1x_CreateSwapChain", 0x1bc21b66 },
{ "NvAPI_D3D9_CreateSwapChain", 0x1a131e09 },
{ "NvAPI_DRS_CreateSession", 0x0694d52e },
{ "NvAPI_DRS_DestroySession", 0xdad9cff8 },
{ "NvAPI_DRS_LoadSettings", 0x375dbd6b },
{ "NvAPI_DRS_SaveSettings", 0xfcbc7e14 },
{ "NvAPI_DRS_LoadSettingsFromFile", 0xd3ede889 },
{ "NvAPI_DRS_SaveSettingsToFile", 0x2be25df8 },
{ "NvAPI_DRS_CreateProfile", 0xcc176068 },
{ "NvAPI_DRS_DeleteProfile", 0x17093206 },
{ "NvAPI_DRS_SetCurrentGlobalProfile", 0x1c89c5df },
{ "NvAPI_DRS_GetCurrentGlobalProfile", 0x617bff9f },
{ "NvAPI_DRS_GetProfileInfo", 0x61cd6fd6 },
{ "NvAPI_DRS_SetProfileInfo", 0x16abd3a9 },
{ "NvAPI_DRS_FindProfileByName", 0x7e4a9a0b },
{ "NvAPI_DRS_EnumProfiles", 0xbc371ee0 },
{ "NvAPI_DRS_GetNumProfiles", 0x1dae4fbc },
{ "NvAPI_DRS_CreateApplication", 0x4347a9de },
{ "NvAPI_DRS_DeleteApplicationEx", 0xc5ea85a1 },
{ "NvAPI_DRS_DeleteApplication", 0x2c694bc6 },
{ "NvAPI_DRS_GetApplicationInfo", 0xed1f8c69 },
{ "NvAPI_DRS_EnumApplications", 0x7fa2173a },
{ "NvAPI_DRS_FindApplicationByName", 0xeee566b2 },
{ "NvAPI_DRS_SetSetting", 0x577dd202 },
{ "NvAPI_DRS_GetSetting", 0x73bf8338 },
{ "NvAPI_DRS_EnumSettings", 0xae3039da },
{ "NvAPI_DRS_EnumAvailableSettingIds", 0xf020614a },
{ "NvAPI_DRS_EnumAvailableSettingValues", 0x2ec39f90 },
{ "NvAPI_DRS_GetSettingIdFromName", 0xcb7309cd },
{ "NvAPI_DRS_GetSettingNameFromId", 0xd61cbe6e },
{ "NvAPI_DRS_DeleteProfileSetting", 0xe4a26362 },
{ "NvAPI_DRS_RestoreAllDefaults", 0x5927b094 },
{ "NvAPI_DRS_RestoreProfileDefault", 0xfa5f6134 },
{ "NvAPI_DRS_RestoreProfileDefaultSetting", 0x53f0381e },
{ "NvAPI_DRS_GetBaseProfile", 0xda8466a0 },
{ "NvAPI_SYS_GetChipSetInfo", 0x53dabbca },
{ "NvAPI_SYS_GetLidAndDockInfo", 0xcda14d8a },
{ "NvAPI_SYS_GetDisplayIdFromGpuAndOutputId", 0x08f2bab4 },
{ "NvAPI_SYS_GetGpuAndOutputIdFromDisplayId", 0x112ba1a5 },
{ "NvAPI_SYS_GetPhysicalGpuFromDisplayId", 0x9ea74659 },
{ "NvAPI_SYS_GetDisplayDriverInfo", 0x721faceb },
{ "NvAPI_GPU_ClientRegisterForUtilizationSampleUpdates", 0xadeeaf67 },
};
#endif // _NVAPI_INTERFACE_H

View File

@ -0,0 +1,3 @@
Opensource version of nvapi
Updates can be found at https://download.nvidia.com/XFree86/nvapi-open-source-sdk/
Rename version-RXXX file after updating to keep track of current version

View File