X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=fips-dispatch-gl.h;h=d684de2dda55ba130cf3f8967c7c5ae25b7e8f23;hb=refs%2Fheads%2Fframe-timings;hp=7b354c8d525e8319c09431c9d128f9ea0df85ee5;hpb=5894ec5a66b9131c06f6caefd8ec0b267ad9eea3;p=fips diff --git a/fips-dispatch-gl.h b/fips-dispatch-gl.h index 7b354c8..d684de2 100644 --- a/fips-dispatch-gl.h +++ b/fips-dispatch-gl.h @@ -113,6 +113,8 @@ typedef void (*PFNGLENDPERFMONITORAMDPROC)(GLuint); typedef void (*PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)(GLuint, GLenum, GLsizei, GLuint *, GLint *); +typedef void (*PFNGLGETOBJECTLABELPROC)(GLenum, GLuint, GLsizei, GLsizei *, GLchar *); + extern PFNGLGETINTEGERVPROC fips_dispatch_glGetIntegerv; #define glGetIntegerv fips_dispatch_glGetIntegerv @@ -202,4 +204,11 @@ extern PFNGLENDPERFMONITORAMDPROC fips_dispatch_glEndPerfMonitorAMD; extern PFNGLGETPERFMONITORCOUNTERDATAAMDPROC fips_dispatch_glGetPerfMonitorCounterDataAMD; #define glGetPerfMonitorCounterDataAMD fips_dispatch_glGetPerfMonitorCounterDataAMD +#define GL_BUFFER 0x82E0 +#define GL_SHADER 0x82E1 +#define GL_PROGRAM 0x82E2 + +extern PFNGLGETOBJECTLABELPROC fips_dispatch_glGetObjectLabel; +#define glGetObjectLabel fips_dispatch_glGetObjectLabel + #endif /* FIPS_DISPATCH_GL_H */