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

Function glBufferData

GTE/Graphics/GL46/GL46.cpp:3087–3103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3085}
3086
3087void APIENTRY glBufferData(GLenum target, GLsizeiptr size, const void* data, GLenum usage)
3088{
3089 if (sglBufferData)
3090 {
3091 sglBufferData(target, size, data, usage);
3092 ReportGLError("glBufferData");
3093 }
3094 else
3095 {
3096 ReportGLNullFunction("glBufferData");
3097 }
3098
3099#if defined(GTE_ENABLE_GLTRACE)
3100 gsTrace.Call("glBufferData", "",
3101 gsTrace.GetName(target), size, "data", gsTrace.GetName(usage));
3102#endif
3103}
3104
3105void APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void* data)
3106{

Callers 4

CreateStagingMethod · 0.85
InitializeMethod · 0.85
CreateStagingMethod · 0.85
InitializeMethod · 0.85

Calls 4

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80
GetNameMethod · 0.80

Tested by

no test coverage detected