summaryrefslogtreecommitdiff
path: root/src/glx/dri_common_interop.c
AgeCommit message (Collapse)AuthorFilesLines
2016-05-30mesa_glinterop: remove mesa_glinterop typedefsEmil Velikov1-6/+6
As is there are two places that do the typedefs - dri_interface.h and this header. As we cannot include the former in here, just drop the typedefs and use the struct directly (as needed). This is required because typedef redefinition is C11 feature which is not supported on all the versions of GCC used to build mesa. v2: Kill the typedef alltogether, as per Marek. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96236 Cc: Vinson Lee <vlee@freedesktop.org> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2016-05-24mesa_glinterop: make GL interop version field bidirectionalEmil Velikov1-2/+2
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>
2016-04-20glx: implement GLX part of interop interface (v2)Marek Olšák1-0/+92
v2: - use const