Commit 51f2d05f authored by Matthew Waters's avatar Matthew Waters 🐨

gl/docs: add to new docs system

parent ed330115
# GStreamer OpenGL Library
This library should be linked to by getting cflags and libs from
`gstreamer-gl-{{ gst_api_version.md }}.pc`.
......@@ -71,10 +71,11 @@ foreach h: ['pbutils-private.h', 'gsttageditingprivate.h', 'id3v2.h',
'_kiss_fft_guts_f32.h', '_kiss_fft_guts_f64.h', '_kiss_fft_guts_s16.h',
'_kiss_fft_guts_s16.h', '_kiss_fft_guts_s32.h', '_kiss_fft_guts_s32.h',
'pbutils-marshal.h', 'audio-resampler-private.h', '*orc-dist.*',
'*-neon.h', 'audio-resampler-macros.[ch]', '*-prelude.h'
'*-neon.h', 'audio-resampler-macros.[ch]', '*-prelude.h', '*_private.h',
'gstglfuncs.[ch]', 'gstgl_fwd.h'
]
libs_excludes += [join_paths(meson.current_source_dir(), '..', 'gst-libs/gst/*/', h)]
libs_excludes += [join_paths(meson.current_source_dir(), '..', 'gst-libs/gst/*/', h)]
endforeach
libs = [
......@@ -91,7 +92,14 @@ libs = [
]
if build_gstgl
libs + [['gl', gl_gir, gstgl_dep]]
libs += [['gl', gl_gir, gstgl_dep, [
join_paths('../gst-libs/gst', 'gl', 'egl', 'gstegl.[ch]'),
join_paths('../gst-libs/gst', 'gl', 'egl', 'gsteglimage.[ch]'),
join_paths('../gst-libs/gst', 'gl', 'egl', 'gstgldisplay_egl.[ch]'),
join_paths('../gst-libs/gst', 'gl', 'egl', 'gstglmemoryegl.[ch]'),
join_paths('../gst-libs/gst', 'gl', 'x11', 'gstgldisplay_x11.[ch]'),
join_paths('../gst-libs/gst', 'gl', 'wayland', 'gstgldisplay_wayland.[ch]'),
]]]
endif
libs_doc = []
......@@ -99,9 +107,13 @@ foreach lib: libs
name = lib[0]
gir = lib[1]
deps = [lib[2], gir]
extra_sources = []
if lib.length() >= 4
extra_sources = lib[3]
endif
libs_doc += [hotdoc.generate_doc('gst-plugins-base-' + name,
project_version: api_version,
gi_c_sources: [join_paths('../gst-libs/gst', name, '*.[hc]')],
gi_c_sources: [join_paths('../gst-libs/gst', name, '*.[hc]')] + extra_sources,
gi_sources: gir[0].full_path(),
gi_c_source_filters: libs_excludes,
gi_c_source_roots: [join_paths(meson.current_source_dir(), '../gst-libs/gst/' + name), ],
......
......@@ -65,7 +65,6 @@ GstGLAlphaMethod;
struct _GstGLAlpha {
GstGLFilter videofilter;
/* < private > */
GstGLShader *alpha_shader;
GstGLShader *chroma_key_shader;
......
......@@ -49,7 +49,6 @@ typedef struct _GstGLColorBalanceClass GstGLColorBalanceClass;
struct _GstGLColorBalance {
GstGLFilter videofilter;
/* < private > */
GstGLShader *shader;
/* channels for interface */
......
......@@ -41,7 +41,6 @@ typedef struct _GstGLDownloadElementClass GstGLDownloadElementClass;
struct _GstGLDownloadElement
{
/* <private> */
GstGLBaseFilter parent;
gboolean do_pbo_transfers;
......@@ -51,7 +50,6 @@ struct _GstGLDownloadElement
struct _GstGLDownloadElementClass
{
/* <private> */
GstGLBaseFilterClass object_class;
};
......
......@@ -53,7 +53,6 @@ struct _GstGLOverlay
gdouble alpha;
/* <private> */
GstGLShader *shader;
GstGLMemory *image_memory;
......
......@@ -46,7 +46,6 @@ typedef struct _GstGLUploadElementPrivate GstGLUploadElementPrivate;
*/
struct _GstGLUploadElement
{
/* <private> */
GstGLBaseFilter parent;
GstGLUpload *upload;
......
......@@ -545,7 +545,6 @@ struct _GstGLVideoMixerPad
{
GstGLMixerPad parent;
/* < private > */
/* properties */
gint xpos, ypos;
gint width, height;
......
......@@ -17,6 +17,14 @@
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
/**
* SECTION:gstegl
* @short_description: EGL helpers
* @title: GstEGL
* @see_also: #GstGLDisplayEGL, #GstEGLImage
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
......
......@@ -27,11 +27,11 @@
* @title: GstEGLImage
* @see_also: #GstGLMemoryEGL, #GstGLContext
*
* #GstEGLImage represents and holds an #EGLImage handle.
* #GstEGLImage represents and holds an `EGLImage` handle.
*
* A #GstEGLImage can be created from a dmabuf with gst_egl_image_from_dmabuf(),
* or gst_egl_image_from_dmabuf_direct(), or #GstGLMemoryEGL provides a
* #GstAllocator to allocate #EGLImage's bound to and OpenGL texture.
* #GstAllocator to allocate `EGLImage`'s bound to and OpenGL texture.
*/
#ifdef HAVE_CONFIG_H
......@@ -200,7 +200,7 @@ gst_egl_image_ensure_debug_category (void)
* gst_egl_image_get_image:
* @image: a #GstEGLImage
*
* Returns: the #EGLImageKHR of @image
* Returns: the `EGLImage` of @image
*/
gpointer
gst_egl_image_get_image (GstEGLImage * image)
......@@ -400,7 +400,7 @@ _destroy_egl_image (GstEGLImage * image, gpointer user_data)
* gst_egl_image_from_texture:
* @context: a #GstGLContext (must be an EGL context)
* @gl_mem: a #GstGLMemory
* @attribs: additional attributes to add to the eglCreateImage() call.
* @attribs: additional attributes to add to the `eglCreateImage`() call.
*
* Returns: (transfer full): a #GstEGLImage wrapping @gl_mem or %NULL on failure
*/
......
......@@ -43,7 +43,7 @@ typedef struct _GstEGLImage GstEGLImage;
* @data: user data passed to gst_egl_image_new_wrapped()
*
* Function to be called when the GstEGLImage is destroyed. It should free
* the associated #EGLImage if necessary
* the associated `EGLImage` if necessary
*/
typedef void (*GstEGLImageDestroyNotify) (GstEGLImage * image,
gpointer data);
......
......@@ -50,7 +50,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLContextEGL, gst_object_unref)
*/
struct _GstGLContextEGL
{
/* <private> */
/*< private >*/
GstGLContext context;
GstGLDisplayEGL *display_egl;
......@@ -78,7 +78,7 @@ struct _GstGLContextEGL
*/
struct _GstGLContextEGLClass
{
/* <private> */
/*< private >*/
GstGLContextClass parent;
};
......
......@@ -18,6 +18,17 @@
* Boston, MA 02110-1301, USA.
*/
/**
* SECTION:gstgldisplay_egl
* @short_description: EGL Display connection
* @title: GstGLDisplayEGL
* @see_also: #GstGLDisplay
*
* #GstGLDisplayEGL represents a connection to an EGL `EGLDisplay` handle created
* internally (gst_gl_display_egl_new()) or wrapped by the application
* (gst_gl_display_egl_new_with_egl_display())
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
......@@ -92,11 +103,11 @@ gst_gl_display_egl_finalize (GObject * object)
* @type: a #GstGLDisplayType
* @display: pointer to a display (or 0)
*
* Attempts to create a new #EGLDisplay from @display. If @type is
* Attempts to create a new `EGLDisplay` from @display. If @type is
* %GST_GL_DISPLAY_TYPE_ANY, then @display must be 0. @type must not be
* %GST_GL_DISPLAY_TYPE_NONE.
*
* Returns: A #EGLDisplay or %EGL_NO_DISPLAY
* Returns: A `EGLDisplay` or `EGL_NO_DISPLAY`
*
* Since: 1.12
*/
......
......@@ -48,7 +48,7 @@ struct _GstGLDisplayEGL
{
GstGLDisplay parent;
/* <private> */
/*< private >*/
gpointer display;
gboolean foreign_display;
......
......@@ -25,6 +25,7 @@
/**
* SECTION:gstglmemoryegl
* @short_description: memory subclass for EGLImage's
* @title: GstGLMemoryEGL
* @see_also: #GstGLMemory, #GstGLBaseMemoryAllocator, #GstGLBufferPool
*
* #GstGLMemoryEGL is created or wrapped through gst_gl_base_memory_alloc()
......
......@@ -46,7 +46,7 @@ GST_GL_API GType gst_gl_memory_egl_allocator_get_type(void);
*/
struct _GstGLMemoryEGL
{
/* <private> */
/*< private >*/
GstGLMemory mem;
GstEGLImage *image;
......@@ -74,13 +74,13 @@ GST_GL_API
gpointer gst_gl_memory_egl_get_display (GstGLMemoryEGL * mem);
/**
* GstGLMemoryEGLAllocator
* GstGLMemoryEGLAllocator:
*
* Opaque #GstGLMemoryEGLAllocator struct
*/
struct _GstGLMemoryEGLAllocator
{
/* <private> */
/*< private >*/
GstGLMemoryAllocator parent;
......@@ -94,7 +94,7 @@ struct _GstGLMemoryEGLAllocator
*/
struct _GstGLMemoryEGLAllocatorClass
{
/* <private> */
/*< private >*/
GstGLMemoryAllocatorClass parent_class;
gpointer _padding[GST_PADDING];
......
......@@ -48,7 +48,7 @@ struct _GstGLDisplayGBM
{
GstGLDisplay parent;
/* <private> */
/*< private >*/
int drm_fd;
drmModeRes *drm_mode_resources;
......
......@@ -33,6 +33,15 @@
#include "gstglapi.h"
/**
* GstGLFuncs:
*
* Structure containing function pointers to OpenGL functions.
*
* Each field is named exactly the same as the OpenGL function without the
* `gl` prefix.
*/
/**
* gst_gl_api_to_string:
* @api: a #GstGLAPI to stringify
......
......@@ -35,8 +35,8 @@
*
* #GstGLBaseFilter handles the nitty gritty details of retrieving an OpenGL
* context. It also provided some wrappers around #GstBaseTransform's
* start(), stop() and set_caps() virtual methods that ensure an OpenGL context
* is available and current in the calling thread.
* `start()`, `stop()` and `set_caps()` virtual methods that ensure an OpenGL
* context is available and current in the calling thread.
*/
#define GST_CAT_DEFAULT gst_gl_base_filter_debug
......
......@@ -53,6 +53,11 @@ GST_DEBUG_CATEGORY_STATIC (GST_CAT_GL_BASE_MEMORY);
GST_DEFINE_MINI_OBJECT_TYPE (GstGLBaseMemory, gst_gl_base_memory);
/**
* gst_gl_base_memory_error_quark:
*
* Returns: the quark used for #GstGLBaseMemory in #GError's
*/
GQuark
gst_gl_base_memory_error_quark (void)
{
......
......@@ -107,7 +107,7 @@ struct _GstGLBaseMemory
GstGLContext *context;
/* <protected> */
/*< protected >*/
GMutex lock;
GstMapFlags map_flags; /* cumulative map flags */
......@@ -118,7 +118,7 @@ struct _GstGLBaseMemory
GstGLQuery *query;
/* <private> */
/*< private >*/
gsize alloc_size; /* because maxsize is used for mapping */
gpointer alloc_data;
......@@ -215,7 +215,7 @@ struct _GstGLAllocationParams
/* GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_GPU_HANDLE only */
gpointer gl_handle;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......@@ -370,8 +370,8 @@ struct _GstGLBaseMemoryAllocatorClass
GstGLBaseMemoryAllocatorUnmapFunction unmap;
GstGLBaseMemoryAllocatorCopyFunction copy;
GstGLBaseMemoryAllocatorDestroyFunction destroy;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......
......@@ -80,7 +80,7 @@ struct _GstGLBufferAllocationParams
guint gl_target;
guint gl_usage;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......@@ -100,7 +100,7 @@ struct _GstGLBufferAllocator
{
GstGLBaseMemoryAllocator parent;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......@@ -113,7 +113,7 @@ struct _GstGLBufferAllocatorClass
{
GstGLBaseMemoryAllocatorClass parent_class;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......
......@@ -47,7 +47,7 @@ struct _GstGLBufferPool
GstGLContext *context;
/* <private> */
/*< private >*/
GstGLBufferPoolPrivate *priv;
gpointer _padding[GST_PADDING];
......@@ -62,7 +62,7 @@ struct _GstGLBufferPoolClass
{
GstBufferPoolClass parent_class;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......
......@@ -44,7 +44,7 @@ GType gst_gl_color_convert_get_type (void);
*/
struct _GstGLColorConvert
{
/* <private> */
/*< private >*/
GstObject parent;
GstGLContext *context;
......@@ -63,7 +63,7 @@ struct _GstGLColorConvert
GstGLFramebuffer *fbo;
GstGLShader *shader;
/* <private> */
/*< private >*/
GstGLColorConvertPrivate *priv;
gpointer _reserved[GST_PADDING];
......@@ -76,7 +76,7 @@ struct _GstGLColorConvert
*/
struct _GstGLColorConvertClass
{
/* <private> */
/*< private >*/
GstObjectClass object_class;
gpointer _padding[GST_PADDING];
......
......@@ -246,6 +246,11 @@ G_DEFINE_TYPE (GstGLWrappedContext, gst_gl_wrapped_context,
#define GST_IS_GL_WRAPPED_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE((k), GST_TYPE_GL_WRAPPED_CONTEXT))
#define GST_GL_WRAPPED_CONTEXT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), GST_TYPE_GL_WRAPPED_CONTEXT, GstGLWrappedContextClass))
/**
* gst_gl_context_error_quark:
*
* Returns: the quark used for #GstGLContext in #GError's
*/
GQuark
gst_gl_context_error_quark (void)
{
......@@ -837,7 +842,7 @@ gst_gl_context_get_gl_api (GstGLContext * context)
*
* Note: On success, you need to cast the returned function pointer to the
* correct type to be able to call it correctly. On 32-bit Windows, this will
* include the %GSTGLAPI identifier to use the correct calling convention.
* include the `GSTGLAPI` identifier to use the correct calling convention.
* e.g.
*
* |[<!-- language="C" -->
......
......@@ -420,7 +420,7 @@ gst_gl_insert_debug_marker (GstGLContext * context, const gchar * format, ...)
* gst_gl_async_debug_store_log_msg_valist:
* @ad: the #GstGLAsyncDebug to store the message in
* @cat: the #GstDebugCategory to output the message in
* @level: the #GstLevel
* @level: the #GstDebugLevel
* @file: the file where the debug message originates from
* @function: the function where the debug message originates from
* @line: the line in @file where the debug message originates from
......@@ -487,7 +487,7 @@ gst_gl_async_debug_output_log_msg (GstGLAsyncDebug * ad)
* gst_gl_async_debug_store_log_msg:
* @ad: the #GstGLAsyncDebug to store the message in
* @cat: the #GstDebugCategory to output the message in
* @level: the #GstLevel
* @level: the #GstDebugLevel
* @file: the file where the debug message originates from
* @function: the function where the debug message originates from
* @line: the line in @file where the debug message originates from
......
......@@ -35,7 +35,7 @@ typedef gchar * (*GstGLAsyncDebugLogGetMessage) (gpointer user_data);
*/
struct _GstGLAsyncDebug
{
/* <private> */
/*< private >*/
guint state_flags;
GstDebugCategory *cat;
GstDebugLevel level;
......@@ -45,7 +45,7 @@ struct _GstGLAsyncDebug
GObject *object;
gchar *debug_msg;
/* <protected> */
/*< protected >*/
GstGLAsyncDebugLogGetMessage callback;
gpointer user_data;
GDestroyNotify notify;
......@@ -70,7 +70,7 @@ void gst_gl_async_debug_thaw (GstGLAsyncDebug
* GST_GL_ASYNC_CAT_LEVEL_LOG_valist:
* @ad: the #GstGLAsyncDebug to store the message in
* @cat: the #GstDebugCategory to output the message in
* @level: the #GstLevel
* @level: the #GstDebugLevel
* @object: (allow-none): a #GObject to associate with the debug message
* @format: a printf style format string
* @varargs: the list of arguments for @format
......@@ -85,7 +85,7 @@ void gst_gl_async_debug_thaw (GstGLAsyncDebug
* GST_GL_ASYNC_CAT_LEVEL_LOG:
* @ad: the #GstGLAsyncDebug to store the message in
* @cat: the #GstDebugCategory to output the message in
* @level: the #GstLevel
* @level: the #GstDebugLevel
* @object: (allow-none): a #GObject to associate with the debug message
* @format: a printf style format string
* @...: the list of arguments for @format
......
......@@ -75,12 +75,12 @@ typedef enum
*/
struct _GstGLDisplay
{
/* <private> */
/*< private >*/
GstObject object;
GstGLDisplayType type;
/* <protected> */
/*< protected >*/
GList *windows; /* OBJECT lock */
GMainContext *main_context;
GMainLoop *main_loop;
......@@ -96,7 +96,7 @@ struct _GstGLDisplayClass
guintptr (*get_handle) (GstGLDisplay * display);
GstGLWindow * (*create_window) (GstGLDisplay * display);
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......
......@@ -18,6 +18,13 @@
* Boston, MA 02110-1301, USA.
*/
/**
* SECTION:gstglfeature
* @short_description: OpenGL feature checking
* @title: GstGLFeature
* @see_also: #GstGLContext
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
......
......@@ -116,8 +116,8 @@ _gl_type_n_bytes (guint type)
/**
* gst_gl_format_type_n_bytes:
* @format: the OpenGL format, %GL_RGBA, %GL_LUMINANCE, etc
* @type: the OpenGL type, %GL_UNSIGNED_BYTE, %GL_FLOAT, etc
* @format: the OpenGL format, `GL_RGBA`, `GL_LUMINANCE`, etc
* @type: the OpenGL type, `GL_UNSIGNED_BYTE`, `GL_FLOAT`, etc
*
* Returns: the number of bytes the specified @format, @type combination takes
* per pixel
......@@ -216,8 +216,8 @@ gst_gl_format_from_video_info (GstGLContext * context, GstVideoInfo * vinfo,
/**
* gst_gl_sized_gl_format_from_gl_format_type:
* @context: a #GstGLContext
* @format: an OpenGL format, %GL_RGBA, %GL_LUMINANCE, etc
* @type: an OpenGL type, %GL_UNSIGNED_BYTE, %GL_FLOAT, etc
* @format: an OpenGL format, `GL_RGBA`, `GL_LUMINANCE`, etc
* @type: an OpenGL type, `GL_UNSIGNED_BYTE`, `GL_FLOAT`, etc
*
* Returns: the sized internal format specified by @format and @type that can
* be used in @context
......
......@@ -52,7 +52,7 @@ typedef gboolean (*GstGLFramebufferFunc) (gpointer stuff);
*/
struct _GstGLFramebuffer
{
/* <private> */
/*< private >*/
GstObject object;
GstGLContext *context;
......@@ -72,7 +72,7 @@ struct _GstGLFramebuffer
*/
struct _GstGLFramebufferClass
{
/* <private> */
/*< private >*/
GstObjectClass object_class;
gpointer _padding[GST_PADDING];
......
......@@ -363,8 +363,8 @@ gst_gl_memory_init (GstGLMemory * mem, GstAllocator * allocator,
* @read_pointer: the data pointer to pass to glReadPixels
*
* Reads the texture in #GstGLMemory into @read_pointer if no buffer is bound
* to %GL_PIXEL_PACK_BUFFER. Otherwise @read_pointer is the byte offset into
* the currently bound %GL_PIXEL_PACK_BUFFER buffer to store the result of
* to `GL_PIXEL_PACK_BUFFER`. Otherwise @read_pointer is the byte offset into
* the currently bound `GL_PIXEL_PACK_BUFFER` buffer to store the result of
* glReadPixels. See the OpenGL specification for glReadPixels for more
* details.
*
......
......@@ -80,12 +80,12 @@ struct _GstGLMemory
guint plane;
gfloat tex_scaling[2];
/* <protected> */
/*< protected >*/
gboolean texture_wrapped;
guint unpack_length;
guint tex_width;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......@@ -122,7 +122,7 @@ struct _GstGLVideoAllocationParams
GstGLTextureTarget target;
GstGLFormat tex_format;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......@@ -202,7 +202,7 @@ void gst_gl_video_allocation_params_copy_data (GstGLVideoAllocatio
*/
struct _GstGLMemoryAllocator
{
/* <private> */
/*< private >*/
GstGLBaseMemoryAllocator parent;
gpointer _padding[GST_PADDING];
......@@ -216,15 +216,15 @@ struct _GstGLMemoryAllocator
*/
struct _GstGLMemoryAllocatorClass
{
/* <private> */
/*< private >*/
GstGLBaseMemoryAllocatorClass parent_class;
/* <public> */
/*< public >*/
GstGLBaseMemoryAllocatorMapFunction map;
GstGLBaseMemoryAllocatorCopyFunction copy;
GstGLBaseMemoryAllocatorUnmapFunction unmap;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......
......@@ -44,7 +44,7 @@ GType gst_gl_memory_pbo_allocator_get_type(void);
*/
struct _GstGLMemoryPBO
{
/* <private> */
/*< private >*/
GstGLMemory mem;
GstGLBuffer *pbo;
......@@ -88,7 +88,7 @@ struct _GstGLMemoryPBOAllocator
{
GstGLMemoryAllocator parent;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......@@ -101,7 +101,7 @@ struct _GstGLMemoryPBOAllocatorClass
{
GstGLMemoryAllocatorClass parent_class;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......
......@@ -43,7 +43,7 @@ GType gst_gl_overlay_compositor_get_type (void);
*/
struct _GstGLOverlayCompositor
{
/* <private> */
/*< private >*/
GstObject parent;
GstGLContext *context;
......@@ -68,7 +68,7 @@ struct _GstGLOverlayCompositorClass
{
GstObjectClass object_class;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......
......@@ -46,7 +46,7 @@ typedef enum
*/
struct _GstGLQuery
{
/* <private> */
/*< private >*/
GstGLContext * context;
guint query_type;
guint query_id;
......@@ -55,7 +55,6 @@ struct _GstGLQuery
gboolean start_called;
GstGLAsyncDebug debug;
/* <private> */
gpointer _padding[GST_PADDING];
};
......
......@@ -64,10 +64,10 @@ struct _GstGLRenderbuffer
guint width;
guint height;
/* <protected> */
/*< protected >*/
gboolean renderbuffer_wrapped;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......@@ -80,7 +80,7 @@ struct _GstGLRenderbufferAllocator
{
GstGLBaseMemoryAllocator parent;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......@@ -93,7 +93,7 @@ struct _GstGLRenderbufferAllocatorClass
{
GstGLBaseMemoryAllocatorClass parent_class;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......@@ -122,7 +122,7 @@ struct _GstGLRenderbufferAllocationParams
guint width;
guint height;
/* <private> */
/*< private >*/
gpointer _padding[GST_PADDING];
};
......
......@@ -906,7 +906,7 @@ G_PASTE(gst_gl_shader_set_uniform_,gl_suffix) (GstGLShader * shader, \
* @name: name of the uniform
* @value: value to set
*
* Perform glUniform1f() for @name on @shader
* Perform `glUniform1f()` for @name on @shader
*/
set_uniform_func_decl(1f, float value)