summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-04-21 16:18:39 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-24 23:03:00 +0100
commitc196de23aece3cea7b30da6d7356b614ee254dae (patch)
tree385f4663649e16ecb6225af1a7a9d76ee8e5fadd /include
parentcb0708c8438390509d0814cda45e7576b7c0555c (diff)
downloadexternal_mesa3d-c196de23aece3cea7b30da6d7356b614ee254dae.zip
external_mesa3d-c196de23aece3cea7b30da6d7356b614ee254dae.tar.gz
external_mesa3d-c196de23aece3cea7b30da6d7356b614ee254dae.tar.bz2
mesa_glinterop: s/struct_version/version/
OCD polish for consistency with other mesa interfaces. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'include')
-rw-r--r--include/GL/mesa_glinterop.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/GL/mesa_glinterop.h b/include/GL/mesa_glinterop.h
index f637409..a187a12 100644
--- a/include/GL/mesa_glinterop.h
+++ b/include/GL/mesa_glinterop.h
@@ -95,7 +95,7 @@ enum {
typedef struct _mesa_glinterop_device_info {
/* The caller should set this to the version of the struct they support */
/* NOTE: Do not use the MESA_GLINTEROP_DEVICE_INFO_VERSION macro */
- uint32_t struct_version;
+ uint32_t version;
/* PCI location */
uint32_t pci_segment_group;
@@ -127,7 +127,7 @@ typedef struct _mesa_glinterop_device_info {
typedef struct _mesa_glinterop_export_in {
/* The caller should set this to the version of the struct they support */
/* NOTE: Do not use the MESA_GLINTEROP_EXPORT_IN_VERSION macro */
- uint32_t struct_version;
+ uint32_t version;
/* One of the following:
* - GL_TEXTURE_BUFFER
@@ -187,7 +187,7 @@ typedef struct _mesa_glinterop_export_in {
typedef struct _mesa_glinterop_export_out {
/* The caller should set this to the version of the struct they support */
/* NOTE: Do not use the MESA_GLINTEROP_EXPORT_OUT_VERSION macro */
- uint32_t struct_version;
+ uint32_t version;
/* The DMABUF handle. It must be closed by the caller using the POSIX
* close() function when it's not needed anymore. Mesa is not responsible