mesa_glinterop: use generic variable types for the GL interop
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 21 Apr 2016 15:36:01 +0000 (16:36 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 24 May 2016 22:02:08 +0000 (23:02 +0100)
commit2e726144f9158b8acd4487d9a1beceaa1be85614
tree42c711a0337f37473c8f5477ce92e658bd78b393
parentcbf29d90bae9ba415b8158afc3a06a1360ec0bc4
mesa_glinterop: use generic variable types for the GL interop

Thus we can preserve the ABI, while avoiding the inclusion of some/all
of the following:

  EGL/egl.h
  GL/gl.h
  GL/glcorearb.h
  GLES/gl.h
  GLES2/gl2.h
  GLES3/gl3.h
  GLES3/gl31.h

This will allow us to build/use it alongside any combination of APIs.

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/mesa_glinterop.h