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