mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 13:02:29 +00:00
gl: add padding to all exposed winsys/platform-specific structs
This commit is contained in:
parent
d7d42971ab
commit
d0b8f7c002
5 changed files with 20 additions and 0 deletions
|
@ -60,6 +60,8 @@ struct _GstEGLImage
|
||||||
/* <private> */
|
/* <private> */
|
||||||
gpointer destroy_data;
|
gpointer destroy_data;
|
||||||
GstEGLImageDestroyNotify destroy_notify;
|
GstEGLImageDestroyNotify destroy_notify;
|
||||||
|
|
||||||
|
gpointer _padding[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GstEGLImage * gst_egl_image_new_wrapped (GstGLContext * context,
|
GstEGLImage * gst_egl_image_new_wrapped (GstGLContext * context,
|
||||||
|
|
|
@ -53,11 +53,15 @@ struct _GstGLDisplayEGL
|
||||||
EGLDisplay display;
|
EGLDisplay display;
|
||||||
|
|
||||||
gboolean foreign_display;
|
gboolean foreign_display;
|
||||||
|
|
||||||
|
gpointer _padding[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstGLDisplayEGLClass
|
struct _GstGLDisplayEGLClass
|
||||||
{
|
{
|
||||||
GstGLDisplayClass object_class;
|
GstGLDisplayClass object_class;
|
||||||
|
|
||||||
|
gpointer _padding[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GstGLDisplayEGL *gst_gl_display_egl_new (void);
|
GstGLDisplayEGL *gst_gl_display_egl_new (void);
|
||||||
|
|
|
@ -57,6 +57,8 @@ struct _GstGLMemoryEGL
|
||||||
GstGLMemory mem;
|
GstGLMemory mem;
|
||||||
|
|
||||||
GstEGLImage *image;
|
GstEGLImage *image;
|
||||||
|
|
||||||
|
gpointer _padding[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -85,6 +87,8 @@ struct _GstGLMemoryEGLAllocator
|
||||||
/* <private> */
|
/* <private> */
|
||||||
|
|
||||||
GstGLMemoryAllocator parent;
|
GstGLMemoryAllocator parent;
|
||||||
|
|
||||||
|
gpointer _padding[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -96,6 +100,8 @@ struct _GstGLMemoryEGLAllocatorClass
|
||||||
{
|
{
|
||||||
/* <private> */
|
/* <private> */
|
||||||
GstGLMemoryAllocatorClass parent_class;
|
GstGLMemoryAllocatorClass parent_class;
|
||||||
|
|
||||||
|
gpointer _padding[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -60,11 +60,15 @@ struct _GstGLDisplayWayland
|
||||||
|
|
||||||
/* <private> */
|
/* <private> */
|
||||||
gboolean foreign_display;
|
gboolean foreign_display;
|
||||||
|
|
||||||
|
gpointer _padding[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstGLDisplayWaylandClass
|
struct _GstGLDisplayWaylandClass
|
||||||
{
|
{
|
||||||
GstGLDisplayClass object_class;
|
GstGLDisplayClass object_class;
|
||||||
|
|
||||||
|
gpointer _padding[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GstGLDisplayWayland *gst_gl_display_wayland_new (const gchar * name);
|
GstGLDisplayWayland *gst_gl_display_wayland_new (const gchar * name);
|
||||||
|
|
|
@ -57,11 +57,15 @@ struct _GstGLDisplayX11
|
||||||
gchar *name;
|
gchar *name;
|
||||||
Display *display;
|
Display *display;
|
||||||
gboolean foreign_display;
|
gboolean foreign_display;
|
||||||
|
|
||||||
|
gpointer _padding[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstGLDisplayX11Class
|
struct _GstGLDisplayX11Class
|
||||||
{
|
{
|
||||||
GstGLDisplayClass object_class;
|
GstGLDisplayClass object_class;
|
||||||
|
|
||||||
|
gpointer _padding[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
GstGLDisplayX11 *gst_gl_display_x11_new (const gchar * name);
|
GstGLDisplayX11 *gst_gl_display_x11_new (const gchar * name);
|
||||||
|
|
Loading…
Reference in a new issue