GLVideoAllocationParams.newWrappedGlHandle

gl_handle is defined by the specific OpenGL handle being wrapped For #GstGLMemory and #GstGLMemoryPBO it is an OpenGL texture id. Other memory types may define it to require a different type of parameter.

Parameters

contexta #GstGLContext
allocParamsthe #GstAllocationParams for tex_id
vInfothe #GstVideoInfo for tex_id
planethe video plane tex_id represents
valignany #GstVideoAlignment applied to symem mappings of tex_id
targetthe #GstGLTextureTarget for tex_id
texFormatthe #GstGLFormat for tex_id
glHandlethe GL handle to wrap
userDatauser data to call notify with
notifya #GDestroyNotify

Returns

a new #GstGLVideoAllocationParams for wrapping gl_handle