mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 22:30:12 +01:00
mesa_glinterop: fix GL interop *_VERSION comments
Using the macro to set the version is wrong and ill-advised. Please don't do it. 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>
This commit is contained in:
parent
a3eb8702fb
commit
cb0708c843
1 changed files with 6 additions and 3 deletions
|
|
@ -93,7 +93,8 @@ enum {
|
|||
* Device information returned by Mesa.
|
||||
*/
|
||||
typedef struct _mesa_glinterop_device_info {
|
||||
/* The caller should set this to: MESA_GLINTEROP_DEVICE_INFO_VERSION */
|
||||
/* 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;
|
||||
|
||||
/* PCI location */
|
||||
|
|
@ -124,7 +125,8 @@ typedef struct _mesa_glinterop_device_info {
|
|||
* Input parameters to Mesa interop export functions.
|
||||
*/
|
||||
typedef struct _mesa_glinterop_export_in {
|
||||
/* The caller should set this to: MESA_GLINTEROP_EXPORT_IN_VERSION */
|
||||
/* 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;
|
||||
|
||||
/* One of the following:
|
||||
|
|
@ -183,7 +185,8 @@ typedef struct _mesa_glinterop_export_in {
|
|||
* Outputs of Mesa interop export functions.
|
||||
*/
|
||||
typedef struct _mesa_glinterop_export_out {
|
||||
/* The caller should set this to: MESA_GLINTEROP_EXPORT_OUT_VERSION */
|
||||
/* 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;
|
||||
|
||||
/* The DMABUF handle. It must be closed by the caller using the POSIX
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue