diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2017-09-11 16:46:10 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-09-27 12:49:34 +0800 |
commit | 98f1d56bfe9a11c0bcc3e1f4194779e0b777e77e (patch) | |
tree | 3783f80d10b5effa5108553b747f85eedd6ba46c /va/wayland | |
parent | 0fd48763d9f5f0ad73b208fe90516344683fb872 (diff) | |
download | libva-98f1d56bfe9a11c0bcc3e1f4194779e0b777e77e.tar.gz |
Add reserved bytes to most structures
The reserved bytest must be set to 0, then we can add new fields to those
structures in future without worrying about the API compatibility too
much.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'va/wayland')
-rw-r--r-- | va/wayland/va_backend_wayland.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/va/wayland/va_backend_wayland.h b/va/wayland/va_backend_wayland.h index 67d0004..9e5740a 100644 --- a/va/wayland/va_backend_wayland.h +++ b/va/wayland/va_backend_wayland.h @@ -63,6 +63,9 @@ struct VADriverVTableWayland { /** \brief Indicate whether buffer sharing with prime fd is supported. */ unsigned int has_prime_sharing; + + /** \brief Reserved bytes for future use, must be zero */ + unsigned long reserved[8]; }; #endif /* VA_BACKEND_WAYLAND_H */ |