mesa_glinterop: remove unneeded GLAPI/GLAPIENTRY/APIENTRYP symbols
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 3 May 2016 11:14:26 +0000 (12:14 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 24 May 2016 22:03:00 +0000 (23:03 +0100)
commitb5f9820d905a275bc01bbffa9b4927ec11286f8d
tree4392b5072ecfea01c232da8ab4af9bea5c7374a1
parentbcf9e476532f12544d1831300dbb2caa1e7c0bdf
mesa_glinterop: remove unneeded GLAPI/GLAPIENTRY/APIENTRYP symbols

These come from windows.h, gl.h, glcorearb.h and/or glext.h.

The interop interface is aimed at non-Windows platforms while the macros
are used/derived due to Windows specifics. Thus we can safely remove
them.

Strictly speaking there should be GLXAPIENTRY/EGLAPIENTRY and alike
macros, although a) there is no GLX ones and b) this brings us even
further from decoupling the file from the GLX/EGL header dependency.

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
src/egl/main/eglapi.c
src/glx/glxcmds.c