Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1154 lines
60 KiB

  1. /***************************************************************************\
  2. |* *|
  3. |* Copyright NVIDIA Corporation. All rights reserved. *|
  4. |* *|
  5. |* NOTICE TO USER: *|
  6. |* *|
  7. |* This source code is subject to NVIDIA ownership rights under U.S. *|
  8. |* and international Copyright laws. Users and possessors of this *|
  9. |* source code are hereby granted a nonexclusive, royalty-free *|
  10. |* license to use this code in individual and commercial software. *|
  11. |* *|
  12. |* NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE *|
  13. |* CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR *|
  14. |* IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH *|
  15. |* REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF *|
  16. |* MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR *|
  17. |* PURPOSE. IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, *|
  18. |* INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES *|
  19. |* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN *|
  20. |* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING *|
  21. |* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOURCE *|
  22. |* CODE. *|
  23. |* *|
  24. |* U.S. Government End Users. This source code is a "commercial item" *|
  25. |* as that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting *|
  26. |* of "commercial computer software" and "commercial computer software *|
  27. |* documentation" as such terms are used in 48 C.F.R. 12.212 (SEPT 1995) *|
  28. |* and is provided to the U.S. Government only as a commercial end item. *|
  29. |* Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through *|
  30. |* 227.7202-4 (JUNE 1995), all U.S. Government End Users acquire the *|
  31. |* source code with only those rights set forth herein. *|
  32. |* *|
  33. |* Any use of this source code in individual and commercial software must *|
  34. |* include, in the user documentation and internal comments to the code, *|
  35. |* the above Disclaimer and U.S. Government End Users Notice. *|
  36. |* *|
  37. |* *|
  38. \***************************************************************************/
  39. #ifndef _NVAPI_DRIVER_SETTINGS_H_
  40. #define _NVAPI_DRIVER_SETTINGS_H_
  41. #define OGL_AA_LINE_GAMMA_STRING L"Antialiasing - Line gamma"
  42. #define OGL_DEEP_COLOR_SCANOUT_STRING L"Deep color for 3D applications"
  43. #define OGL_DEFAULT_SWAP_INTERVAL_STRING L"OpenGL default swap interval"
  44. #define OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_STRING L"OpenGL default swap interval fraction"
  45. #define OGL_DEFAULT_SWAP_INTERVAL_SIGN_STRING L"OpenGL default swap interval sign"
  46. #define OGL_EVENT_LOG_SEVERITY_THRESHOLD_STRING L"Event Log Severity Threshold"
  47. #define OGL_EXTENSION_STRING_VERSION_STRING L"Extension String version"
  48. #define OGL_FORCE_BLIT_STRING L"Buffer-flipping mode"
  49. #define OGL_FORCE_STEREO_STRING L"Force Stereo shuttering"
  50. #define OGL_IMPLICIT_GPU_AFFINITY_STRING L"Preferred OpenGL GPU"
  51. #define OGL_MAX_FRAMES_ALLOWED_STRING L"Maximum frames allowed"
  52. #define OGL_MULTIMON_STRING L"Multi-display/mixed-GPU acceleration"
  53. #define OGL_OVERLAY_PIXEL_TYPE_STRING L"Exported Overlay pixel types"
  54. #define OGL_OVERLAY_SUPPORT_STRING L"Enable overlay"
  55. #define OGL_QUALITY_ENHANCEMENTS_STRING L"High level control of the rendering quality on OpenGL"
  56. #define OGL_SINGLE_BACKDEPTH_BUFFER_STRING L"Unified back/depth buffer"
  57. #define OGL_SLI_MULTICAST_STRING L"Enable NV_gpu_multicast extension"
  58. #define OGL_THREAD_CONTROL_STRING L"Threaded optimization"
  59. #define OGL_TRIPLE_BUFFER_STRING L"Triple buffering"
  60. #define OGL_VIDEO_EDITING_MODE_STRING L"OpenGL video-editing mode"
  61. #define AA_BEHAVIOR_FLAGS_STRING L"Antialiasing - Behavior Flags"
  62. #define AA_MODE_ALPHATOCOVERAGE_STRING L"Antialiasing - Transparency Multisampling"
  63. #define AA_MODE_GAMMACORRECTION_STRING L"Antialiasing - Gamma correction"
  64. #define AA_MODE_METHOD_STRING L"Antialiasing - Setting"
  65. #define AA_MODE_REPLAY_STRING L"Antialiasing - Transparency Supersampling"
  66. #define AA_MODE_SELECTOR_STRING L"Antialiasing - Mode"
  67. #define AA_MODE_SELECTOR_SLIAA_STRING L"Antialiasing - SLI AA"
  68. #define ANISO_MODE_LEVEL_STRING L"Anisotropic filtering setting"
  69. #define ANISO_MODE_SELECTOR_STRING L"Anisotropic filtering mode"
  70. #define APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_STRING L"Application Profile Notification Popup Timeout"
  71. #define APPLICATION_STEAM_ID_STRING L"Steam Application ID"
  72. #define CPL_HIDDEN_PROFILE_STRING L"Do not display this profile in the Control Panel"
  73. #define CUDA_EXCLUDED_GPUS_STRING L"List of Universal GPU ids"
  74. #define D3DOGL_GPU_MAX_POWER_STRING L"Maximum GPU Power"
  75. #define EXPORT_PERF_COUNTERS_STRING L"Export Performance Counters"
  76. #define FXAA_ALLOW_STRING L"NVIDIA Predefined FXAA Usage"
  77. #define FXAA_ENABLE_STRING L"Enable FXAA"
  78. #define FXAA_INDICATOR_ENABLE_STRING L"Enable FXAA Indicator"
  79. #define MCSFRSHOWSPLIT_STRING L"SLI indicator"
  80. #define NV_QUALITY_UPSCALING_STRING L"NVIDIA Quality upscaling"
  81. #define OPTIMUS_MAXAA_STRING L"Maximum AA samples allowed for a given application"
  82. #define PHYSXINDICATOR_STRING L"Display the PhysX indicator"
  83. #define PREFERRED_PSTATE_STRING L"Power management mode"
  84. #define PREVENT_UI_AF_OVERRIDE_STRING L"No override of Anisotropic filtering"
  85. #define PS_FRAMERATE_LIMITER_STRING L"Frame Rate Limiter"
  86. #define PS_FRAMERATE_LIMITER_2_CONTROL_STRING L"Frame Rate Limiter 2 Control"
  87. #define PS_FRAMERATE_LIMITER_GPS_CTRL_STRING L"Frame Rate Monitor"
  88. #define PS_FRAMERATE_MONITOR_CTRL_STRING L"Frame Rate Monitor Control"
  89. #define SHIM_MAXRES_STRING L"Maximum resolution allowed for a given application"
  90. #define SHIM_MCCOMPAT_STRING L"Optimus flags for enabled applications"
  91. #define SHIM_RENDERING_MODE_STRING L"Enable application for Optimus"
  92. #define SHIM_RENDERING_OPTIONS_STRING L"Shim Rendering Mode Options per application for Optimus"
  93. #define SLI_GPU_COUNT_STRING L"Number of GPUs to use on SLI rendering mode"
  94. #define SLI_PREDEFINED_GPU_COUNT_STRING L"NVIDIA predefined number of GPUs to use on SLI rendering mode"
  95. #define SLI_PREDEFINED_GPU_COUNT_DX10_STRING L"NVIDIA predefined number of GPUs to use on SLI rendering mode on DirectX 10"
  96. #define SLI_PREDEFINED_MODE_STRING L"NVIDIA predefined SLI mode"
  97. #define SLI_PREDEFINED_MODE_DX10_STRING L"NVIDIA predefined SLI mode on DirectX 10"
  98. #define SLI_RENDERING_MODE_STRING L"SLI rendering mode"
  99. #define VRPRERENDERLIMIT_STRING L"Virtual Reality pre-rendered frames"
  100. #define VRRFEATUREINDICATOR_STRING L"Toggle the VRR global feature"
  101. #define VRROVERLAYINDICATOR_STRING L"Display the VRR Overlay Indicator"
  102. #define VRRREQUESTSTATE_STRING L"VRR requested state"
  103. #define VRR_APP_OVERRIDE_STRING L"G-SYNC"
  104. #define VRR_APP_OVERRIDE_REQUEST_STATE_STRING L"G-SYNC"
  105. #define VRR_MODE_STRING L"Enable G-SYNC globally"
  106. #define VSYNCSMOOTHAFR_STRING L"Flag to control smooth AFR behavior"
  107. #define VSYNCVRRCONTROL_STRING L"Variable refresh Rate"
  108. #define VSYNC_BEHAVIOR_FLAGS_STRING L"Vsync - Behavior Flags"
  109. #define WKS_API_STEREO_EYES_EXCHANGE_STRING L"Stereo - Swap eyes"
  110. #define WKS_API_STEREO_MODE_STRING L"Stereo - Display mode"
  111. #define WKS_MEMORY_ALLOCATION_POLICY_STRING L"Memory Allocation Policy"
  112. #define WKS_STEREO_DONGLE_SUPPORT_STRING L"Stereo - Dongle Support"
  113. #define WKS_STEREO_SUPPORT_STRING L"Stereo - Enable"
  114. #define WKS_STEREO_SWAP_MODE_STRING L"Stereo � swap mode"
  115. #define AO_MODE_STRING L"Ambient Occlusion"
  116. #define AO_MODE_ACTIVE_STRING L"NVIDIA Predefined Ambient Occlusion Usage"
  117. #define AUTO_LODBIASADJUST_STRING L"Texture filtering - Driver Controlled LOD Bias"
  118. #define ICAFE_LOGO_CONFIG_STRING L"ICafe Settings"
  119. #define LODBIASADJUST_STRING L"Texture filtering - LOD Bias"
  120. #define MAXWELL_B_SAMPLE_INTERLEAVE_STRING L"Enable sample interleaving (MFAA)"
  121. #define NLS_ALLOW_STRING L"NVIDIA Predefined Nonlinear Scale Usage"
  122. #define NLS_ENABLE_STRING L"Enable Nonlinear Scale"
  123. #define PRERENDERLIMIT_STRING L"Maximum pre-rendered frames"
  124. #define PS_SHADERDISKCACHE_STRING L"Shader Cache"
  125. #define PS_TEXFILTER_ANISO_OPTS2_STRING L"Texture filtering - Anisotropic sample optimization"
  126. #define PS_TEXFILTER_BILINEAR_IN_ANISO_STRING L"Texture filtering - Anisotropic filter optimization"
  127. #define PS_TEXFILTER_DISABLE_TRILIN_SLOPE_STRING L"Texture filtering - Trilinear optimization"
  128. #define PS_TEXFILTER_NO_NEG_LODBIAS_STRING L"Texture filtering - Negative LOD bias"
  129. #define QUALITY_ENHANCEMENTS_STRING L"Texture filtering - Quality"
  130. #define REFRESH_RATE_OVERRIDE_STRING L"Preferred refresh rate"
  131. #define SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_STRING L"PowerThrottle"
  132. #define SET_VAB_DATA_STRING L"VAB Default Data"
  133. #define VSYNCMODE_STRING L"Vertical Sync"
  134. #define VSYNCTEARCONTROL_STRING L"Vertical Sync Tear Control"
  135. enum ESetting {
  136. OGL_AA_LINE_GAMMA_ID = 0x2089BF6C,
  137. OGL_DEEP_COLOR_SCANOUT_ID = 0x2097C2F6,
  138. OGL_DEFAULT_SWAP_INTERVAL_ID = 0x206A6582,
  139. OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_ID = 0x206C4581,
  140. OGL_DEFAULT_SWAP_INTERVAL_SIGN_ID = 0x20655CFA,
  141. OGL_EVENT_LOG_SEVERITY_THRESHOLD_ID = 0x209DF23E,
  142. OGL_EXTENSION_STRING_VERSION_ID = 0x20FF7493,
  143. OGL_FORCE_BLIT_ID = 0x201F619F,
  144. OGL_FORCE_STEREO_ID = 0x204D9A0C,
  145. OGL_IMPLICIT_GPU_AFFINITY_ID = 0x20D0F3E6,
  146. OGL_MAX_FRAMES_ALLOWED_ID = 0x208E55E3,
  147. OGL_MULTIMON_ID = 0x200AEBFC,
  148. OGL_OVERLAY_PIXEL_TYPE_ID = 0x209AE66F,
  149. OGL_OVERLAY_SUPPORT_ID = 0x206C28C4,
  150. OGL_QUALITY_ENHANCEMENTS_ID = 0x20797D6C,
  151. OGL_SINGLE_BACKDEPTH_BUFFER_ID = 0x20A29055,
  152. OGL_SLI_MULTICAST_ID = 0x2092D3BE,
  153. OGL_THREAD_CONTROL_ID = 0x20C1221E,
  154. OGL_TRIPLE_BUFFER_ID = 0x20FDD1F9,
  155. OGL_VIDEO_EDITING_MODE_ID = 0x20EE02B4,
  156. AA_BEHAVIOR_FLAGS_ID = 0x10ECDB82,
  157. AA_MODE_ALPHATOCOVERAGE_ID = 0x10FC2D9C,
  158. AA_MODE_GAMMACORRECTION_ID = 0x107D639D,
  159. AA_MODE_METHOD_ID = 0x10D773D2,
  160. AA_MODE_REPLAY_ID = 0x10D48A85,
  161. AA_MODE_SELECTOR_ID = 0x107EFC5B,
  162. AA_MODE_SELECTOR_SLIAA_ID = 0x107AFC5B,
  163. ANISO_MODE_LEVEL_ID = 0x101E61A9,
  164. ANISO_MODE_SELECTOR_ID = 0x10D2BB16,
  165. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_ID = 0x104554B6,
  166. APPLICATION_STEAM_ID_ID = 0x107CDDBC,
  167. CPL_HIDDEN_PROFILE_ID = 0x106D5CFF,
  168. CUDA_EXCLUDED_GPUS_ID = 0x10354FF8,
  169. D3DOGL_GPU_MAX_POWER_ID = 0x10D1EF29,
  170. EXPORT_PERF_COUNTERS_ID = 0x108F0841,
  171. FXAA_ALLOW_ID = 0x1034CB89,
  172. FXAA_ENABLE_ID = 0x1074C972,
  173. FXAA_INDICATOR_ENABLE_ID = 0x1068FB9C,
  174. MCSFRSHOWSPLIT_ID = 0x10287051,
  175. NV_QUALITY_UPSCALING_ID = 0x10444444,
  176. OPTIMUS_MAXAA_ID = 0x10F9DC83,
  177. PHYSXINDICATOR_ID = 0x1094F16F,
  178. PREFERRED_PSTATE_ID = 0x1057EB71,
  179. PREVENT_UI_AF_OVERRIDE_ID = 0x103BCCB5,
  180. PS_FRAMERATE_LIMITER_ID = 0x10834FEE,
  181. PS_FRAMERATE_LIMITER_2_CONTROL_ID = 0x10834FFF,
  182. PS_FRAMERATE_LIMITER_GPS_CTRL_ID = 0x10834F01,
  183. PS_FRAMERATE_MONITOR_CTRL_ID = 0x10834F05,
  184. SHIM_MAXRES_ID = 0x10F9DC82,
  185. SHIM_MCCOMPAT_ID = 0x10F9DC80,
  186. SHIM_RENDERING_MODE_ID = 0x10F9DC81,
  187. SHIM_RENDERING_OPTIONS_ID = 0x10F9DC84,
  188. SLI_GPU_COUNT_ID = 0x1033DCD1,
  189. SLI_PREDEFINED_GPU_COUNT_ID = 0x1033DCD2,
  190. SLI_PREDEFINED_GPU_COUNT_DX10_ID = 0x1033DCD3,
  191. SLI_PREDEFINED_MODE_ID = 0x1033CEC1,
  192. SLI_PREDEFINED_MODE_DX10_ID = 0x1033CEC2,
  193. SLI_RENDERING_MODE_ID = 0x1033CED1,
  194. VRPRERENDERLIMIT_ID = 0x10111133,
  195. VRRFEATUREINDICATOR_ID = 0x1094F157,
  196. VRROVERLAYINDICATOR_ID = 0x1095F16F,
  197. VRRREQUESTSTATE_ID = 0x1094F1F7,
  198. VRR_APP_OVERRIDE_ID = 0x10A879CF,
  199. VRR_APP_OVERRIDE_REQUEST_STATE_ID = 0x10A879AC,
  200. VRR_MODE_ID = 0x1194F158,
  201. VSYNCSMOOTHAFR_ID = 0x101AE763,
  202. VSYNCVRRCONTROL_ID = 0x10A879CE,
  203. VSYNC_BEHAVIOR_FLAGS_ID = 0x10FDEC23,
  204. WKS_API_STEREO_EYES_EXCHANGE_ID = 0x11AE435C,
  205. WKS_API_STEREO_MODE_ID = 0x11E91A61,
  206. WKS_MEMORY_ALLOCATION_POLICY_ID = 0x11112233,
  207. WKS_STEREO_DONGLE_SUPPORT_ID = 0x112493BD,
  208. WKS_STEREO_SUPPORT_ID = 0x11AA9E99,
  209. WKS_STEREO_SWAP_MODE_ID = 0x11333333,
  210. AO_MODE_ID = 0x00667329,
  211. AO_MODE_ACTIVE_ID = 0x00664339,
  212. AUTO_LODBIASADJUST_ID = 0x00638E8F,
  213. ICAFE_LOGO_CONFIG_ID = 0x00DB1337,
  214. LODBIASADJUST_ID = 0x00738E8F,
  215. MAXWELL_B_SAMPLE_INTERLEAVE_ID = 0x0098C1AC,
  216. NLS_ALLOW_ID = 0x00041806,
  217. NLS_ENABLE_ID = 0x00120618,
  218. PRERENDERLIMIT_ID = 0x007BA09E,
  219. PS_SHADERDISKCACHE_ID = 0x00198FFF,
  220. PS_TEXFILTER_ANISO_OPTS2_ID = 0x00E73211,
  221. PS_TEXFILTER_BILINEAR_IN_ANISO_ID = 0x0084CD70,
  222. PS_TEXFILTER_DISABLE_TRILIN_SLOPE_ID = 0x002ECAF2,
  223. PS_TEXFILTER_NO_NEG_LODBIAS_ID = 0x0019BB68,
  224. QUALITY_ENHANCEMENTS_ID = 0x00CE2691,
  225. REFRESH_RATE_OVERRIDE_ID = 0x0064B541,
  226. SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_ID = 0x00AE785C,
  227. SET_VAB_DATA_ID = 0x00AB8687,
  228. VSYNCMODE_ID = 0x00A879CF,
  229. VSYNCTEARCONTROL_ID = 0x005A375C,
  230. TOTAL_DWORD_SETTING_NUM = 90,
  231. TOTAL_WSTRING_SETTING_NUM = 4,
  232. TOTAL_SETTING_NUM = 94,
  233. INVALID_SETTING_ID = 0xFFFFFFFF
  234. };
  235. enum EValues_OGL_AA_LINE_GAMMA {
  236. OGL_AA_LINE_GAMMA_DISABLED = 0x10,
  237. OGL_AA_LINE_GAMMA_ENABLED = 0x23,
  238. OGL_AA_LINE_GAMMA_MIN = 1,
  239. OGL_AA_LINE_GAMMA_MAX = 100,
  240. OGL_AA_LINE_GAMMA_NUM_VALUES = 4,
  241. OGL_AA_LINE_GAMMA_DEFAULT = OGL_AA_LINE_GAMMA_DISABLED
  242. };
  243. enum EValues_OGL_DEEP_COLOR_SCANOUT {
  244. OGL_DEEP_COLOR_SCANOUT_DISABLE = 0,
  245. OGL_DEEP_COLOR_SCANOUT_ENABLE = 1,
  246. OGL_DEEP_COLOR_SCANOUT_NUM_VALUES = 2,
  247. OGL_DEEP_COLOR_SCANOUT_DEFAULT = OGL_DEEP_COLOR_SCANOUT_ENABLE
  248. };
  249. enum EValues_OGL_DEFAULT_SWAP_INTERVAL {
  250. OGL_DEFAULT_SWAP_INTERVAL_TEAR = 0,
  251. OGL_DEFAULT_SWAP_INTERVAL_VSYNC_ONE = 1,
  252. OGL_DEFAULT_SWAP_INTERVAL_VSYNC = 1,
  253. OGL_DEFAULT_SWAP_INTERVAL_VALUE_MASK = 0x0000FFFF,
  254. OGL_DEFAULT_SWAP_INTERVAL_FORCE_MASK = 0xF0000000,
  255. OGL_DEFAULT_SWAP_INTERVAL_FORCE_OFF = 0xF0000000,
  256. OGL_DEFAULT_SWAP_INTERVAL_FORCE_ON = 0x10000000,
  257. OGL_DEFAULT_SWAP_INTERVAL_APP_CONTROLLED = 0x00000000,
  258. OGL_DEFAULT_SWAP_INTERVAL_DISABLE = 0xffffffff,
  259. OGL_DEFAULT_SWAP_INTERVAL_NUM_VALUES = 9,
  260. OGL_DEFAULT_SWAP_INTERVAL_DEFAULT = OGL_DEFAULT_SWAP_INTERVAL_VSYNC_ONE
  261. };
  262. enum EValues_OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL {
  263. OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_ZERO_SCANLINES = 0,
  264. OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_ONE_FULL_FRAME_OF_SCANLINES = 100,
  265. OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_NUM_VALUES = 2,
  266. OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_DEFAULT = 0
  267. };
  268. enum EValues_OGL_DEFAULT_SWAP_INTERVAL_SIGN {
  269. OGL_DEFAULT_SWAP_INTERVAL_SIGN_POSITIVE = 0,
  270. OGL_DEFAULT_SWAP_INTERVAL_SIGN_NEGATIVE = 1,
  271. OGL_DEFAULT_SWAP_INTERVAL_SIGN_NUM_VALUES = 2,
  272. OGL_DEFAULT_SWAP_INTERVAL_SIGN_DEFAULT = OGL_DEFAULT_SWAP_INTERVAL_SIGN_POSITIVE
  273. };
  274. enum EValues_OGL_EVENT_LOG_SEVERITY_THRESHOLD {
  275. OGL_EVENT_LOG_SEVERITY_THRESHOLD_DISABLE = 0,
  276. OGL_EVENT_LOG_SEVERITY_THRESHOLD_CRITICAL = 1,
  277. OGL_EVENT_LOG_SEVERITY_THRESHOLD_WARNING = 2,
  278. OGL_EVENT_LOG_SEVERITY_THRESHOLD_INFORMATION = 3,
  279. OGL_EVENT_LOG_SEVERITY_THRESHOLD_ALL = 4,
  280. OGL_EVENT_LOG_SEVERITY_THRESHOLD_NUM_VALUES = 5,
  281. OGL_EVENT_LOG_SEVERITY_THRESHOLD_DEFAULT = OGL_EVENT_LOG_SEVERITY_THRESHOLD_ALL
  282. };
  283. enum EValues_OGL_FORCE_BLIT {
  284. OGL_FORCE_BLIT_ON = 1,
  285. OGL_FORCE_BLIT_OFF = 0,
  286. OGL_FORCE_BLIT_NUM_VALUES = 2,
  287. OGL_FORCE_BLIT_DEFAULT = OGL_FORCE_BLIT_OFF
  288. };
  289. enum EValues_OGL_FORCE_STEREO {
  290. OGL_FORCE_STEREO_OFF = 0,
  291. OGL_FORCE_STEREO_ON = 1,
  292. OGL_FORCE_STEREO_NUM_VALUES = 2,
  293. OGL_FORCE_STEREO_DEFAULT = OGL_FORCE_STEREO_OFF
  294. };
  295. #define OGL_IMPLICIT_GPU_AFFINITY_ENV_VAR L"OGL_DEFAULT_RENDERING_GPU"
  296. #define OGL_IMPLICIT_GPU_AFFINITY_AUTOSELECT L"autoselect"
  297. #define OGL_IMPLICIT_GPU_AFFINITY_NUM_VALUES 1
  298. #define OGL_IMPLICIT_GPU_AFFINITY_DEFAULT OGL_IMPLICIT_GPU_AFFINITY_AUTOSELECT
  299. enum EValues_OGL_MULTIMON {
  300. OGL_MULTIMON_SINGLE_MONITOR = 0,
  301. OGL_MULTIMON_COMPATIBILITY_LCD = 1,
  302. OGL_MULTIMON_COMPATIBILITY_GCD = 2,
  303. OGL_MULTIMON_PERFORMANCE_LCD = 3,
  304. OGL_MULTIMON_PERFORMANCE_GCD = 4,
  305. OGL_MULTIMON_EXTENDED_SINGLE_MONITOR = 5,
  306. OGL_MULTIMON_PERFORMANCE_QUADRO = 6,
  307. OGL_MULTIMON_MULTIMON_BUFFER = 7,
  308. OGL_MULTIMON_NUM_VALUES = 8,
  309. OGL_MULTIMON_DEFAULT = OGL_MULTIMON_PERFORMANCE_LCD
  310. };
  311. enum EValues_OGL_OVERLAY_PIXEL_TYPE {
  312. OGL_OVERLAY_PIXEL_TYPE_NONE = 0x0,
  313. OGL_OVERLAY_PIXEL_TYPE_CI = 0x1,
  314. OGL_OVERLAY_PIXEL_TYPE_RGBA = 0x2,
  315. OGL_OVERLAY_PIXEL_TYPE_CI_AND_RGBA = 0x3,
  316. OGL_OVERLAY_PIXEL_TYPE_NUM_VALUES = 4,
  317. OGL_OVERLAY_PIXEL_TYPE_DEFAULT = OGL_OVERLAY_PIXEL_TYPE_CI
  318. };
  319. enum EValues_OGL_OVERLAY_SUPPORT {
  320. OGL_OVERLAY_SUPPORT_OFF = 0,
  321. OGL_OVERLAY_SUPPORT_ON = 1,
  322. OGL_OVERLAY_SUPPORT_FORCE_SW = 2,
  323. OGL_OVERLAY_SUPPORT_NUM_VALUES = 3,
  324. OGL_OVERLAY_SUPPORT_DEFAULT = OGL_OVERLAY_SUPPORT_OFF
  325. };
  326. enum EValues_OGL_QUALITY_ENHANCEMENTS {
  327. OGL_QUALITY_ENHANCEMENTS_HQUAL = -10,
  328. OGL_QUALITY_ENHANCEMENTS_QUAL = 0,
  329. OGL_QUALITY_ENHANCEMENTS_PERF = 10,
  330. OGL_QUALITY_ENHANCEMENTS_HPERF = 20,
  331. OGL_QUALITY_ENHANCEMENTS_NUM_VALUES = 4,
  332. OGL_QUALITY_ENHANCEMENTS_DEFAULT = OGL_QUALITY_ENHANCEMENTS_QUAL
  333. };
  334. enum EValues_OGL_SINGLE_BACKDEPTH_BUFFER {
  335. OGL_SINGLE_BACKDEPTH_BUFFER_DISABLE = 0x0,
  336. OGL_SINGLE_BACKDEPTH_BUFFER_ENABLE = 0x1,
  337. OGL_SINGLE_BACKDEPTH_BUFFER_USE_HW_DEFAULT = 0xffffffff,
  338. OGL_SINGLE_BACKDEPTH_BUFFER_NUM_VALUES = 3,
  339. OGL_SINGLE_BACKDEPTH_BUFFER_DEFAULT = OGL_SINGLE_BACKDEPTH_BUFFER_DISABLE
  340. };
  341. enum EValues_OGL_SLI_MULTICAST {
  342. OGL_SLI_MULTICAST_DISABLE = 0x00,
  343. OGL_SLI_MULTICAST_ENABLE = 0x01,
  344. OGL_SLI_MULTICAST_FORCE_DISABLE = 0x02,
  345. OGL_SLI_MULTICAST_NUM_VALUES = 3,
  346. OGL_SLI_MULTICAST_DEFAULT = OGL_SLI_MULTICAST_DISABLE
  347. };
  348. enum EValues_OGL_THREAD_CONTROL {
  349. OGL_THREAD_CONTROL_ENABLE = 0x00000001,
  350. OGL_THREAD_CONTROL_DISABLE = 0x00000002,
  351. OGL_THREAD_CONTROL_NUM_VALUES = 2,
  352. OGL_THREAD_CONTROL_DEFAULT = 0
  353. };
  354. enum EValues_OGL_TRIPLE_BUFFER {
  355. OGL_TRIPLE_BUFFER_DISABLED = 0x00000000,
  356. OGL_TRIPLE_BUFFER_ENABLED = 0x00000001,
  357. OGL_TRIPLE_BUFFER_NUM_VALUES = 2,
  358. OGL_TRIPLE_BUFFER_DEFAULT = OGL_TRIPLE_BUFFER_DISABLED
  359. };
  360. enum EValues_OGL_VIDEO_EDITING_MODE {
  361. OGL_VIDEO_EDITING_MODE_DISABLE = 0x00000000,
  362. OGL_VIDEO_EDITING_MODE_ENABLE = 0x00000001,
  363. OGL_VIDEO_EDITING_MODE_NUM_VALUES = 2,
  364. OGL_VIDEO_EDITING_MODE_DEFAULT = OGL_VIDEO_EDITING_MODE_DISABLE
  365. };
  366. enum EValues_AA_BEHAVIOR_FLAGS {
  367. AA_BEHAVIOR_FLAGS_NONE = 0x00000000,
  368. AA_BEHAVIOR_FLAGS_TREAT_OVERRIDE_AS_APP_CONTROLLED = 0x00000001,
  369. AA_BEHAVIOR_FLAGS_TREAT_OVERRIDE_AS_ENHANCE = 0x00000002,
  370. AA_BEHAVIOR_FLAGS_DISABLE_OVERRIDE = 0x00000003,
  371. AA_BEHAVIOR_FLAGS_TREAT_ENHANCE_AS_APP_CONTROLLED = 0x00000004,
  372. AA_BEHAVIOR_FLAGS_TREAT_ENHANCE_AS_OVERRIDE = 0x00000008,
  373. AA_BEHAVIOR_FLAGS_DISABLE_ENHANCE = 0x0000000c,
  374. AA_BEHAVIOR_FLAGS_MAP_VCAA_TO_MULTISAMPLING = 0x00010000,
  375. AA_BEHAVIOR_FLAGS_SLI_DISABLE_TRANSPARENCY_SUPERSAMPLING = 0x00020000,
  376. AA_BEHAVIOR_FLAGS_DISABLE_CPLAA = 0x00040000,
  377. AA_BEHAVIOR_FLAGS_SKIP_RT_DIM_CHECK_FOR_ENHANCE = 0x00080000,
  378. AA_BEHAVIOR_FLAGS_DISABLE_SLIAA = 0x00100000,
  379. AA_BEHAVIOR_FLAGS_DEFAULT = 0x00000000,
  380. AA_BEHAVIOR_FLAGS_AA_RT_BPP_DIV_4 = 0xf0000000,
  381. AA_BEHAVIOR_FLAGS_AA_RT_BPP_DIV_4_SHIFT = 28,
  382. AA_BEHAVIOR_FLAGS_NON_AA_RT_BPP_DIV_4 = 0x0f000000,
  383. AA_BEHAVIOR_FLAGS_NON_AA_RT_BPP_DIV_4_SHIFT = 24,
  384. AA_BEHAVIOR_FLAGS_MASK = 0xff1f000f,
  385. AA_BEHAVIOR_FLAGS_NUM_VALUES = 18,
  386. };
  387. enum EValues_AA_MODE_ALPHATOCOVERAGE {
  388. AA_MODE_ALPHATOCOVERAGE_MODE_MASK = 0x00000004,
  389. AA_MODE_ALPHATOCOVERAGE_MODE_OFF = 0x00000000,
  390. AA_MODE_ALPHATOCOVERAGE_MODE_ON = 0x00000004,
  391. AA_MODE_ALPHATOCOVERAGE_MODE_MAX = 0x00000004,
  392. AA_MODE_ALPHATOCOVERAGE_NUM_VALUES = 4,
  393. AA_MODE_ALPHATOCOVERAGE_DEFAULT = 0x00000000
  394. };
  395. enum EValues_AA_MODE_GAMMACORRECTION {
  396. AA_MODE_GAMMACORRECTION_MASK = 0x00000003,
  397. AA_MODE_GAMMACORRECTION_OFF = 0x00000000,
  398. AA_MODE_GAMMACORRECTION_ON_IF_FOS = 0x00000001,
  399. AA_MODE_GAMMACORRECTION_ON_ALWAYS = 0x00000002,
  400. AA_MODE_GAMMACORRECTION_MAX = 0x00000002,
  401. AA_MODE_GAMMACORRECTION_DEFAULT = 0x00000000,
  402. AA_MODE_GAMMACORRECTION_DEFAULT_TESLA = 0x00000002,
  403. AA_MODE_GAMMACORRECTION_DEFAULT_FERMI = 0x00000002,
  404. AA_MODE_GAMMACORRECTION_NUM_VALUES = 8,
  405. };
  406. enum EValues_AA_MODE_METHOD {
  407. AA_MODE_METHOD_NONE = 0x0,
  408. AA_MODE_METHOD_SUPERSAMPLE_2X_H = 0x1,
  409. AA_MODE_METHOD_SUPERSAMPLE_2X_V = 0x2,
  410. AA_MODE_METHOD_SUPERSAMPLE_1_5X1_5 = 0x2,
  411. AA_MODE_METHOD_FREE_0x03 = 0x3,
  412. AA_MODE_METHOD_FREE_0x04 = 0x4,
  413. AA_MODE_METHOD_SUPERSAMPLE_4X = 0x5,
  414. AA_MODE_METHOD_SUPERSAMPLE_4X_BIAS = 0x6,
  415. AA_MODE_METHOD_SUPERSAMPLE_4X_GAUSSIAN = 0x7,
  416. AA_MODE_METHOD_FREE_0x08 = 0x8,
  417. AA_MODE_METHOD_FREE_0x09 = 0x9,
  418. AA_MODE_METHOD_SUPERSAMPLE_9X = 0xA,
  419. AA_MODE_METHOD_SUPERSAMPLE_9X_BIAS = 0xB,
  420. AA_MODE_METHOD_SUPERSAMPLE_16X = 0xC,
  421. AA_MODE_METHOD_SUPERSAMPLE_16X_BIAS = 0xD,
  422. AA_MODE_METHOD_MULTISAMPLE_2X_DIAGONAL = 0xE,
  423. AA_MODE_METHOD_MULTISAMPLE_2X_QUINCUNX = 0xF,
  424. AA_MODE_METHOD_MULTISAMPLE_4X = 0x10,
  425. AA_MODE_METHOD_FREE_0x11 = 0x11,
  426. AA_MODE_METHOD_MULTISAMPLE_4X_GAUSSIAN = 0x12,
  427. AA_MODE_METHOD_MIXEDSAMPLE_4X_SKEWED_4TAP = 0x13,
  428. AA_MODE_METHOD_FREE_0x14 = 0x14,
  429. AA_MODE_METHOD_FREE_0x15 = 0x15,
  430. AA_MODE_METHOD_MIXEDSAMPLE_6X = 0x16,
  431. AA_MODE_METHOD_MIXEDSAMPLE_6X_SKEWED_6TAP = 0x17,
  432. AA_MODE_METHOD_MIXEDSAMPLE_8X = 0x18,
  433. AA_MODE_METHOD_MIXEDSAMPLE_8X_SKEWED_8TAP = 0x19,
  434. AA_MODE_METHOD_MIXEDSAMPLE_16X = 0x1a,
  435. AA_MODE_METHOD_MULTISAMPLE_4X_GAMMA = 0x1b,
  436. AA_MODE_METHOD_MULTISAMPLE_16X = 0x1c,
  437. AA_MODE_METHOD_VCAA_32X_8v24 = 0x1d,
  438. AA_MODE_METHOD_CORRUPTION_CHECK = 0x1e,
  439. AA_MODE_METHOD_6X_CT = 0x1f,
  440. AA_MODE_METHOD_MULTISAMPLE_2X_DIAGONAL_GAMMA = 0x20,
  441. AA_MODE_METHOD_SUPERSAMPLE_4X_GAMMA = 0x21,
  442. AA_MODE_METHOD_MULTISAMPLE_4X_FOSGAMMA = 0x22,
  443. AA_MODE_METHOD_MULTISAMPLE_2X_DIAGONAL_FOSGAMMA = 0x23,
  444. AA_MODE_METHOD_SUPERSAMPLE_4X_FOSGAMMA = 0x24,
  445. AA_MODE_METHOD_MULTISAMPLE_8X = 0x25,
  446. AA_MODE_METHOD_VCAA_8X_4v4 = 0x26,
  447. AA_MODE_METHOD_VCAA_16X_4v12 = 0x27,
  448. AA_MODE_METHOD_VCAA_16X_8v8 = 0x28,
  449. AA_MODE_METHOD_MIXEDSAMPLE_32X = 0x29,
  450. AA_MODE_METHOD_SUPERVCAA_64X_4v12 = 0x2a,
  451. AA_MODE_METHOD_SUPERVCAA_64X_8v8 = 0x2b,
  452. AA_MODE_METHOD_MIXEDSAMPLE_64X = 0x2c,
  453. AA_MODE_METHOD_MIXEDSAMPLE_128X = 0x2d,
  454. AA_MODE_METHOD_COUNT = 0x2e,
  455. AA_MODE_METHOD_METHOD_MASK = 0x0000ffff,
  456. AA_MODE_METHOD_METHOD_MAX = 0xf1c57815,
  457. AA_MODE_METHOD_NUM_VALUES = 50,
  458. AA_MODE_METHOD_DEFAULT = AA_MODE_METHOD_NONE
  459. };
  460. enum EValues_AA_MODE_REPLAY {
  461. AA_MODE_REPLAY_SAMPLES_MASK = 0x00000070,
  462. AA_MODE_REPLAY_SAMPLES_ONE = 0x00000000,
  463. AA_MODE_REPLAY_SAMPLES_TWO = 0x00000010,
  464. AA_MODE_REPLAY_SAMPLES_FOUR = 0x00000020,
  465. AA_MODE_REPLAY_SAMPLES_EIGHT = 0x00000030,
  466. AA_MODE_REPLAY_SAMPLES_MAX = 0x00000030,
  467. AA_MODE_REPLAY_MODE_MASK = 0x0000000f,
  468. AA_MODE_REPLAY_MODE_OFF = 0x00000000,
  469. AA_MODE_REPLAY_MODE_ALPHA_TEST = 0x00000001,
  470. AA_MODE_REPLAY_MODE_PIXEL_KILL = 0x00000002,
  471. AA_MODE_REPLAY_MODE_DYN_BRANCH = 0x00000004,
  472. AA_MODE_REPLAY_MODE_OPTIMAL = 0x00000004,
  473. AA_MODE_REPLAY_MODE_ALL = 0x00000008,
  474. AA_MODE_REPLAY_MODE_MAX = 0x0000000f,
  475. AA_MODE_REPLAY_TRANSPARENCY = 0x00000023,
  476. AA_MODE_REPLAY_DISALLOW_TRAA = 0x00000100,
  477. AA_MODE_REPLAY_TRANSPARENCY_DEFAULT = 0x00000000,
  478. AA_MODE_REPLAY_TRANSPARENCY_DEFAULT_TESLA = 0x00000000,
  479. AA_MODE_REPLAY_TRANSPARENCY_DEFAULT_FERMI = 0x00000000,
  480. AA_MODE_REPLAY_MASK = 0x0000017f,
  481. AA_MODE_REPLAY_NUM_VALUES = 20,
  482. AA_MODE_REPLAY_DEFAULT = 0x00000000
  483. };
  484. enum EValues_AA_MODE_SELECTOR {
  485. AA_MODE_SELECTOR_MASK = 0x00000003,
  486. AA_MODE_SELECTOR_APP_CONTROL = 0x00000000,
  487. AA_MODE_SELECTOR_OVERRIDE = 0x00000001,
  488. AA_MODE_SELECTOR_ENHANCE = 0x00000002,
  489. AA_MODE_SELECTOR_MAX = 0x00000002,
  490. AA_MODE_SELECTOR_NUM_VALUES = 5,
  491. AA_MODE_SELECTOR_DEFAULT = AA_MODE_SELECTOR_APP_CONTROL
  492. };
  493. enum EValues_AA_MODE_SELECTOR_SLIAA {
  494. AA_MODE_SELECTOR_SLIAA_DISABLED = 0,
  495. AA_MODE_SELECTOR_SLIAA_ENABLED = 1,
  496. AA_MODE_SELECTOR_SLIAA_NUM_VALUES = 2,
  497. AA_MODE_SELECTOR_SLIAA_DEFAULT = AA_MODE_SELECTOR_SLIAA_DISABLED
  498. };
  499. enum EValues_ANISO_MODE_LEVEL {
  500. ANISO_MODE_LEVEL_MASK = 0x0000ffff,
  501. ANISO_MODE_LEVEL_NONE_POINT = 0x00000000,
  502. ANISO_MODE_LEVEL_NONE_LINEAR = 0x00000001,
  503. ANISO_MODE_LEVEL_MAX = 0x00000010,
  504. ANISO_MODE_LEVEL_DEFAULT = 0x00000001,
  505. ANISO_MODE_LEVEL_NUM_VALUES = 5,
  506. };
  507. enum EValues_ANISO_MODE_SELECTOR {
  508. ANISO_MODE_SELECTOR_MASK = 0x0000000f,
  509. ANISO_MODE_SELECTOR_APP = 0x00000000,
  510. ANISO_MODE_SELECTOR_USER = 0x00000001,
  511. ANISO_MODE_SELECTOR_COND = 0x00000002,
  512. ANISO_MODE_SELECTOR_MAX = 0x00000002,
  513. ANISO_MODE_SELECTOR_DEFAULT = 0x00000000,
  514. ANISO_MODE_SELECTOR_NUM_VALUES = 6,
  515. };
  516. enum EValues_APPLICATION_PROFILE_NOTIFICATION_TIMEOUT {
  517. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_DISABLED = 0,
  518. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_NINE_SECONDS = 9,
  519. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_FIFTEEN_SECONDS = 15,
  520. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_THIRTY_SECONDS = 30,
  521. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_ONE_MINUTE = 60,
  522. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_TWO_MINUTES = 120,
  523. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_NUM_VALUES = 6,
  524. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_DEFAULT = APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_DISABLED
  525. };
  526. enum EValues_CPL_HIDDEN_PROFILE {
  527. CPL_HIDDEN_PROFILE_DISABLED = 0,
  528. CPL_HIDDEN_PROFILE_ENABLED = 1,
  529. CPL_HIDDEN_PROFILE_NUM_VALUES = 2,
  530. CPL_HIDDEN_PROFILE_DEFAULT = CPL_HIDDEN_PROFILE_DISABLED
  531. };
  532. #define CUDA_EXCLUDED_GPUS_NONE L"none"
  533. #define CUDA_EXCLUDED_GPUS_NUM_VALUES 1
  534. #define CUDA_EXCLUDED_GPUS_DEFAULT CUDA_EXCLUDED_GPUS_NONE
  535. #define D3DOGL_GPU_MAX_POWER_DEFAULTPOWER L"0"
  536. #define D3DOGL_GPU_MAX_POWER_NUM_VALUES 1
  537. #define D3DOGL_GPU_MAX_POWER_DEFAULT D3DOGL_GPU_MAX_POWER_DEFAULTPOWER
  538. enum EValues_EXPORT_PERF_COUNTERS {
  539. EXPORT_PERF_COUNTERS_OFF = 0x00000000,
  540. EXPORT_PERF_COUNTERS_ON = 0x00000001,
  541. EXPORT_PERF_COUNTERS_NUM_VALUES = 2,
  542. EXPORT_PERF_COUNTERS_DEFAULT = EXPORT_PERF_COUNTERS_OFF
  543. };
  544. enum EValues_FXAA_ALLOW {
  545. FXAA_ALLOW_DISALLOWED = 0,
  546. FXAA_ALLOW_ALLOWED = 1,
  547. FXAA_ALLOW_NUM_VALUES = 2,
  548. FXAA_ALLOW_DEFAULT = FXAA_ALLOW_ALLOWED
  549. };
  550. enum EValues_FXAA_ENABLE {
  551. FXAA_ENABLE_OFF = 0,
  552. FXAA_ENABLE_ON = 1,
  553. FXAA_ENABLE_NUM_VALUES = 2,
  554. FXAA_ENABLE_DEFAULT = FXAA_ENABLE_OFF
  555. };
  556. enum EValues_FXAA_INDICATOR_ENABLE {
  557. FXAA_INDICATOR_ENABLE_OFF = 0,
  558. FXAA_INDICATOR_ENABLE_ON = 1,
  559. FXAA_INDICATOR_ENABLE_NUM_VALUES = 2,
  560. FXAA_INDICATOR_ENABLE_DEFAULT = FXAA_INDICATOR_ENABLE_OFF
  561. };
  562. enum EValues_MCSFRSHOWSPLIT {
  563. MCSFRSHOWSPLIT_DISABLED = 0x34534064,
  564. MCSFRSHOWSPLIT_ENABLED = 0x24545582,
  565. MCSFRSHOWSPLIT_NUM_VALUES = 2,
  566. MCSFRSHOWSPLIT_DEFAULT = MCSFRSHOWSPLIT_DISABLED
  567. };
  568. enum EValues_NV_QUALITY_UPSCALING {
  569. NV_QUALITY_UPSCALING_OFF = 0,
  570. NV_QUALITY_UPSCALING_ON = 1,
  571. NV_QUALITY_UPSCALING_NUM_VALUES = 2,
  572. NV_QUALITY_UPSCALING_DEFAULT = NV_QUALITY_UPSCALING_OFF
  573. };
  574. enum EValues_OPTIMUS_MAXAA {
  575. OPTIMUS_MAXAA_MIN = 0,
  576. OPTIMUS_MAXAA_MAX = 16,
  577. OPTIMUS_MAXAA_NUM_VALUES = 2,
  578. OPTIMUS_MAXAA_DEFAULT = 0
  579. };
  580. enum EValues_PHYSXINDICATOR {
  581. PHYSXINDICATOR_DISABLED = 0x34534064,
  582. PHYSXINDICATOR_ENABLED = 0x24545582,
  583. PHYSXINDICATOR_NUM_VALUES = 2,
  584. PHYSXINDICATOR_DEFAULT = PHYSXINDICATOR_DISABLED
  585. };
  586. enum EValues_PREFERRED_PSTATE {
  587. PREFERRED_PSTATE_ADAPTIVE = 0x00000000,
  588. PREFERRED_PSTATE_PREFER_MAX = 0x00000001,
  589. PREFERRED_PSTATE_DRIVER_CONTROLLED = 0x00000002,
  590. PREFERRED_PSTATE_PREFER_CONSISTENT_PERFORMANCE = 0x00000003,
  591. PREFERRED_PSTATE_PREFER_MIN = 0x00000004,
  592. PREFERRED_PSTATE_MIN = 0x00000000,
  593. PREFERRED_PSTATE_MAX = 0x00000004,
  594. PREFERRED_PSTATE_NUM_VALUES = 7,
  595. PREFERRED_PSTATE_DEFAULT = PREFERRED_PSTATE_ADAPTIVE
  596. };
  597. enum EValues_PREVENT_UI_AF_OVERRIDE {
  598. PREVENT_UI_AF_OVERRIDE_OFF = 0,
  599. PREVENT_UI_AF_OVERRIDE_ON = 1,
  600. PREVENT_UI_AF_OVERRIDE_NUM_VALUES = 2,
  601. PREVENT_UI_AF_OVERRIDE_DEFAULT = PREVENT_UI_AF_OVERRIDE_OFF
  602. };
  603. enum EValues_PS_FRAMERATE_LIMITER {
  604. PS_FRAMERATE_LIMITER_DISABLED = 0x00000000,
  605. PS_FRAMERATE_LIMITER_FPS_20 = 0x00000014,
  606. PS_FRAMERATE_LIMITER_FPS_30 = 0x0000001e,
  607. PS_FRAMERATE_LIMITER_FPS_40 = 0x00000028,
  608. PS_FRAMERATE_LIMITER_FPSMASK = 0x000000ff,
  609. PS_FRAMERATE_LIMITER_FRL2 = 0x00010000,
  610. PS_FRAMERATE_LIMITER_FORCE_VSYNC_OFF = 0x00040000,
  611. PS_FRAMERATE_LIMITER_GPS_WEB = 0x00080000,
  612. PS_FRAMERATE_LIMITER_FORCE_OPTIMUS_POLICY = 0x00100000,
  613. PS_FRAMERATE_LIMITER_DISALLOWED = 0x00200000,
  614. PS_FRAMERATE_LIMITER_USE_CPU_WAIT = 0x00400000,
  615. PS_FRAMERATE_LIMITER_THRESHOLD = 0x00000000,
  616. PS_FRAMERATE_LIMITER_TEMPERATURE = 0x02000000,
  617. PS_FRAMERATE_LIMITER_POWER = 0x04000000,
  618. PS_FRAMERATE_LIMITER_MODEMASK = 0x0f000000,
  619. PS_FRAMERATE_LIMITER_ACCURATE = 0x10000000,
  620. PS_FRAMERATE_LIMITER_ALLOW_WINDOWED = 0x20000000,
  621. PS_FRAMERATE_LIMITER_FORCEON = 0x40000000,
  622. PS_FRAMERATE_LIMITER_ENABLED = 0x80000000,
  623. PS_FRAMERATE_LIMITER_OPENGL_REMOTE_DESKTOP = 0xe010003c,
  624. PS_FRAMERATE_LIMITER_MASK = 0xff7C00ff,
  625. PS_FRAMERATE_LIMITER_NUM_VALUES = 21,
  626. PS_FRAMERATE_LIMITER_DEFAULT = PS_FRAMERATE_LIMITER_DISABLED
  627. };
  628. enum EValues_PS_FRAMERATE_LIMITER_2_CONTROL {
  629. PS_FRAMERATE_LIMITER_2_CONTROL_DELAY_CE = 0x00000000,
  630. PS_FRAMERATE_LIMITER_2_CONTROL_DELAY_3D = 0x00000001,
  631. PS_FRAMERATE_LIMITER_2_CONTROL_AVOID_NOOP = 0x00000002,
  632. PS_FRAMERATE_LIMITER_2_CONTROL_ALLOW_ALL_MAXWELL = 0x00000010,
  633. PS_FRAMERATE_LIMITER_2_CONTROL_ALLOW_ALL = 0x00000020,
  634. PS_FRAMERATE_LIMITER_2_CONTROL_FORCE_OFF = 0x00000040,
  635. PS_FRAMERATE_LIMITER_2_CONTROL_DEFAULT_FOR_GM10X = 0x00000011,
  636. PS_FRAMERATE_LIMITER_2_CONTROL_NUM_VALUES = 7,
  637. PS_FRAMERATE_LIMITER_2_CONTROL_DEFAULT = PS_FRAMERATE_LIMITER_2_CONTROL_DELAY_CE
  638. };
  639. enum EValues_PS_FRAMERATE_LIMITER_GPS_CTRL {
  640. PS_FRAMERATE_LIMITER_GPS_CTRL_DISABLED = 0x00000000,
  641. PS_FRAMERATE_LIMITER_GPS_CTRL_DECREASE_FILTER_MASK = 0x000001FF,
  642. PS_FRAMERATE_LIMITER_GPS_CTRL_PAUSE_TIME_MASK = 0x0000FE00,
  643. PS_FRAMERATE_LIMITER_GPS_CTRL_PAUSE_TIME_SHIFT = 9,
  644. PS_FRAMERATE_LIMITER_GPS_CTRL_TARGET_RENDER_TIME_MASK = 0x00FF0000,
  645. PS_FRAMERATE_LIMITER_GPS_CTRL_TARGET_RENDER_TIME_SHIFT = 16,
  646. PS_FRAMERATE_LIMITER_GPS_CTRL_PERF_STEP_SIZE_MASK = 0x1F000000,
  647. PS_FRAMERATE_LIMITER_GPS_CTRL_PERF_STEP_SIZE_SHIFT = 24,
  648. PS_FRAMERATE_LIMITER_GPS_CTRL_INCREASE_FILTER_MASK = 0xE0000000,
  649. PS_FRAMERATE_LIMITER_GPS_CTRL_INCREASE_FILTER_SHIFT = 29,
  650. PS_FRAMERATE_LIMITER_GPS_CTRL_OPTIMAL_SETTING = 0x4A5A3219,
  651. PS_FRAMERATE_LIMITER_GPS_CTRL_NUM_VALUES = 11,
  652. PS_FRAMERATE_LIMITER_GPS_CTRL_DEFAULT = PS_FRAMERATE_LIMITER_GPS_CTRL_DISABLED
  653. };
  654. enum EValues_PS_FRAMERATE_MONITOR_CTRL {
  655. PS_FRAMERATE_MONITOR_CTRL_DISABLED = 0x00000000,
  656. PS_FRAMERATE_MONITOR_CTRL_THRESHOLD_PCT_MASK = 0x000000FF,
  657. PS_FRAMERATE_MONITOR_CTRL_MOVING_AVG_X_MASK = 0x00000F00,
  658. PS_FRAMERATE_MONITOR_CTRL_MOVING_AVG_X_SHIFT = 8,
  659. PS_FRAMERATE_MONITOR_CTRL_ENABLE_ON_VSYNC = 0x00800000,
  660. PS_FRAMERATE_MONITOR_CTRL_VSYNC_OFFSET_MASK = 0x0000F000,
  661. PS_FRAMERATE_MONITOR_CTRL_VSYNC_OFFSET_SHIFT = 12,
  662. PS_FRAMERATE_MONITOR_CTRL_FPS_USE_FRL = 0x00000000,
  663. PS_FRAMERATE_MONITOR_CTRL_FPS_30 = 0x1E000000,
  664. PS_FRAMERATE_MONITOR_CTRL_FPS_60 = 0x3C000000,
  665. PS_FRAMERATE_MONITOR_CTRL_FPS_MASK = 0xFF000000,
  666. PS_FRAMERATE_MONITOR_CTRL_FPS_SHIFT = 24,
  667. PS_FRAMERATE_MONITOR_CTRL_OPTIMAL_SETTING = 0x00000364,
  668. PS_FRAMERATE_MONITOR_CTRL_VSYNC_OPTIMAL_SETTING = 0x0080f364,
  669. PS_FRAMERATE_MONITOR_CTRL_NUM_VALUES = 14,
  670. PS_FRAMERATE_MONITOR_CTRL_DEFAULT = PS_FRAMERATE_MONITOR_CTRL_DISABLED
  671. };
  672. enum EValues_SHIM_MCCOMPAT {
  673. SHIM_MCCOMPAT_INTEGRATED = 0x00000000,
  674. SHIM_MCCOMPAT_ENABLE = 0x00000001,
  675. SHIM_MCCOMPAT_USER_EDITABLE = 0x00000002,
  676. SHIM_MCCOMPAT_MASK = 0x00000003,
  677. SHIM_MCCOMPAT_VIDEO_MASK = 0x00000004,
  678. SHIM_MCCOMPAT_VARYING_BIT = 0x00000008,
  679. SHIM_MCCOMPAT_AUTO_SELECT = 0x00000010,
  680. SHIM_MCCOMPAT_OVERRIDE_BIT = 0x80000000,
  681. SHIM_MCCOMPAT_NUM_VALUES = 8,
  682. SHIM_MCCOMPAT_DEFAULT = SHIM_MCCOMPAT_AUTO_SELECT
  683. };
  684. enum EValues_SHIM_RENDERING_MODE {
  685. SHIM_RENDERING_MODE_INTEGRATED = 0x00000000,
  686. SHIM_RENDERING_MODE_ENABLE = 0x00000001,
  687. SHIM_RENDERING_MODE_USER_EDITABLE = 0x00000002,
  688. SHIM_RENDERING_MODE_MASK = 0x00000003,
  689. SHIM_RENDERING_MODE_VIDEO_MASK = 0x00000004,
  690. SHIM_RENDERING_MODE_VARYING_BIT = 0x00000008,
  691. SHIM_RENDERING_MODE_AUTO_SELECT = 0x00000010,
  692. SHIM_RENDERING_MODE_OVERRIDE_BIT = 0x80000000,
  693. SHIM_RENDERING_MODE_NUM_VALUES = 8,
  694. SHIM_RENDERING_MODE_DEFAULT = SHIM_RENDERING_MODE_AUTO_SELECT
  695. };
  696. enum EValues_SHIM_RENDERING_OPTIONS {
  697. SHIM_RENDERING_OPTIONS_DEFAULT_RENDERING_MODE = 0x00000000,
  698. SHIM_RENDERING_OPTIONS_DISABLE_ASYNC_PRESENT = 0x00000001,
  699. SHIM_RENDERING_OPTIONS_EHSHELL_DETECT = 0x00000002,
  700. SHIM_RENDERING_OPTIONS_FLASHPLAYER_HOST_DETECT = 0x00000004,
  701. SHIM_RENDERING_OPTIONS_VIDEO_DRM_APP_DETECT = 0x00000008,
  702. SHIM_RENDERING_OPTIONS_IGNORE_OVERRIDES = 0x00000010,
  703. SHIM_RENDERING_OPTIONS_RESERVED1 = 0x00000020,
  704. SHIM_RENDERING_OPTIONS_ENABLE_DWM_ASYNC_PRESENT = 0x00000040,
  705. SHIM_RENDERING_OPTIONS_RESERVED2 = 0x00000080,
  706. SHIM_RENDERING_OPTIONS_ALLOW_INHERITANCE = 0x00000100,
  707. SHIM_RENDERING_OPTIONS_DISABLE_WRAPPERS = 0x00000200,
  708. SHIM_RENDERING_OPTIONS_DISABLE_DXGI_WRAPPERS = 0x00000400,
  709. SHIM_RENDERING_OPTIONS_PRUNE_UNSUPPORTED_FORMATS = 0x00000800,
  710. SHIM_RENDERING_OPTIONS_ENABLE_ALPHA_FORMAT = 0x00001000,
  711. SHIM_RENDERING_OPTIONS_IGPU_TRANSCODING = 0x00002000,
  712. SHIM_RENDERING_OPTIONS_DISABLE_CUDA = 0x00004000,
  713. SHIM_RENDERING_OPTIONS_ALLOW_CP_CAPS_FOR_VIDEO = 0x00008000,
  714. SHIM_RENDERING_OPTIONS_IGPU_TRANSCODING_FWD_OPTIMUS = 0x00010000,
  715. SHIM_RENDERING_OPTIONS_DISABLE_DURING_SECURE_BOOT = 0x00020000,
  716. SHIM_RENDERING_OPTIONS_INVERT_FOR_QUADRO = 0x00040000,
  717. SHIM_RENDERING_OPTIONS_INVERT_FOR_MSHYBRID = 0x00080000,
  718. SHIM_RENDERING_OPTIONS_REGISTER_PROCESS_ENABLE_GOLD = 0x00100000,
  719. SHIM_RENDERING_OPTIONS_HANDLE_WINDOWED_MODE_PERF_OPT = 0x00200000,
  720. SHIM_RENDERING_OPTIONS_HANDLE_WIN7_ASYNC_RUNTIME_BUG = 0x00400000,
  721. SHIM_RENDERING_OPTIONS_NUM_VALUES = 24,
  722. SHIM_RENDERING_OPTIONS_DEFAULT = SHIM_RENDERING_OPTIONS_DEFAULT_RENDERING_MODE
  723. };
  724. enum EValues_SLI_GPU_COUNT {
  725. SLI_GPU_COUNT_AUTOSELECT = 0x00000000,
  726. SLI_GPU_COUNT_ONE = 0x00000001,
  727. SLI_GPU_COUNT_TWO = 0x00000002,
  728. SLI_GPU_COUNT_THREE = 0x00000003,
  729. SLI_GPU_COUNT_FOUR = 0x00000004,
  730. SLI_GPU_COUNT_NUM_VALUES = 5,
  731. SLI_GPU_COUNT_DEFAULT = SLI_GPU_COUNT_AUTOSELECT
  732. };
  733. enum EValues_SLI_PREDEFINED_GPU_COUNT {
  734. SLI_PREDEFINED_GPU_COUNT_AUTOSELECT = 0x00000000,
  735. SLI_PREDEFINED_GPU_COUNT_ONE = 0x00000001,
  736. SLI_PREDEFINED_GPU_COUNT_TWO = 0x00000002,
  737. SLI_PREDEFINED_GPU_COUNT_THREE = 0x00000003,
  738. SLI_PREDEFINED_GPU_COUNT_FOUR = 0x00000004,
  739. SLI_PREDEFINED_GPU_COUNT_NUM_VALUES = 5,
  740. SLI_PREDEFINED_GPU_COUNT_DEFAULT = SLI_PREDEFINED_GPU_COUNT_AUTOSELECT
  741. };
  742. enum EValues_SLI_PREDEFINED_GPU_COUNT_DX10 {
  743. SLI_PREDEFINED_GPU_COUNT_DX10_AUTOSELECT = 0x00000000,
  744. SLI_PREDEFINED_GPU_COUNT_DX10_ONE = 0x00000001,
  745. SLI_PREDEFINED_GPU_COUNT_DX10_TWO = 0x00000002,
  746. SLI_PREDEFINED_GPU_COUNT_DX10_THREE = 0x00000003,
  747. SLI_PREDEFINED_GPU_COUNT_DX10_FOUR = 0x00000004,
  748. SLI_PREDEFINED_GPU_COUNT_DX10_NUM_VALUES = 5,
  749. SLI_PREDEFINED_GPU_COUNT_DX10_DEFAULT = SLI_PREDEFINED_GPU_COUNT_DX10_AUTOSELECT
  750. };
  751. enum EValues_SLI_PREDEFINED_MODE {
  752. SLI_PREDEFINED_MODE_AUTOSELECT = 0x00000000,
  753. SLI_PREDEFINED_MODE_FORCE_SINGLE = 0x00000001,
  754. SLI_PREDEFINED_MODE_FORCE_AFR = 0x00000002,
  755. SLI_PREDEFINED_MODE_FORCE_AFR2 = 0x00000003,
  756. SLI_PREDEFINED_MODE_FORCE_SFR = 0x00000004,
  757. SLI_PREDEFINED_MODE_FORCE_AFR_OF_SFR__FALLBACK_3AFR = 0x00000005,
  758. SLI_PREDEFINED_MODE_NUM_VALUES = 6,
  759. SLI_PREDEFINED_MODE_DEFAULT = SLI_PREDEFINED_MODE_AUTOSELECT
  760. };
  761. enum EValues_SLI_PREDEFINED_MODE_DX10 {
  762. SLI_PREDEFINED_MODE_DX10_AUTOSELECT = 0x00000000,
  763. SLI_PREDEFINED_MODE_DX10_FORCE_SINGLE = 0x00000001,
  764. SLI_PREDEFINED_MODE_DX10_FORCE_AFR = 0x00000002,
  765. SLI_PREDEFINED_MODE_DX10_FORCE_AFR2 = 0x00000003,
  766. SLI_PREDEFINED_MODE_DX10_FORCE_SFR = 0x00000004,
  767. SLI_PREDEFINED_MODE_DX10_FORCE_AFR_OF_SFR__FALLBACK_3AFR = 0x00000005,
  768. SLI_PREDEFINED_MODE_DX10_NUM_VALUES = 6,
  769. SLI_PREDEFINED_MODE_DX10_DEFAULT = SLI_PREDEFINED_MODE_DX10_AUTOSELECT
  770. };
  771. enum EValues_SLI_RENDERING_MODE {
  772. SLI_RENDERING_MODE_AUTOSELECT = 0x00000000,
  773. SLI_RENDERING_MODE_FORCE_SINGLE = 0x00000001,
  774. SLI_RENDERING_MODE_FORCE_AFR = 0x00000002,
  775. SLI_RENDERING_MODE_FORCE_AFR2 = 0x00000003,
  776. SLI_RENDERING_MODE_FORCE_SFR = 0x00000004,
  777. SLI_RENDERING_MODE_FORCE_AFR_OF_SFR__FALLBACK_3AFR = 0x00000005,
  778. SLI_RENDERING_MODE_NUM_VALUES = 6,
  779. SLI_RENDERING_MODE_DEFAULT = SLI_RENDERING_MODE_AUTOSELECT
  780. };
  781. enum EValues_VRPRERENDERLIMIT {
  782. VRPRERENDERLIMIT_MIN = 0x00,
  783. VRPRERENDERLIMIT_MAX = 0xff,
  784. VRPRERENDERLIMIT_APP_CONTROLLED = 0x00,
  785. VRPRERENDERLIMIT_DEFAULT = 0x01,
  786. VRPRERENDERLIMIT_NUM_VALUES = 4,
  787. };
  788. enum EValues_VRRFEATUREINDICATOR {
  789. VRRFEATUREINDICATOR_DISABLED = 0x0,
  790. VRRFEATUREINDICATOR_ENABLED = 0x1,
  791. VRRFEATUREINDICATOR_NUM_VALUES = 2,
  792. VRRFEATUREINDICATOR_DEFAULT = VRRFEATUREINDICATOR_ENABLED
  793. };
  794. enum EValues_VRROVERLAYINDICATOR {
  795. VRROVERLAYINDICATOR_DISABLED = 0x0,
  796. VRROVERLAYINDICATOR_ENABLED = 0x1,
  797. VRROVERLAYINDICATOR_NUM_VALUES = 2,
  798. VRROVERLAYINDICATOR_DEFAULT = VRROVERLAYINDICATOR_ENABLED
  799. };
  800. enum EValues_VRRREQUESTSTATE {
  801. VRRREQUESTSTATE_DISABLED = 0x0,
  802. VRRREQUESTSTATE_FULLSCREEN_ONLY = 0x1,
  803. VRRREQUESTSTATE_FULLSCREEN_AND_WINDOWED = 0x2,
  804. VRRREQUESTSTATE_NUM_VALUES = 3,
  805. VRRREQUESTSTATE_DEFAULT = VRRREQUESTSTATE_FULLSCREEN_ONLY
  806. };
  807. enum EValues_VRR_APP_OVERRIDE {
  808. VRR_APP_OVERRIDE_ALLOW = 0,
  809. VRR_APP_OVERRIDE_FORCE_OFF = 1,
  810. VRR_APP_OVERRIDE_DISALLOW = 2,
  811. VRR_APP_OVERRIDE_ULMB = 3,
  812. VRR_APP_OVERRIDE_FIXED_REFRESH = 4,
  813. VRR_APP_OVERRIDE_NUM_VALUES = 5,
  814. VRR_APP_OVERRIDE_DEFAULT = VRR_APP_OVERRIDE_ALLOW
  815. };
  816. enum EValues_VRR_APP_OVERRIDE_REQUEST_STATE {
  817. VRR_APP_OVERRIDE_REQUEST_STATE_ALLOW = 0,
  818. VRR_APP_OVERRIDE_REQUEST_STATE_FORCE_OFF = 1,
  819. VRR_APP_OVERRIDE_REQUEST_STATE_DISALLOW = 2,
  820. VRR_APP_OVERRIDE_REQUEST_STATE_ULMB = 3,
  821. VRR_APP_OVERRIDE_REQUEST_STATE_FIXED_REFRESH = 4,
  822. VRR_APP_OVERRIDE_REQUEST_STATE_NUM_VALUES = 5,
  823. VRR_APP_OVERRIDE_REQUEST_STATE_DEFAULT = VRR_APP_OVERRIDE_REQUEST_STATE_ALLOW
  824. };
  825. enum EValues_VRR_MODE {
  826. VRR_MODE_DISABLED = 0x0,
  827. VRR_MODE_FULLSCREEN_ONLY = 0x1,
  828. VRR_MODE_FULLSCREEN_AND_WINDOWED = 0x2,
  829. VRR_MODE_NUM_VALUES = 3,
  830. VRR_MODE_DEFAULT = VRR_MODE_FULLSCREEN_ONLY
  831. };
  832. enum EValues_VSYNCSMOOTHAFR {
  833. VSYNCSMOOTHAFR_OFF = 0x00000000,
  834. VSYNCSMOOTHAFR_ON = 0x00000001,
  835. VSYNCSMOOTHAFR_NUM_VALUES = 2,
  836. VSYNCSMOOTHAFR_DEFAULT = VSYNCSMOOTHAFR_OFF
  837. };
  838. enum EValues_VSYNCVRRCONTROL {
  839. VSYNCVRRCONTROL_DISABLE = 0x00000000,
  840. VSYNCVRRCONTROL_ENABLE = 0x00000001,
  841. VSYNCVRRCONTROL_NOTSUPPORTED = 0x9f95128e,
  842. VSYNCVRRCONTROL_NUM_VALUES = 3,
  843. VSYNCVRRCONTROL_DEFAULT = VSYNCVRRCONTROL_ENABLE
  844. };
  845. enum EValues_VSYNC_BEHAVIOR_FLAGS {
  846. VSYNC_BEHAVIOR_FLAGS_NONE = 0x00000000,
  847. VSYNC_BEHAVIOR_FLAGS_DEFAULT = 0x00000000,
  848. VSYNC_BEHAVIOR_FLAGS_IGNORE_FLIPINTERVAL_MULTIPLE = 0x00000001,
  849. VSYNC_BEHAVIOR_FLAGS_NUM_VALUES = 3,
  850. };
  851. enum EValues_WKS_API_STEREO_EYES_EXCHANGE {
  852. WKS_API_STEREO_EYES_EXCHANGE_OFF = 0,
  853. WKS_API_STEREO_EYES_EXCHANGE_ON = 1,
  854. WKS_API_STEREO_EYES_EXCHANGE_NUM_VALUES = 2,
  855. WKS_API_STEREO_EYES_EXCHANGE_DEFAULT = WKS_API_STEREO_EYES_EXCHANGE_OFF
  856. };
  857. enum EValues_WKS_API_STEREO_MODE {
  858. WKS_API_STEREO_MODE_SHUTTER_GLASSES = 0,
  859. WKS_API_STEREO_MODE_VERTICAL_INTERLACED = 1,
  860. WKS_API_STEREO_MODE_TWINVIEW = 2,
  861. WKS_API_STEREO_MODE_NV17_SHUTTER_GLASSES_AUTO = 3,
  862. WKS_API_STEREO_MODE_NV17_SHUTTER_GLASSES_DAC0 = 4,
  863. WKS_API_STEREO_MODE_NV17_SHUTTER_GLASSES_DAC1 = 5,
  864. WKS_API_STEREO_MODE_COLOR_LINE = 6,
  865. WKS_API_STEREO_MODE_COLOR_INTERLEAVED = 7,
  866. WKS_API_STEREO_MODE_ANAGLYPH = 8,
  867. WKS_API_STEREO_MODE_HORIZONTAL_INTERLACED = 9,
  868. WKS_API_STEREO_MODE_SIDE_FIELD = 10,
  869. WKS_API_STEREO_MODE_SUB_FIELD = 11,
  870. WKS_API_STEREO_MODE_CHECKERBOARD = 12,
  871. WKS_API_STEREO_MODE_INVERSE_CHECKERBOARD = 13,
  872. WKS_API_STEREO_MODE_TRIDELITY_SL = 14,
  873. WKS_API_STEREO_MODE_TRIDELITY_MV = 15,
  874. WKS_API_STEREO_MODE_SEEFRONT = 16,
  875. WKS_API_STEREO_MODE_STEREO_MIRROR = 17,
  876. WKS_API_STEREO_MODE_FRAME_SEQUENTIAL = 18,
  877. WKS_API_STEREO_MODE_AUTODETECT_PASSIVE_MODE = 19,
  878. WKS_API_STEREO_MODE_AEGIS_DT_FRAME_SEQUENTIAL = 20,
  879. WKS_API_STEREO_MODE_OEM_EMITTER_FRAME_SEQUENTIAL = 21,
  880. WKS_API_STEREO_MODE_USE_HW_DEFAULT = 0xffffffff,
  881. WKS_API_STEREO_MODE_DEFAULT_GL = 3,
  882. WKS_API_STEREO_MODE_NUM_VALUES = 24,
  883. WKS_API_STEREO_MODE_DEFAULT = WKS_API_STEREO_MODE_SHUTTER_GLASSES
  884. };
  885. enum EValues_WKS_MEMORY_ALLOCATION_POLICY {
  886. WKS_MEMORY_ALLOCATION_POLICY_AS_NEEDED = 0x0,
  887. WKS_MEMORY_ALLOCATION_POLICY_MODERATE_PRE_ALLOCATION = 0x1,
  888. WKS_MEMORY_ALLOCATION_POLICY_AGGRESSIVE_PRE_ALLOCATION = 0x2,
  889. WKS_MEMORY_ALLOCATION_POLICY_NUM_VALUES = 3,
  890. WKS_MEMORY_ALLOCATION_POLICY_DEFAULT = WKS_MEMORY_ALLOCATION_POLICY_AS_NEEDED
  891. };
  892. enum EValues_WKS_STEREO_DONGLE_SUPPORT {
  893. WKS_STEREO_DONGLE_SUPPORT_OFF = 0,
  894. WKS_STEREO_DONGLE_SUPPORT_DAC = 1,
  895. WKS_STEREO_DONGLE_SUPPORT_DLP = 2,
  896. WKS_STEREO_DONGLE_SUPPORT_NUM_VALUES = 3,
  897. WKS_STEREO_DONGLE_SUPPORT_DEFAULT = WKS_STEREO_DONGLE_SUPPORT_OFF
  898. };
  899. enum EValues_WKS_STEREO_SUPPORT {
  900. WKS_STEREO_SUPPORT_OFF = 0,
  901. WKS_STEREO_SUPPORT_ON = 1,
  902. WKS_STEREO_SUPPORT_NUM_VALUES = 2,
  903. WKS_STEREO_SUPPORT_DEFAULT = WKS_STEREO_SUPPORT_OFF
  904. };
  905. enum EValues_WKS_STEREO_SWAP_MODE {
  906. WKS_STEREO_SWAP_MODE_APPLICATION_CONTROL = 0x0,
  907. WKS_STEREO_SWAP_MODE_PER_EYE = 0x1,
  908. WKS_STEREO_SWAP_MODE_PER_EYE_PAIR = 0x2,
  909. WKS_STEREO_SWAP_MODE_LEGACY_BEHAVIOR = 0x3,
  910. WKS_STEREO_SWAP_MODE_NUM_VALUES = 4,
  911. WKS_STEREO_SWAP_MODE_DEFAULT = WKS_STEREO_SWAP_MODE_APPLICATION_CONTROL
  912. };
  913. enum EValues_AO_MODE {
  914. AO_MODE_OFF = 0,
  915. AO_MODE_LOW = 1,
  916. AO_MODE_MEDIUM = 2,
  917. AO_MODE_HIGH = 3,
  918. AO_MODE_NUM_VALUES = 4,
  919. AO_MODE_DEFAULT = AO_MODE_OFF
  920. };
  921. enum EValues_AO_MODE_ACTIVE {
  922. AO_MODE_ACTIVE_DISABLED = 0,
  923. AO_MODE_ACTIVE_ENABLED = 1,
  924. AO_MODE_ACTIVE_NUM_VALUES = 2,
  925. AO_MODE_ACTIVE_DEFAULT = AO_MODE_ACTIVE_DISABLED
  926. };
  927. enum EValues_AUTO_LODBIASADJUST {
  928. AUTO_LODBIASADJUST_OFF = 0x00000000,
  929. AUTO_LODBIASADJUST_ON = 0x00000001,
  930. AUTO_LODBIASADJUST_NUM_VALUES = 2,
  931. AUTO_LODBIASADJUST_DEFAULT = AUTO_LODBIASADJUST_ON
  932. };
  933. enum EValues_LODBIASADJUST {
  934. LODBIASADJUST_MIN = 0xffffff80,
  935. LODBIASADJUST_MAX = 128,
  936. LODBIASADJUST_NUM_VALUES = 2,
  937. LODBIASADJUST_DEFAULT = 0
  938. };
  939. enum EValues_MAXWELL_B_SAMPLE_INTERLEAVE {
  940. MAXWELL_B_SAMPLE_INTERLEAVE_OFF = 0,
  941. MAXWELL_B_SAMPLE_INTERLEAVE_ON = 1,
  942. MAXWELL_B_SAMPLE_INTERLEAVE_NUM_VALUES = 2,
  943. MAXWELL_B_SAMPLE_INTERLEAVE_DEFAULT = MAXWELL_B_SAMPLE_INTERLEAVE_OFF
  944. };
  945. enum EValues_NLS_ALLOW {
  946. NLS_ALLOW_DISALLOWED = 0,
  947. NLS_ALLOW_ALLOWED = 1,
  948. NLS_ALLOW_NUM_VALUES = 2,
  949. NLS_ALLOW_DEFAULT = NLS_ALLOW_ALLOWED
  950. };
  951. enum EValues_NLS_ENABLE {
  952. NLS_ENABLE_OFF = 0,
  953. NLS_ENABLE_ON = 1,
  954. NLS_ENABLE_NUM_VALUES = 2,
  955. NLS_ENABLE_DEFAULT = NLS_ENABLE_OFF
  956. };
  957. enum EValues_PRERENDERLIMIT {
  958. PRERENDERLIMIT_MIN = 0x00,
  959. PRERENDERLIMIT_MAX = 0xff,
  960. PRERENDERLIMIT_APP_CONTROLLED = 0x00,
  961. PRERENDERLIMIT_NUM_VALUES = 3,
  962. PRERENDERLIMIT_DEFAULT = PRERENDERLIMIT_APP_CONTROLLED
  963. };
  964. enum EValues_PS_SHADERDISKCACHE {
  965. PS_SHADERDISKCACHE_OFF = 0x00000000,
  966. PS_SHADERDISKCACHE_ON = 0x00000001,
  967. PS_SHADERDISKCACHE_NUM_VALUES = 2,
  968. PS_SHADERDISKCACHE_DEFAULT = 0x1
  969. };
  970. enum EValues_PS_TEXFILTER_ANISO_OPTS2 {
  971. PS_TEXFILTER_ANISO_OPTS2_OFF = 0x00000000,
  972. PS_TEXFILTER_ANISO_OPTS2_ON = 0x00000001,
  973. PS_TEXFILTER_ANISO_OPTS2_NUM_VALUES = 2,
  974. PS_TEXFILTER_ANISO_OPTS2_DEFAULT = PS_TEXFILTER_ANISO_OPTS2_OFF
  975. };
  976. enum EValues_PS_TEXFILTER_BILINEAR_IN_ANISO {
  977. PS_TEXFILTER_BILINEAR_IN_ANISO_OFF = 0x00000000,
  978. PS_TEXFILTER_BILINEAR_IN_ANISO_ON = 0x00000001,
  979. PS_TEXFILTER_BILINEAR_IN_ANISO_NUM_VALUES = 2,
  980. PS_TEXFILTER_BILINEAR_IN_ANISO_DEFAULT = PS_TEXFILTER_BILINEAR_IN_ANISO_OFF
  981. };
  982. enum EValues_PS_TEXFILTER_DISABLE_TRILIN_SLOPE {
  983. PS_TEXFILTER_DISABLE_TRILIN_SLOPE_OFF = 0x00000000,
  984. PS_TEXFILTER_DISABLE_TRILIN_SLOPE_ON = 0x00000001,
  985. PS_TEXFILTER_DISABLE_TRILIN_SLOPE_NUM_VALUES = 2,
  986. PS_TEXFILTER_DISABLE_TRILIN_SLOPE_DEFAULT = PS_TEXFILTER_DISABLE_TRILIN_SLOPE_OFF
  987. };
  988. enum EValues_PS_TEXFILTER_NO_NEG_LODBIAS {
  989. PS_TEXFILTER_NO_NEG_LODBIAS_OFF = 0x00000000,
  990. PS_TEXFILTER_NO_NEG_LODBIAS_ON = 0x00000001,
  991. PS_TEXFILTER_NO_NEG_LODBIAS_NUM_VALUES = 2,
  992. PS_TEXFILTER_NO_NEG_LODBIAS_DEFAULT = PS_TEXFILTER_NO_NEG_LODBIAS_OFF
  993. };
  994. enum EValues_QUALITY_ENHANCEMENTS {
  995. QUALITY_ENHANCEMENTS_HIGHQUALITY = 0xfffffff6,
  996. QUALITY_ENHANCEMENTS_QUALITY = 0x00000000,
  997. QUALITY_ENHANCEMENTS_PERFORMANCE = 0x0000000a,
  998. QUALITY_ENHANCEMENTS_HIGHPERFORMANCE = 0x00000014,
  999. QUALITY_ENHANCEMENTS_NUM_VALUES = 4,
  1000. QUALITY_ENHANCEMENTS_DEFAULT = QUALITY_ENHANCEMENTS_QUALITY
  1001. };
  1002. enum EValues_REFRESH_RATE_OVERRIDE {
  1003. REFRESH_RATE_OVERRIDE_APPLICATION_CONTROLLED = 0x00000000,
  1004. REFRESH_RATE_OVERRIDE_HIGHEST_AVAILABLE = 0x00000001,
  1005. REFRESH_RATE_OVERRIDE_LOW_LATENCY_RR_MASK = 0x00000FF0,
  1006. REFRESH_RATE_OVERRIDE_NUM_VALUES = 3,
  1007. REFRESH_RATE_OVERRIDE_DEFAULT = REFRESH_RATE_OVERRIDE_APPLICATION_CONTROLLED
  1008. };
  1009. enum EValues_SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE {
  1010. SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_OFF = 0x00000000,
  1011. SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_ON = 0x00000001,
  1012. SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_NUM_VALUES = 2,
  1013. SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_DEFAULT = SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_OFF
  1014. };
  1015. enum EValues_SET_VAB_DATA {
  1016. SET_VAB_DATA_ZERO = 0x00000000,
  1017. SET_VAB_DATA_UINT_ONE = 0x00000001,
  1018. SET_VAB_DATA_FLOAT_ONE = 0x3f800000,
  1019. SET_VAB_DATA_FLOAT_POS_INF = 0x7f800000,
  1020. SET_VAB_DATA_FLOAT_NAN = 0x7fc00000,
  1021. SET_VAB_DATA_USE_API_DEFAULTS = 0xffffffff,
  1022. SET_VAB_DATA_NUM_VALUES = 6,
  1023. SET_VAB_DATA_DEFAULT = SET_VAB_DATA_USE_API_DEFAULTS
  1024. };
  1025. enum EValues_VSYNCMODE {
  1026. VSYNCMODE_PASSIVE = 0x60925292,
  1027. VSYNCMODE_FORCEOFF = 0x08416747,
  1028. VSYNCMODE_FORCEON = 0x47814940,
  1029. VSYNCMODE_FLIPINTERVAL2 = 0x32610244,
  1030. VSYNCMODE_FLIPINTERVAL3 = 0x71271021,
  1031. VSYNCMODE_FLIPINTERVAL4 = 0x13245256,
  1032. VSYNCMODE_NUM_VALUES = 6,
  1033. VSYNCMODE_DEFAULT = VSYNCMODE_PASSIVE
  1034. };
  1035. enum EValues_VSYNCTEARCONTROL {
  1036. VSYNCTEARCONTROL_DISABLE = 0x96861077,
  1037. VSYNCTEARCONTROL_ENABLE = 0x99941284,
  1038. VSYNCTEARCONTROL_NUM_VALUES = 2,
  1039. VSYNCTEARCONTROL_DEFAULT = VSYNCTEARCONTROL_DISABLE
  1040. };
  1041. typedef struct _SettingDWORDNameString {
  1042. NvU32 settingId;
  1043. const wchar_t * settingNameString;
  1044. NvU32 numSettingValues;
  1045. NvU32 *settingValues;
  1046. NvU32 defaultValue;
  1047. } SettingDWORDNameString;
  1048. typedef struct _SettingWSTRINGNameString {
  1049. NvU32 settingId;
  1050. const wchar_t * settingNameString;
  1051. NvU32 numSettingValues;
  1052. const wchar_t **settingValues;
  1053. const wchar_t * defaultValue;
  1054. } SettingWSTRINGNameString;
  1055. #endif // _NVAPI_DRIVER_SETTINGS_H_