gstgl.types

Undocumented in source.

Members

Aliases

GLAPI
alias GLAPI = GstGLAPI
GLAllocationParamsCopyFunc
alias GLAllocationParamsCopyFunc = void delegate(gstgl.glallocation_params.GLAllocationParams src, gstgl.glallocation_params.GLAllocationParams dest)

Copies the parameters from src into dest. The subclass must compose copy functions from the superclass.

GLAllocationParamsFreeFunc
alias GLAllocationParamsFreeFunc = void delegate(void* params)

Free any dynamically allocated data. The subclass must call the superclass' free.

GLAsyncDebugLogGetMessage
alias GLAsyncDebugLogGetMessage = string delegate()
GLBaseMemoryAllocatorAllocFunction
alias GLBaseMemoryAllocatorAllocFunction = gstgl.glbase_memory.GLBaseMemory delegate(gstgl.glbase_memory_allocator.GLBaseMemoryAllocator allocator, gstgl.glallocation_params.GLAllocationParams params)

Note: not called with a GL context current

GLBaseMemoryAllocatorCopyFunction
alias GLBaseMemoryAllocatorCopyFunction = gstgl.glbase_memory.GLBaseMemory delegate(gstgl.glbase_memory.GLBaseMemory mem, ptrdiff_t offset, ptrdiff_t size)

Also see gst.memory.Memory.copy;

GLBaseMemoryAllocatorCreateFunction
alias GLBaseMemoryAllocatorCreateFunction = bool delegate(gstgl.glbase_memory.GLBaseMemory mem, GError** _err)

As this virtual method is called with an OpenGL context current, use this function to allocate and OpenGL resources needed for your application

GLBaseMemoryAllocatorDestroyFunction
alias GLBaseMemoryAllocatorDestroyFunction = void delegate(gstgl.glbase_memory.GLBaseMemory mem)

Destroy any resources allocated throughout the lifetime of mem

GLBaseMemoryAllocatorMapFunction
alias GLBaseMemoryAllocatorMapFunction = void* delegate(gstgl.glbase_memory.GLBaseMemory mem, gst.map_info.MapInfo info, size_t maxsize)

Also see gst.memory.Memory.map;

GLBaseMemoryAllocatorUnmapFunction
alias GLBaseMemoryAllocatorUnmapFunction = void delegate(gstgl.glbase_memory.GLBaseMemory mem, gst.map_info.MapInfo info)

Also see gst.memory.Memory.unmap;

GLBaseMemoryError
alias GLBaseMemoryError = GstGLBaseMemoryError
GLBaseMemoryTransfer
alias GLBaseMemoryTransfer = GstGLBaseMemoryTransfer
GLConfigCaveat
alias GLConfigCaveat = GstGLConfigCaveat
GLConfigSurfaceType
alias GLConfigSurfaceType = GstGLConfigSurfaceType
GLContextError
alias GLContextError = GstGLContextError
GLContextThreadFunc
alias GLContextThreadFunc = void delegate(gstgl.glcontext.GLContext context)

Represents a function to run in the GL thread with context and data

GLDisplayType
alias GLDisplayType = GstGLDisplayType
GLFilterRenderFunc
alias GLFilterRenderFunc = bool delegate(gstgl.glfilter.GLFilter filter, gstgl.glmemory.GLMemory inTex)
GLFormat
alias GLFormat = GstGLFormat
GLFramebufferFunc
alias GLFramebufferFunc = bool delegate(void* stuff)

callback definition for operating through a #GstGLFramebuffer object

GLFuncs
alias GLFuncs = GstGLFuncs*
GLPlatform
alias GLPlatform = GstGLPlatform
GLQueryType
alias GLQueryType = GstGLQueryType
GLSLError
alias GLSLError = GstGLSLError
GLSLProfile
alias GLSLProfile = GstGLSLProfile
GLSLVersion
alias GLSLVersion = GstGLSLVersion
GLStereoDownmix
alias GLStereoDownmix = GstGLStereoDownmix
GLTextureTarget
alias GLTextureTarget = GstGLTextureTarget
GLUploadReturn
alias GLUploadReturn = GstGLUploadReturn
GLWindowCB
alias GLWindowCB = void delegate()
GLWindowError
alias GLWindowError = GstGLWindowError
GLWindowResizeCB
alias GLWindowResizeCB = void delegate(uint width, uint height)

Manifest constants

BUFFER_POOL_OPTION_GL_SYNC_META
enum BUFFER_POOL_OPTION_GL_SYNC_META;

An option that can be activated on bufferpools to request OpenGL synchronization metadata on buffers from the pool.

BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D
enum BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D;

String used for gstgl.types.GLTextureTarget._2d as a #GstBufferPool pool option

BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES
enum BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES;

String used for gstgl.types.GLTextureTarget.ExternalOes as a #GstBufferPool pool option

BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE
enum BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE;

String used for gstgl.types.GLTextureTarget.Rectangle as a #GstBufferPool pool option

CAPS_FEATURE_MEMORY_GL_BUFFER
enum CAPS_FEATURE_MEMORY_GL_BUFFER;

Name of the caps feature indicating the use of GL buffers

