aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDave Clark <[email protected]>2018-03-08 15:12:56 -0500
committerDave Clark <[email protected]>2018-03-08 15:12:56 -0500
commit1f9ad132c6d6288d9a842120c05a1a4431800e1c (patch)
tree6b9e178c558d1055b1cc4d0d6ab989ee3fc76448 /include
parentUpdate CHANGELOG.md (diff)
downloadgfesdk-1f9ad132c6d6288d9a842120c05a1a4431800e1c.tar.xz
gfesdk-1f9ad132c6d6288d9a842120c05a1a4431800e1c.zip
Push GfeSDK 1.1.191
Plus documentation updates
Diffstat (limited to 'include')
-rw-r--r--include/gfesdk/config.h6
-rw-r--r--include/gfesdk/gfe3_product_version.h8
-rw-r--r--include/gfesdk/ops/iops.h49
-rw-r--r--include/gfesdk/ops/ops_types.h26
4 files changed, 82 insertions, 7 deletions
diff --git a/include/gfesdk/config.h b/include/gfesdk/config.h
index 21994bc..d29e9e1 100644
--- a/include/gfesdk/config.h
+++ b/include/gfesdk/config.h
@@ -18,8 +18,8 @@
#define NVGSDK_VERSION_MAJOR 1
#define NVGSDK_VERSION_MINOR 1
-#define NVGSDK_BUILD_NUMBER 186
-#define NVGSDK_BUILD_HASH 6007c22a
-#define NVGSDK_BUILD_HASH_STR "6007c22a"
+#define NVGSDK_BUILD_NUMBER 191
+#define NVGSDK_BUILD_HASH c04488e1
+#define NVGSDK_BUILD_HASH_STR "c04488e1"
#endif // _NVGSDK_CONFIG_H_
diff --git a/include/gfesdk/gfe3_product_version.h b/include/gfesdk/gfe3_product_version.h
index c3c8186..6c6d422 100644
--- a/include/gfesdk/gfe3_product_version.h
+++ b/include/gfesdk/gfe3_product_version.h
@@ -13,7 +13,7 @@
#define NVIDIA_GFE3_VERSION_MINOR 14
#define NVIDIA_GFE3_VERSION_DEV_REBASE 0
#define NVIDIA_GFE3_VERSION_RNEXT_REBASE 0
-#define NVIDIA_GFE3_VERSION_BUILD 30
+#define NVIDIA_GFE3_VERSION_BUILD 39
//
// Composite version values. We don't concatenate them here automatically because
@@ -22,11 +22,11 @@
//
// Format: A,B,XY,N
-#define NVIDIA_GFE3_VERSION 3,14,0,30
+#define NVIDIA_GFE3_VERSION 3,14,0,39
// Format: A.B.XY.N
-#define NVIDIA_GFE3_VERSION_DOT 3.14.0.30
+#define NVIDIA_GFE3_VERSION_DOT 3.14.0.39
// Format: "A.B.XY.N"
-#define NVIDIA_GFE3_VERSION_STRING "3.14.0.30"
+#define NVIDIA_GFE3_VERSION_STRING "3.14.0.39"
//
// Some common strings
diff --git a/include/gfesdk/ops/iops.h b/include/gfesdk/ops/iops.h
new file mode 100644
index 0000000..97aadcd
--- /dev/null
+++ b/include/gfesdk/ops/iops.h
@@ -0,0 +1,49 @@
+/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
+*
+* NVIDIA CORPORATION and its licensors retain all intellectual property
+* and proprietary rights in and to this software, related documentation
+* and any modifications thereto. Any use, reproduction, disclosure or
+* distribution of this software and related documentation without an express
+* license agreement from NVIDIA CORPORATION is strictly prohibited.
+*/
+
+/*!
+* \file
+* C GfeSDK OPS API
+*/
+
+#ifndef GFESDK_OPS_H
+#define GFESDK_OPS_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <gfesdk/ops/ops_types.h>
+#include <gfesdk/sdk_types.h>
+
+/*!
+* Allows games to optimize themselves with GeforceExperience.
+*
+* \param handle[in] - Valid SDK handle returned by NVGSDK_Create
+* \param params[in] - Optimization parameters that help to find correct game.
+* \param callback[in] - Callback return function as described by \ref section_async
+* \param context[in] - Opaque context pointer as described by \ref section_async
+*
+* \retval NVGSDK_SUCCESS - Call was successful
+* \retval NVGSDK_ERR_INVALID_PARAMETER - Invalid handle or other pointer provided
+* \retval NVGSDK_ERR_APPLICATION_LOOKUP_FAILED - Game isn't recognized
+* \retval NVGSDK_ERR_APP_NO_OPTIMIZATION - Game is recognized but has no optimizations to apply
+* \retval NVGSDK_ERR_APP_SETTINGS_READ - Error during reading game settings.
+* \retval NVGSDK_ERR_APP_SETTINGS_WRITE - Error during writing game settings.
+*/
+
+NVGSDK_EXPORT void NVGSDKApi
+NVGSDK_OPS_OptimizeAsync(NVGSDK_HANDLE* handle, NVGSDK_OPS_OptimizeParams const* params, NVGSDK_EmptyCallback callback, void* context);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // GFESDK_OPS_H
diff --git a/include/gfesdk/ops/ops_types.h b/include/gfesdk/ops/ops_types.h
new file mode 100644
index 0000000..54364aa
--- /dev/null
+++ b/include/gfesdk/ops/ops_types.h
@@ -0,0 +1,26 @@
+/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
+*
+* NVIDIA CORPORATION and its licensors retain all intellectual property
+* and proprietary rights in and to this software, related documentation
+* and any modifications thereto. Any use, reproduction, disclosure or
+* distribution of this software and related documentation without an express
+* license agreement from NVIDIA CORPORATION is strictly prohibited.
+*/
+
+/*!
+* \file
+* OPS types
+*/
+
+#ifndef OPS_TYPES_H
+#define OPS_TYPES_H
+
+
+/* Parameters passed to Optimize call. */
+struct NVGSDK_OPS_OptimizeParams
+{
+ char const* imageFilePath; //!< Full path to the application image file used for renderning (e.g. "C:\Steam\steamapps\common\GameName\bin\game.exe")
+ char const* uwpPackageFamilyName; //!< Contains empty string for desktop applications. For UWP applications, contains package family name. (e.g. "Microsoft.MinecraftUWP_8wekyb3d8bbwe")
+};
+
+#endif // OPS_TYPES_H