X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=inline;f=src%2Fmesa%2Fmain%2Fversion.h;h=4469509c08efb01048e0802acb95c32abe05fd3c;hb=15012077bceda24cbf38afeda7723c47e1b0d3c3;hp=ee7cb7501eb48a30b4dde1f0a8b4704ae5dc4c5a;hpb=a62edcce4eb4c800d972817a20ee874bf2a2c3ef;p=mesa.git diff --git a/src/mesa/main/version.h b/src/mesa/main/version.h index ee7cb7501eb..4469509c08e 100644 --- a/src/mesa/main/version.h +++ b/src/mesa/main/version.h @@ -27,8 +27,13 @@ #ifndef VERSION_H #define VERSION_H -#include "mtypes.h" +#include +#include "glheader.h" +#include "menums.h" +struct gl_context; +struct gl_constants; +struct gl_extensions; extern GLuint _mesa_get_version(const struct gl_extensions *extensions, @@ -47,4 +52,15 @@ _mesa_override_gl_version(struct gl_context *ctx); extern void _mesa_override_glsl_version(struct gl_constants *consts); +extern void +_mesa_get_driver_uuid(struct gl_context *ctx, GLint *uuid); + +extern void +_mesa_get_device_uuid(struct gl_context *ctx, GLint *uuid); + +extern int +_mesa_get_shading_language_version(const struct gl_context *ctx, + int index, + char **versionOut); + #endif /* VERSION_H */