summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2009-11-17 14:04:33 -0800
committerAaron Plattner <aplattner@nvidia.com>2009-11-17 14:06:21 -0800
commite864d59682b91bf9d596c2dadc657c932fae32e1 (patch)
tree9d5864c88f7a90716962cf107cc7505be4c090e4
parent0537b13e292bc772e984872a3986e41fb51f9258 (diff)
Update VDPAU_VERSION and add VDPAU_INTERFACE_VERSION
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-rw-r--r--include/vdpau/vdpau.h29
1 files changed, 25 insertions, 4 deletions
diff --git a/include/vdpau/vdpau.h b/include/vdpau/vdpau.h
index 6635151..93166f2 100644
--- a/include/vdpau/vdpau.h
+++ b/include/vdpau/vdpau.h
@@ -1233,13 +1233,34 @@ typedef char const * VdpGetErrorString(
*/
/**
+ * \brief The VDPAU interface version described by this header file.
+ *
+ * This version will only increase if a major incompatible change is made.
+ * For example, if the parameters passed to an existing function are modified,
+ * rather than simply adding new functions/enumerations), or if the mechanism
+ * used to load the backend driver is modified incompatibly. Such changes are
+ * unlikely.
+ *
+ * This value also represents the DSO version of VDPAU-related
+ * shared-libraries.
+ *
+ * VDPAU version numbers are simple integers that increase monotonically
+ * (typically by value 1).
+ */
+#define VDPAU_INTERFACE_VERSION 1
+
+/**
* \brief The VDPAU version described by this header file.
*
- * Note that VDPAU version numbers are simple integers that
- * increase monotonically (typically by value 1) with each VDPAU
- * header revision.
+ * This version will increase whenever any non-documentation change is made to
+ * vdpau.h, or related header files such as vdpau_x11.h. Such changes
+ * typically involve the addition of new functions, constants, or features.
+ * Such changes are expected to be completely backwards-compatible.
+ *
+ * VDPAU version numbers are simple integers that increase monotonically
+ * (typically by value 1).
*/
-#define VDPAU_VERSION 0
+#define VDPAU_VERSION 1
/**
* \brief Retrieve the VDPAU version implemented by the backend.