CAPS_FEATURE_MEMORY_GL_MEMORY
enum CAPS_FEATURE_MEMORY_GL_MEMORY;

Name of the caps feature for indicating the use of #GstGLMemory

GL_ALLOCATION_PARAMS_ALLOC_FLAG_ALLOC
enum GL_ALLOCATION_PARAMS_ALLOC_FLAG_ALLOC;

GL Allocation flag indicating that the implementation should allocate the necessary resources.

GL_ALLOCATION_PARAMS_ALLOC_FLAG_BUFFER
enum GL_ALLOCATION_PARAMS_ALLOC_FLAG_BUFFER;

GL allocation flag indicating the allocation of a GL buffer.

GL_ALLOCATION_PARAMS_ALLOC_FLAG_USER
enum GL_ALLOCATION_PARAMS_ALLOC_FLAG_USER;

Values >= than #GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_USER can be used for user-defined purposes.

GL_ALLOCATION_PARAMS_ALLOC_FLAG_VIDEO
enum GL_ALLOCATION_PARAMS_ALLOC_FLAG_VIDEO;

GL allocation flag indicating the allocation of 2D video frames

GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_GPU_HANDLE
enum GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_GPU_HANDLE;

GL Allocation flag for using the provided GPU handle as storage.

GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_SYSMEM
enum GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_SYSMEM;

GL Allocation flag for using the provided system memory data as storage.

GL_API_GLES1_NAME
enum GL_API_GLES1_NAME;

The name for gstgl.types.GLAPI.Gles1 used in various places

GL_API_GLES2_NAME
enum GL_API_GLES2_NAME;

The name for gstgl.types.GLAPI.Gles2 used in various places

GL_API_OPENGL3_NAME
enum GL_API_OPENGL3_NAME;

The name for gstgl.types.GLAPI.Opengl3 used in various places

GL_API_OPENGL_NAME
enum GL_API_OPENGL_NAME;

The name for gstgl.types.GLAPI.Opengl used in various places

GL_BASE_MEMORY_ALLOCATOR_NAME
enum GL_BASE_MEMORY_ALLOCATOR_NAME;

The name of the GL buffer allocator

GL_BUFFER_ALLOCATOR_NAME
enum GL_BUFFER_ALLOCATOR_NAME;

The name of the GL buffer allocator

GL_COLOR_CONVERT_EXT_FORMATS
enum GL_COLOR_CONVERT_EXT_FORMATS;
GL_COLOR_CONVERT_FORMATS
enum GL_COLOR_CONVERT_FORMATS;

The currently supported formats that can be converted

GL_COLOR_CONVERT_VIDEO_CAPS
enum GL_COLOR_CONVERT_VIDEO_CAPS;

The currently supported #GstCaps that can be converted

GL_CONFIG_STRUCTURE_NAME
enum GL_CONFIG_STRUCTURE_NAME;

The canonical name of a #GstStructure that contains a configuration for a #GstGLContext.

GL_CONTEXT_TYPE_CGL
enum GL_CONTEXT_TYPE_CGL;
GL_CONTEXT_TYPE_EAGL
enum GL_CONTEXT_TYPE_EAGL;
GL_CONTEXT_TYPE_EGL
enum GL_CONTEXT_TYPE_EGL;
GL_CONTEXT_TYPE_GLX
enum GL_CONTEXT_TYPE_GLX;
GL_CONTEXT_TYPE_WGL
enum GL_CONTEXT_TYPE_WGL;
GL_DISPLAY_CONTEXT_TYPE
enum GL_DISPLAY_CONTEXT_TYPE;

The name used in #GstContext queries for requesting a #GstGLDisplay

GL_MEMORY_ALLOCATOR_NAME
enum GL_MEMORY_ALLOCATOR_NAME;

The name of the GL memory allocator

GL_MEMORY_PBO_ALLOCATOR_NAME
enum GL_MEMORY_PBO_ALLOCATOR_NAME;

The name of the GL Memory PBO allocator

GL_MEMORY_VIDEO_EXT_FORMATS
enum GL_MEMORY_VIDEO_EXT_FORMATS;
GL_MEMORY_VIDEO_FORMATS_STR
enum GL_MEMORY_VIDEO_FORMATS_STR;

List of video formats that are supported by #GstGLMemory

GL_RENDERBUFFER_ALLOCATOR_NAME
enum GL_RENDERBUFFER_ALLOCATOR_NAME;

The name of the GL renderbuffer allocator

GL_TEXTURE_TARGET_2D_STR
enum GL_TEXTURE_TARGET_2D_STR;

String used for gstgl.types.GLTextureTarget._2d in things like caps values

GL_TEXTURE_TARGET_EXTERNAL_OES_STR
enum GL_TEXTURE_TARGET_EXTERNAL_OES_STR;

String used for gstgl.types.GLTextureTarget.ExternalOes in things like caps values

GL_TEXTURE_TARGET_RECTANGLE_STR
enum GL_TEXTURE_TARGET_RECTANGLE_STR;

String used for gstgl.types.GLTextureTarget.Rectangle in things like caps values

MAP_GL
enum MAP_GL;

Flag indicating that we should map the GL object instead of to system memory.