mesa_glinterop: make GL interop version field bidirectional
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 21 Apr 2016 16:29:16 +0000 (17:29 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 24 May 2016 22:03:00 +0000 (23:03 +0100)
commite384d75b120ce60954c545e8c6edbe98fd01bea7
tree91f111db322fbfcb97ce308e0276558a507268e6
parent0e983276b96eee5aa1dd091888bc81e36169a8f1
mesa_glinterop: make GL interop version field bidirectional

This allows clear and easy communication between the two.

Caller: Requesting information (struct vN)
Callee: I know how to deal with older version (vN-1) only. Here is your
data and the version I support.
Caller: Older version ? Sure I'll cap all access to the fields provided
by the older version (vN-1)

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>
include/GL/internal/dri_interface.h
include/GL/mesa_glinterop.h
src/egl/drivers/dri2/egl_dri2.c
src/egl/main/eglapi.c
src/egl/main/eglapi.h
src/gallium/state_trackers/dri/dri2.c
src/glx/dri2_priv.h
src/glx/dri3_priv.h
src/glx/dri_common_interop.c
src/glx/glxclient.h
src/glx/glxcmds.c