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

Function glBufferSubData

GTE/Graphics/GL46/GL46.cpp:3105–3121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3103}
3104
3105void APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void* data)
3106{
3107 if (sglBufferSubData)
3108 {
3109 sglBufferSubData(target, offset, size, data);
3110 ReportGLError("glBufferSubData");
3111 }
3112 else
3113 {
3114 ReportGLNullFunction("glBufferSubData");
3115 }
3116
3117#if defined(GTE_ENABLE_GLTRACE)
3118 gsTrace.Call("glBufferSubData", "",
3119 gsTrace.GetName(target), offset, size, "data");
3120#endif
3121}
3122
3123void APIENTRY glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, void* data)
3124{

Callers 6

DoCopyCpuToGpuMethod · 0.85
SetNumActiveElementsMethod · 0.85
InitializeMethod · 0.85
DoCopyCpuToGpuMethod · 0.85
UpdateMethod · 0.85
CopyCpuToGpuMethod · 0.85

Calls 4

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

Tested by

no test coverage detected