MCPcopy Create free account
hub / github.com/arrayfire/forge / createGLBuffer

Function createGLBuffer

include/ComputeCopy.h:90–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88#if defined(USE_FORGE_CPU_COPY_HELPERS)
89
90static
91void createGLBuffer(GfxHandle** pOut, const unsigned pResourceId, const BufferType pTarget)
92{
93 GfxHandle* temp = (GfxHandle*)malloc(sizeof(GfxHandle));
94
95 temp->mId = pResourceId;
96 temp->mTarget = pTarget;
97
98 *pOut = temp;
99}
100
101static
102void releaseGLBuffer(GfxHandle* pHandle)

Callers 15

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

getContextFunction · 0.85

Tested by

no test coverage detected