MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / glGetProgramBinary

Function glGetProgramBinary

GTE/Graphics/GL46/GL46.cpp:9339–9355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9337}
9338
9339void APIENTRY glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, void* binary)
9340{
9341 if (sglGetProgramBinary)
9342 {
9343 sglGetProgramBinary(program, bufSize, length, binaryFormat, binary);
9344 ReportGLError("glGetProgramBinary");
9345 }
9346 else
9347 {
9348 ReportGLNullFunction("glGetProgramBinary");
9349 }
9350
9351#if defined(GTE_ENABLE_GLTRACE)
9352 gsTrace.Call("glGetProgramBinary", "",
9353 program, bufSize, *length, gsTrace.GetEnumArray(*length, binaryFormat), "binary");
9354#endif
9355}
9356
9357void APIENTRY glProgramBinary(GLuint program, GLenum binaryFormat, const void* binary, GLsizei length)
9358{

Callers

nothing calls this directly

Calls 4

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80
GetEnumArrayMethod · 0.80

Tested by

no test coverage detected