tests: add gl structs to abi check

Tested on x86, x86_64, armv7l, aarch64.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/854>
This commit is contained in:
Matthew Waters 2020-07-16 18:10:45 +10:00 committed by GStreamer Merge Bot
parent ed8f90c930
commit 52793dbfca
10 changed files with 546 additions and 7 deletions

View file

@ -0,0 +1,17 @@
#include <gst/gl/gl.h>
#include <gst/gl/gstglfuncs.h>
#if GST_GL_HAVE_PLATFORM_EGL
#include <gst/gl/egl/gstgldisplay_egl.h>
#include <gst/gl/egl/gstglcontext_egl.h>
#include <gst/gl/egl/gstglmemoryegl.h>
#endif
#if GST_GL_HAVE_WINDOW_X11
#include <gst/gl/x11/gstgldisplay_x11.h>
#endif
#if GST_GL_HAVE_WINDOW_WAYLAND
#include <gst/gl/wayland/gstgldisplay_wayland.h>
#endif

View file

@ -32,6 +32,8 @@
#include <gst/gl/gstgl_enums.h>
#include <gst/gl/gstglapi.h>
#include <gst/gl/gstglbasefilter.h>
#include <gst/gl/gstglbasememory.h>
#include <gst/gl/gstglbasesrc.h>
#include <gst/gl/gstglbuffer.h>
#include <gst/gl/gstglbufferpool.h>
#include <gst/gl/gstglcolorconvert.h>
@ -43,15 +45,15 @@
#include <gst/gl/gstglfilter.h>
#include <gst/gl/gstglformat.h>
#include <gst/gl/gstglframebuffer.h>
#include <gst/gl/gstglsl.h>
#include <gst/gl/gstglslstage.h>
#include <gst/gl/gstglmemory.h>
#include <gst/gl/gstglmemorypbo.h>
#include <gst/gl/gstglquery.h>
#include <gst/gl/gstgloverlaycompositor.h>
#include <gst/gl/gstglquery.h>
#include <gst/gl/gstglrenderbuffer.h>
#include <gst/gl/gstglshader.h>
#include <gst/gl/gstglshaderstrings.h>
#include <gst/gl/gstglsl.h>
#include <gst/gl/gstglslstage.h>
#include <gst/gl/gstglsyncmeta.h>
#include <gst/gl/gstglupload.h>
#include <gst/gl/gstglutils.h>
@ -60,13 +62,17 @@
#if GST_GL_HAVE_PLATFORM_EGL
#include <gst/gl/egl/gstgldisplay_egl.h>
#include <gst/gl/egl/gstglcontext_egl.h>
#include <gst/gl/egl/gstgldisplay_egl_device.h>
#include <gst/gl/egl/gstglmemoryegl.h>
#include <gst/gl/egl/gsteglimage.h>
#endif
#if GST_GL_HAVE_PLATFORM_GLX
#if GST_GL_HAVE_WINDOW_X11
#include <gst/gl/x11/gstgldisplay_x11.h>
#include <gst/gl/x11/gstglwindow_x11.h>
#endif
#if GST_GL_HAVE_WINDOW_WAYLAND
#include <gst/gl/wayland/gstgldisplay_wayland.h>
#endif
#include <gst/gl/gl.h>

View file

@ -69,6 +69,9 @@
#include <gst/video/videoorientation.h>
#include <gst/video/videooverlay.h>
#include <gst/video/navigation.h>
#if defined (TEST_GST_GL_ABI_CHECK)
#include "gstgl-public-headers.h"
#endif
/* initial version of the file was generated using:
* grep -A1 "<STRUCT>" ../../docs/libs/gst-plugins-base-libs-decl.txt | \
@ -92,6 +95,9 @@
#elif defined HAVE_CPU_ARM
# include "struct_arm.h"
# define HAVE_ABI_SIZES FALSE
#elif defined HAVE_CPU_AARCH64
# include "struct_aarch64.h"
# define HAVE_ABI_SIZES FALSE
#elif defined HAVE_CPU_PPC
# include "struct_ppc32.h"
# define HAVE_ABI_SIZES TRUE

View file

@ -0,0 +1,150 @@
GstCheckABIStruct list[] = {
{"GstAppSinkCallbacks", sizeof (GstAppSinkCallbacks), 56},
{"GstAppSinkClass", sizeof (GstAppSinkClass), 864},
{"GstAppSink", sizeof (GstAppSink), 704},
{"GstAppSrcCallbacks", sizeof (GstAppSrcCallbacks), 56},
{"GstAppSrcClass", sizeof (GstAppSrcClass), 872},
{"GstAppSrc", sizeof (GstAppSrc), 688},
{"GstAudioCdSrcClass", sizeof (GstAudioCdSrcClass), 1040},
{"GstAudioCdSrc", sizeof (GstAudioCdSrc), 720},
{"GstAudioCdSrcTrack", sizeof (GstAudioCdSrcTrack), 48},
{"GstAudioClockClass", sizeof (GstAudioClockClass), 328},
{"GstAudioClock", sizeof (GstAudioClock), 240},
{"GstAudioFilterClass", sizeof (GstAudioFilterClass), 856},
{"GstAudioFilter", sizeof (GstAudioFilter), 928},
{"GstAudioSinkClass", sizeof (GstAudioSinkClass), 928},
{"GstAudioSink", sizeof (GstAudioSink), 792},
{"GstAudioSrcClass", sizeof (GstAudioSrcClass), 984},
{"GstAudioSrc", sizeof (GstAudioSrc), 800},
{"GstAudioBaseSinkClass", sizeof (GstAudioBaseSinkClass), 840},
{"GstAudioBaseSink", sizeof (GstAudioBaseSink), 752},
{"GstAudioBaseSrcClass", sizeof (GstAudioBaseSrcClass), 896},
{"GstAudioBaseSrc", sizeof (GstAudioBaseSrc), 760},
{"GstRTPBaseAudioPayloadClass", sizeof (GstRTPBaseAudioPayloadClass), 600},
{"GstRTPBaseAudioPayload", sizeof (GstRTPBaseAudioPayload), 600},
{"GstRTPBaseDepayloadClass", sizeof (GstRTPBaseDepayloadClass), 552},
{"GstRTPBaseDepayload", sizeof (GstRTPBaseDepayload), 456},
{"GstRTPBasePayloadClass", sizeof (GstRTPBasePayloadClass), 568},
{"GstRTPBasePayload", sizeof (GstRTPBasePayload), 536},
{"GstColorBalanceChannelClass", sizeof (GstColorBalanceChannelClass), 176},
{"GstColorBalanceChannel", sizeof (GstColorBalanceChannel), 72},
{"GstColorBalanceInterface", sizeof (GstColorBalanceInterface), 88},
{"GstDiscovererClass", sizeof (GstDiscovererClass), 200},
{"GstDiscoverer", sizeof (GstDiscoverer), 64},
{"GstFFTF32Complex", sizeof (GstFFTF32Complex), 8},
{"GstFFTF64Complex", sizeof (GstFFTF64Complex), 16},
{"GstFFTS16Complex", sizeof (GstFFTS16Complex), 4},
{"GstFFTS32Complex", sizeof (GstFFTS32Complex), 8},
{"GstNavigationInterface", sizeof (GstNavigationInterface), 24},
{"gst_riff_acid", sizeof (gst_riff_acid), 24},
{"gst_riff_dmlh", sizeof (gst_riff_dmlh), 4},
{"gst_riff_index_entry", sizeof (gst_riff_index_entry), 16},
{"gst_riff_strf_auds", sizeof (gst_riff_strf_auds), 16},
{"gst_riff_strf_iavs", sizeof (gst_riff_strf_iavs), 32},
{"gst_riff_strf_vids", sizeof (gst_riff_strf_vids), 40},
{"gst_riff_strh", sizeof (gst_riff_strh), 48},
{"GstAudioRingBufferClass", sizeof (GstAudioRingBufferClass), 312},
{"GstAudioRingBuffer", sizeof (GstAudioRingBuffer), 888},
{"GstAudioRingBufferSpec", sizeof (GstAudioRingBufferSpec), 400},
{"GstRTCPPacket", sizeof (GstRTCPPacket), 40},
{"GstRTPPayloadInfo", sizeof (GstRTPPayloadInfo), 80},
{"GstRTSPExtensionInterface", sizeof (GstRTSPExtensionInterface), 128},
{"GstRTSPMessage", sizeof (GstRTSPMessage), 88},
{"GstRTSPRange", sizeof (GstRTSPRange), 8},
{"GstRTSPTime", sizeof (GstRTSPTime), 16},
{"GstRTSPTimeRange", sizeof (GstRTSPTimeRange), 88},
{"GstRTSPTransport", sizeof (GstRTSPTransport), 120},
{"GstRTSPUrl", sizeof (GstRTSPUrl), 56},
{"GstRTSPWatchFuncs", sizeof (GstRTSPWatchFuncs), 96},
{"GstSDPAttribute", sizeof (GstSDPAttribute), 16},
{"GstSDPBandwidth", sizeof (GstSDPBandwidth), 16},
{"GstSDPConnection", sizeof (GstSDPConnection), 32},
{"GstSDPKey", sizeof (GstSDPKey), 16},
{"GstSDPMedia", sizeof (GstSDPMedia), 80},
{"GstSDPMessage", sizeof (GstSDPMessage), 184},
{"GstSDPOrigin", sizeof (GstSDPOrigin), 48},
{"GstSDPTime", sizeof (GstSDPTime), 24},
{"GstSDPZone", sizeof (GstSDPZone), 16},
{"GstStreamVolumeInterface", sizeof (GstStreamVolumeInterface), 16},
{"GstTagDemuxClass", sizeof (GstTagDemuxClass), 552},
{"GstTagDemux", sizeof (GstTagDemux), 304},
{"GstVideoFilterClass", sizeof (GstVideoFilterClass), 872},
{"GstVideoFilter", sizeof (GstVideoFilter), 920},
{"GstVideoOrientationInterface", sizeof (GstVideoOrientationInterface), 80},
{"GstVideoRectangle", sizeof (GstVideoRectangle), 16},
{"GstVideoSinkClass", sizeof (GstVideoSinkClass), 832},
{"GstVideoSink", sizeof (GstVideoSink), 712},
{"GstVideoOverlayInterface", sizeof (GstVideoOverlayInterface), 48},
#if defined(TEST_GST_GL_ABI_CHECK)
{"GstGLAsyncDebug", sizeof (GstGLAsyncDebug), 120},
{"GstGLBaseFilter", sizeof (GstGLBaseFilter), 648},
{"GstGLBaseFilterClass", sizeof (GstGLBaseFilterClass), 880},
{"GstGLBaseMemory", sizeof (GstGLBaseMemory), 224},
{"GstGLAllocationParams", sizeof (GstGLAllocationParams), 120},
{"GstGLBaseMemoryAllocator", sizeof (GstGLBaseMemoryAllocator), 216},
{"GstGLBaseMemoryAllocatorClass", sizeof (GstGLBaseMemoryAllocatorClass), 312},
{"GstGLBaseSrc", sizeof (GstGLBaseSrc), 904},
{"GstGLBaseSrcClass", sizeof (GstGLBaseSrcClass), 920},
{"GstGLBuffer", sizeof (GstGLBuffer), 240},
{"GstGLBufferAllocationParams", sizeof (GstGLBufferAllocationParams), 160},
{"GstGLBufferAllocator", sizeof (GstGLBufferAllocator), 248},
{"GstGLBufferAllocatorClass", sizeof (GstGLBufferAllocatorClass), 344},
{"GstGLBufferPool", sizeof (GstGLBufferPool), 184},
{"GstGLBufferPoolClass", sizeof (GstGLBufferPoolClass), 320},
{"GstGLColorConvert", sizeof (GstGLColorConvert), 480},
{"GstGLColorConvertClass", sizeof (GstGLColorConvertClass), 216},
{"GstGLContext", sizeof (GstGLContext), 152},
{"GstGLContextClass", sizeof (GstGLContextClass), 312},
{"GstGLDisplay", sizeof (GstGLDisplay), 136},
{"GstGLDisplayClass", sizeof (GstGLDisplayClass), 232},
{"GstGLFilter", sizeof (GstGLFilter), 1064},
{"GstGLFilterClass", sizeof (GstGLFilterClass), 952},
{"GstGLFuncs", sizeof (GstGLFuncs), 2968},
{"GstGLFramebuffer", sizeof (GstGLFramebuffer), 152},
{"GstGLFramebufferClass", sizeof (GstGLFramebufferClass), 216},
{"GstGLMemory", sizeof (GstGLMemory), 480},
{"GstGLVideoAllocationParams", sizeof (GstGLVideoAllocationParams), 184},
{"GstGLMemoryAllocator", sizeof (GstGLMemoryAllocator), 248},
{"GstGLMemoryAllocatorClass", sizeof (GstGLMemoryAllocatorClass), 368},
{"GstGLMemoryPBO", sizeof (GstGLMemoryPBO), 520},
{"GstGLMemoryPBOAllocator", sizeof (GstGLMemoryPBOAllocator), 280},
{"GstGLMemoryPBOAllocatorClass", sizeof (GstGLMemoryPBOAllocatorClass), 400},
{"GstGLRenderbuffer", sizeof (GstGLRenderbuffer), 280},
{"GstGLRenderbufferAllocationParams", sizeof (GstGLRenderbufferAllocationParams), 168},
{"GstGLRenderbufferAllocator", sizeof (GstGLRenderbufferAllocator), 248},
{"GstGLRenderbufferAllocatorClass", sizeof (GstGLRenderbufferAllocatorClass), 344},
{"GstGLSLStage", sizeof (GstGLSLStage), 136},
{"GstGLSLStageClass", sizeof (GstGLSLStageClass), 216},
{"GstGLShader", sizeof (GstGLShader), 136},
{"GstGLShaderClass", sizeof (GstGLShaderClass), 184},
{"GstGLUpload", sizeof (GstGLUpload), 136},
{"GstGLUploadClass", sizeof (GstGLUploadClass), 216},
{"GstGLOverlayCompositor", sizeof (GstGLOverlayCompositor), 160},
{"GstGLOverlayCompositorClass", sizeof (GstGLOverlayCompositorClass), 216},
{"GstGLQuery", sizeof (GstGLQuery), 176},
{"GstGLViewConvert", sizeof (GstGLViewConvert), 504},
{"GstGLViewConvertClass", sizeof (GstGLViewConvertClass), 216},
{"GstGLWindow", sizeof (GstGLWindow), 248},
{"GstGLWindowClass", sizeof (GstGLWindowClass), 336},
#if GST_GL_HAVE_PLATFORM_EGL
{"GstGLDisplayEGL", sizeof (GstGLDisplayEGL), 184},
{"GstGLDisplayEGLClass", sizeof (GstGLDisplayEGLClass), 264},
{"GstGLDisplayEGLDevice", sizeof (GstGLDisplayEGL), 184},
{"GstGLDisplayEGLDeviceClass", sizeof (GstGLDisplayEGLClass), 264},
{"GstGLMemoryEGL", sizeof (GstGLMemoryEGL), 520},
{"GstGLMemoryEGLAllocator", sizeof (GstGLMemoryEGLAllocator), 280},
{"GstGLMemoryEGLAllocatorClass", sizeof (GstGLMemoryEGLAllocatorClass), 400},
{"GstEGLImage", sizeof (GstGLMemoryEGLAllocatorClass), 400},
#endif
#if GST_GL_HAVE_WINDOW_WAYLAND
{"GstGLDisplayWayland", sizeof (GstGLDisplayWayland), 216},
{"GstGLDisplayWaylandClass", sizeof (GstGLDisplayWaylandClass), 264},
#endif
#if GST_GL_HAVE_WINDOW_X11
{"GstGLDisplayX11", sizeof (GstGLDisplayX11), 200},
{"GstGLDisplayX11Class", sizeof (GstGLDisplayX11Class), 264},
#endif
#endif
{NULL, 0, 0}
};

View file

@ -76,5 +76,75 @@ GstCheckABIStruct list[] = {
{"GstVideoSinkClass", sizeof (GstVideoSinkClass), 384},
{"GstVideoSink", sizeof (GstVideoSink), 432},
{"GstVideoOverlayInterface", sizeof (GstVideoOverlayInterface), 32},
#if defined(TEST_GST_GL_ABI_CHECK)
{"GstGLAsyncDebug", sizeof (GstGLAsyncDebug), 120},
{"GstGLBaseFilter", sizeof (GstGLBaseFilter), 648},
{"GstGLBaseFilterClass", sizeof (GstGLBaseFilterClass), 880},
{"GstGLBaseMemory", sizeof (GstGLBaseMemory), 224},
{"GstGLAllocationParams", sizeof (GstGLAllocationParams), 120},
{"GstGLBaseMemoryAllocator", sizeof (GstGLBaseMemoryAllocator), 216},
{"GstGLBaseMemoryAllocatorClass", sizeof (GstGLBaseMemoryAllocatorClass), 312},
{"GstGLBaseSrc", sizeof (GstGLBaseSrc), 904},
{"GstGLBaseSrcClass", sizeof (GstGLBaseSrcClass), 920},
{"GstGLBuffer", sizeof (GstGLBuffer), 240},
{"GstGLBufferAllocationParams", sizeof (GstGLBufferAllocationParams), 160},
{"GstGLBufferAllocator", sizeof (GstGLBufferAllocator), 248},
{"GstGLBufferAllocatorClass", sizeof (GstGLBufferAllocatorClass), 344},
{"GstGLBufferPool", sizeof (GstGLBufferPool), 184},
{"GstGLBufferPoolClass", sizeof (GstGLBufferPoolClass), 320},
{"GstGLColorConvert", sizeof (GstGLColorConvert), 480},
{"GstGLColorConvertClass", sizeof (GstGLColorConvertClass), 216},
{"GstGLContext", sizeof (GstGLContext), 152},
{"GstGLContextClass", sizeof (GstGLContextClass), 312},
{"GstGLDisplay", sizeof (GstGLDisplay), 136},
{"GstGLDisplayClass", sizeof (GstGLDisplayClass), 232},
{"GstGLFilter", sizeof (GstGLFilter), 1064},
{"GstGLFilterClass", sizeof (GstGLFilterClass), 952},
{"GstGLFuncs", sizeof (GstGLFuncs), 2968},
{"GstGLFramebuffer", sizeof (GstGLFramebuffer), 152},
{"GstGLFramebufferClass", sizeof (GstGLFramebufferClass), 216},
{"GstGLMemory", sizeof (GstGLMemory), 480},
{"GstGLVideoAllocationParams", sizeof (GstGLVideoAllocationParams), 184},
{"GstGLMemoryAllocator", sizeof (GstGLMemoryAllocator), 248},
{"GstGLMemoryAllocatorClass", sizeof (GstGLMemoryAllocatorClass), 368},
{"GstGLMemoryPBO", sizeof (GstGLMemoryPBO), 520},
{"GstGLMemoryPBOAllocator", sizeof (GstGLMemoryPBOAllocator), 280},
{"GstGLMemoryPBOAllocatorClass", sizeof (GstGLMemoryPBOAllocatorClass), 400},
{"GstGLRenderbuffer", sizeof (GstGLRenderbuffer), 280},
{"GstGLRenderbufferAllocationParams", sizeof (GstGLRenderbufferAllocationParams), 168},
{"GstGLRenderbufferAllocator", sizeof (GstGLRenderbufferAllocator), 248},
{"GstGLRenderbufferAllocatorClass", sizeof (GstGLRenderbufferAllocatorClass), 344},
{"GstGLSLStage", sizeof (GstGLSLStage), 136},
{"GstGLSLStageClass", sizeof (GstGLSLStageClass), 216},
{"GstGLShader", sizeof (GstGLShader), 136},
{"GstGLShaderClass", sizeof (GstGLShaderClass), 184},
{"GstGLUpload", sizeof (GstGLUpload), 136},
{"GstGLUploadClass", sizeof (GstGLUploadClass), 216},
{"GstGLOverlayCompositor", sizeof (GstGLOverlayCompositor), 160},
{"GstGLOverlayCompositorClass", sizeof (GstGLOverlayCompositorClass), 216},
{"GstGLQuery", sizeof (GstGLQuery), 176},
{"GstGLViewConvert", sizeof (GstGLViewConvert), 504},
{"GstGLViewConvertClass", sizeof (GstGLViewConvertClass), 216},
{"GstGLWindow", sizeof (GstGLWindow), 248},
{"GstGLWindowClass", sizeof (GstGLWindowClass), 336},
#if GST_GL_HAVE_PLATFORM_EGL
{"GstGLDisplayEGL", sizeof (GstGLDisplayEGL), 184},
{"GstGLDisplayEGLClass", sizeof (GstGLDisplayEGLClass), 264},
{"GstGLDisplayEGLDevice", sizeof (GstGLDisplayEGL), 184},
{"GstGLDisplayEGLDeviceClass", sizeof (GstGLDisplayEGLClass), 264},
{"GstGLMemoryEGL", sizeof (GstGLMemoryEGL), 520},
{"GstGLMemoryEGLAllocator", sizeof (GstGLMemoryEGLAllocator), 280},
{"GstGLMemoryEGLAllocatorClass", sizeof (GstGLMemoryEGLAllocatorClass), 400},
{"GstEGLImage", sizeof (GstGLMemoryEGLAllocatorClass), 400},
#endif
#if GST_GL_HAVE_WINDOW_WAYLAND
{"GstGLDisplayWayland", sizeof (GstGLDisplayWayland), 216},
{"GstGLDisplayWaylandClass", sizeof (GstGLDisplayWaylandClass), 264},
#endif
#if GST_GL_HAVE_WINDOW_X11
{"GstGLDisplayX11", sizeof (GstGLDisplayX11), 200},
{"GstGLDisplayX11Class", sizeof (GstGLDisplayX11Class), 264},
#endif
#endif
{NULL, 0, 0}
};

View file

@ -76,5 +76,75 @@ GstCheckABIStruct list[] = {
{"GstVideoSinkClass", sizeof (GstVideoSinkClass), 420},
{"GstVideoSink", sizeof (GstVideoSink), 468},
{"GstVideoOverlayInterface", sizeof (GstVideoOverlayInterface), 24},
#if defined(TEST_GST_GL_ABI_CHECK)
{"GstGLAsyncDebug", sizeof (GstGLAsyncDebug), 120},
{"GstGLBaseFilter", sizeof (GstGLBaseFilter), 648},
{"GstGLBaseFilterClass", sizeof (GstGLBaseFilterClass), 880},
{"GstGLBaseMemory", sizeof (GstGLBaseMemory), 224},
{"GstGLAllocationParams", sizeof (GstGLAllocationParams), 120},
{"GstGLBaseMemoryAllocator", sizeof (GstGLBaseMemoryAllocator), 216},
{"GstGLBaseMemoryAllocatorClass", sizeof (GstGLBaseMemoryAllocatorClass), 312},
{"GstGLBaseSrc", sizeof (GstGLBaseSrc), 904},
{"GstGLBaseSrcClass", sizeof (GstGLBaseSrcClass), 920},
{"GstGLBuffer", sizeof (GstGLBuffer), 240},
{"GstGLBufferAllocationParams", sizeof (GstGLBufferAllocationParams), 160},
{"GstGLBufferAllocator", sizeof (GstGLBufferAllocator), 248},
{"GstGLBufferAllocatorClass", sizeof (GstGLBufferAllocatorClass), 344},
{"GstGLBufferPool", sizeof (GstGLBufferPool), 184},
{"GstGLBufferPoolClass", sizeof (GstGLBufferPoolClass), 320},
{"GstGLColorConvert", sizeof (GstGLColorConvert), 480},
{"GstGLColorConvertClass", sizeof (GstGLColorConvertClass), 216},
{"GstGLContext", sizeof (GstGLContext), 152},
{"GstGLContextClass", sizeof (GstGLContextClass), 312},
{"GstGLDisplay", sizeof (GstGLDisplay), 136},
{"GstGLDisplayClass", sizeof (GstGLDisplayClass), 232},
{"GstGLFilter", sizeof (GstGLFilter), 1064},
{"GstGLFilterClass", sizeof (GstGLFilterClass), 952},
{"GstGLFuncs", sizeof (GstGLFuncs), 2968},
{"GstGLFramebuffer", sizeof (GstGLFramebuffer), 152},
{"GstGLFramebufferClass", sizeof (GstGLFramebufferClass), 216},
{"GstGLMemory", sizeof (GstGLMemory), 480},
{"GstGLVideoAllocationParams", sizeof (GstGLVideoAllocationParams), 184},
{"GstGLMemoryAllocator", sizeof (GstGLMemoryAllocator), 248},
{"GstGLMemoryAllocatorClass", sizeof (GstGLMemoryAllocatorClass), 368},
{"GstGLMemoryPBO", sizeof (GstGLMemoryPBO), 520},
{"GstGLMemoryPBOAllocator", sizeof (GstGLMemoryPBOAllocator), 280},
{"GstGLMemoryPBOAllocatorClass", sizeof (GstGLMemoryPBOAllocatorClass), 400},
{"GstGLRenderbuffer", sizeof (GstGLRenderbuffer), 280},
{"GstGLRenderbufferAllocationParams", sizeof (GstGLRenderbufferAllocationParams), 168},
{"GstGLRenderbufferAllocator", sizeof (GstGLRenderbufferAllocator), 248},
{"GstGLRenderbufferAllocatorClass", sizeof (GstGLRenderbufferAllocatorClass), 344},
{"GstGLSLStage", sizeof (GstGLSLStage), 136},
{"GstGLSLStageClass", sizeof (GstGLSLStageClass), 216},
{"GstGLShader", sizeof (GstGLShader), 136},
{"GstGLShaderClass", sizeof (GstGLShaderClass), 184},
{"GstGLUpload", sizeof (GstGLUpload), 136},
{"GstGLUploadClass", sizeof (GstGLUploadClass), 216},
{"GstGLOverlayCompositor", sizeof (GstGLOverlayCompositor), 160},
{"GstGLOverlayCompositorClass", sizeof (GstGLOverlayCompositorClass), 216},
{"GstGLQuery", sizeof (GstGLQuery), 176},
{"GstGLViewConvert", sizeof (GstGLViewConvert), 504},
{"GstGLViewConvertClass", sizeof (GstGLViewConvertClass), 216},
{"GstGLWindow", sizeof (GstGLWindow), 248},
{"GstGLWindowClass", sizeof (GstGLWindowClass), 336},
#if GST_GL_HAVE_PLATFORM_EGL
{"GstGLDisplayEGL", sizeof (GstGLDisplayEGL), 184},
{"GstGLDisplayEGLClass", sizeof (GstGLDisplayEGLClass), 264},
{"GstGLDisplayEGLDevice", sizeof (GstGLDisplayEGL), 184},
{"GstGLDisplayEGLDeviceClass", sizeof (GstGLDisplayEGLClass), 264},
{"GstGLMemoryEGL", sizeof (GstGLMemoryEGL), 520},
{"GstGLMemoryEGLAllocator", sizeof (GstGLMemoryEGLAllocator), 280},
{"GstGLMemoryEGLAllocatorClass", sizeof (GstGLMemoryEGLAllocatorClass), 400},
{"GstEGLImage", sizeof (GstGLMemoryEGLAllocatorClass), 400},
#endif
#if GST_GL_HAVE_WINDOW_WAYLAND
{"GstGLDisplayWayland", sizeof (GstGLDisplayWayland), 216},
{"GstGLDisplayWaylandClass", sizeof (GstGLDisplayWaylandClass), 264},
#endif
#if GST_GL_HAVE_WINDOW_X11
{"GstGLDisplayX11", sizeof (GstGLDisplayX11), 200},
{"GstGLDisplayX11Class", sizeof (GstGLDisplayX11Class), 264},
#endif
#endif
{NULL, 0, 0}
};

View file

@ -76,5 +76,78 @@ GstCheckABIStruct list[] = {
{"GstVideoSinkClass", sizeof (GstVideoSinkClass), 420},
{"GstVideoSink", sizeof (GstVideoSink), 496},
{"GstVideoOverlayInterface", sizeof (GstVideoOverlayInterface), 24},
#if 0
/* FIXME:
#if defined(TEST_GST_GL_ABI_CHECK)
{"GstGLAsyncDebug", sizeof (GstGLAsyncDebug), 120},
{"GstGLBaseFilter", sizeof (GstGLBaseFilter), 648},
{"GstGLBaseFilterClass", sizeof (GstGLBaseFilterClass), 880},
{"GstGLBaseMemory", sizeof (GstGLBaseMemory), 224},
{"GstGLAllocationParams", sizeof (GstGLAllocationParams), 120},
{"GstGLBaseMemoryAllocator", sizeof (GstGLBaseMemoryAllocator), 216},
{"GstGLBaseMemoryAllocatorClass", sizeof (GstGLBaseMemoryAllocatorClass), 312},
{"GstGLBaseSrc", sizeof (GstGLBaseSrc), 904},
{"GstGLBaseSrcClass", sizeof (GstGLBaseSrcClass), 920},
{"GstGLBuffer", sizeof (GstGLBuffer), 240},
{"GstGLBufferAllocationParams", sizeof (GstGLBufferAllocationParams), 160},
{"GstGLBufferAllocator", sizeof (GstGLBufferAllocator), 248},
{"GstGLBufferAllocatorClass", sizeof (GstGLBufferAllocatorClass), 344},
{"GstGLBufferPool", sizeof (GstGLBufferPool), 184},
{"GstGLBufferPoolClass", sizeof (GstGLBufferPoolClass), 320},
{"GstGLColorConvert", sizeof (GstGLColorConvert), 480},
{"GstGLColorConvertClass", sizeof (GstGLColorConvertClass), 216},
{"GstGLContext", sizeof (GstGLContext), 152},
{"GstGLContextClass", sizeof (GstGLContextClass), 312},
{"GstGLDisplay", sizeof (GstGLDisplay), 136},
{"GstGLDisplayClass", sizeof (GstGLDisplayClass), 232},
{"GstGLFilter", sizeof (GstGLFilter), 1064},
{"GstGLFilterClass", sizeof (GstGLFilterClass), 952},
{"GstGLFuncs", sizeof (GstGLFuncs), 2968},
{"GstGLFramebuffer", sizeof (GstGLFramebuffer), 152},
{"GstGLFramebufferClass", sizeof (GstGLFramebufferClass), 216},
{"GstGLMemory", sizeof (GstGLMemory), 480},
{"GstGLVideoAllocationParams", sizeof (GstGLVideoAllocationParams), 184},
{"GstGLMemoryAllocator", sizeof (GstGLMemoryAllocator), 248},
{"GstGLMemoryAllocatorClass", sizeof (GstGLMemoryAllocatorClass), 368},
{"GstGLMemoryPBO", sizeof (GstGLMemoryPBO), 520},
{"GstGLMemoryPBOAllocator", sizeof (GstGLMemoryPBOAllocator), 280},
{"GstGLMemoryPBOAllocatorClass", sizeof (GstGLMemoryPBOAllocatorClass), 400},
{"GstGLRenderbuffer", sizeof (GstGLRenderbuffer), 280},
{"GstGLRenderbufferAllocationParams", sizeof (GstGLRenderbufferAllocationParams), 168},
{"GstGLRenderbufferAllocator", sizeof (GstGLRenderbufferAllocator), 248},
{"GstGLRenderbufferAllocatorClass", sizeof (GstGLRenderbufferAllocatorClass), 344},
{"GstGLSLStage", sizeof (GstGLSLStage), 136},
{"GstGLSLStageClass", sizeof (GstGLSLStageClass), 216},
{"GstGLShader", sizeof (GstGLShader), 136},
{"GstGLShaderClass", sizeof (GstGLShaderClass), 184},
{"GstGLUpload", sizeof (GstGLUpload), 136},
{"GstGLUploadClass", sizeof (GstGLUploadClass), 216},
{"GstGLOverlayCompositor", sizeof (GstGLOverlayCompositor), 160},
{"GstGLOverlayCompositorClass", sizeof (GstGLOverlayCompositorClass), 216},
{"GstGLQuery", sizeof (GstGLQuery), 176},
{"GstGLViewConvert", sizeof (GstGLViewConvert), 504},
{"GstGLViewConvertClass", sizeof (GstGLViewConvertClass), 216},
{"GstGLWindow", sizeof (GstGLWindow), 248},
{"GstGLWindowClass", sizeof (GstGLWindowClass), 336},
#if GST_GL_HAVE_PLATFORM_EGL
{"GstGLDisplayEGL", sizeof (GstGLDisplayEGL), 184},
{"GstGLDisplayEGLClass", sizeof (GstGLDisplayEGLClass), 264},
{"GstGLDisplayEGLDevice", sizeof (GstGLDisplayEGL), 184},
{"GstGLDisplayEGLDeviceClass", sizeof (GstGLDisplayEGLClass), 264},
{"GstGLMemoryEGL", sizeof (GstGLMemoryEGL), 520},
{"GstGLMemoryEGLAllocator", sizeof (GstGLMemoryEGLAllocator), 280},
{"GstGLMemoryEGLAllocatorClass", sizeof (GstGLMemoryEGLAllocatorClass), 400},
{"GstEGLImage", sizeof (GstGLMemoryEGLAllocatorClass), 400},
#endif
#if GST_GL_HAVE_WINDOW_WAYLAND
{"GstGLDisplayWayland", sizeof (GstGLDisplayWayland), 216},
{"GstGLDisplayWaylandClass", sizeof (GstGLDisplayWaylandClass), 264},
#endif
#if GST_GL_HAVE_WINDOW_X11
{"GstGLDisplayX11", sizeof (GstGLDisplayX11), 200},
{"GstGLDisplayX11Class", sizeof (GstGLDisplayX11Class), 264},
#endif
#endif
#endif
{NULL, 0, 0}
};

View file

@ -76,5 +76,78 @@ GstCheckABIStruct list[] = {
{"GstVideoSinkClass", sizeof (GstVideoSinkClass), 832},
{"GstVideoSink", sizeof (GstVideoSink), 712},
{"GstVideoOverlayInterface", sizeof (GstVideoOverlayInterface), 48},
#if 0
/* FIXME */
#if defined(TEST_GST_GL_ABI_CHECK)
{"GstGLAsyncDebug", sizeof (GstGLAsyncDebug), 120},
{"GstGLBaseFilter", sizeof (GstGLBaseFilter), 648},
{"GstGLBaseFilterClass", sizeof (GstGLBaseFilterClass), 880},
{"GstGLBaseMemory", sizeof (GstGLBaseMemory), 224},
{"GstGLAllocationParams", sizeof (GstGLAllocationParams), 120},
{"GstGLBaseMemoryAllocator", sizeof (GstGLBaseMemoryAllocator), 216},
{"GstGLBaseMemoryAllocatorClass", sizeof (GstGLBaseMemoryAllocatorClass), 312},
{"GstGLBaseSrc", sizeof (GstGLBaseSrc), 904},
{"GstGLBaseSrcClass", sizeof (GstGLBaseSrcClass), 920},
{"GstGLBuffer", sizeof (GstGLBuffer), 240},
{"GstGLBufferAllocationParams", sizeof (GstGLBufferAllocationParams), 160},
{"GstGLBufferAllocator", sizeof (GstGLBufferAllocator), 248},
{"GstGLBufferAllocatorClass", sizeof (GstGLBufferAllocatorClass), 344},
{"GstGLBufferPool", sizeof (GstGLBufferPool), 184},
{"GstGLBufferPoolClass", sizeof (GstGLBufferPoolClass), 320},
{"GstGLColorConvert", sizeof (GstGLColorConvert), 480},
{"GstGLColorConvertClass", sizeof (GstGLColorConvertClass), 216},
{"GstGLContext", sizeof (GstGLContext), 152},
{"GstGLContextClass", sizeof (GstGLContextClass), 312},
{"GstGLDisplay", sizeof (GstGLDisplay), 136},
{"GstGLDisplayClass", sizeof (GstGLDisplayClass), 232},
{"GstGLFilter", sizeof (GstGLFilter), 1064},
{"GstGLFilterClass", sizeof (GstGLFilterClass), 952},
{"GstGLFuncs", sizeof (GstGLFuncs), 2968},
{"GstGLFramebuffer", sizeof (GstGLFramebuffer), 152},
{"GstGLFramebufferClass", sizeof (GstGLFramebufferClass), 216},
{"GstGLMemory", sizeof (GstGLMemory), 480},
{"GstGLVideoAllocationParams", sizeof (GstGLVideoAllocationParams), 184},
{"GstGLMemoryAllocator", sizeof (GstGLMemoryAllocator), 248},
{"GstGLMemoryAllocatorClass", sizeof (GstGLMemoryAllocatorClass), 368},
{"GstGLMemoryPBO", sizeof (GstGLMemoryPBO), 520},
{"GstGLMemoryPBOAllocator", sizeof (GstGLMemoryPBOAllocator), 280},
{"GstGLMemoryPBOAllocatorClass", sizeof (GstGLMemoryPBOAllocatorClass), 400},
{"GstGLRenderbuffer", sizeof (GstGLRenderbuffer), 280},
{"GstGLRenderbufferAllocationParams", sizeof (GstGLRenderbufferAllocationParams), 168},
{"GstGLRenderbufferAllocator", sizeof (GstGLRenderbufferAllocator), 248},
{"GstGLRenderbufferAllocatorClass", sizeof (GstGLRenderbufferAllocatorClass), 344},
{"GstGLSLStage", sizeof (GstGLSLStage), 136},
{"GstGLSLStageClass", sizeof (GstGLSLStageClass), 216},
{"GstGLShader", sizeof (GstGLShader), 136},
{"GstGLShaderClass", sizeof (GstGLShaderClass), 184},
{"GstGLUpload", sizeof (GstGLUpload), 136},
{"GstGLUploadClass", sizeof (GstGLUploadClass), 216},
{"GstGLOverlayCompositor", sizeof (GstGLOverlayCompositor), 160},
{"GstGLOverlayCompositorClass", sizeof (GstGLOverlayCompositorClass), 216},
{"GstGLQuery", sizeof (GstGLQuery), 176},
{"GstGLViewConvert", sizeof (GstGLViewConvert), 504},
{"GstGLViewConvertClass", sizeof (GstGLViewConvertClass), 216},
{"GstGLWindow", sizeof (GstGLWindow), 248},
{"GstGLWindowClass", sizeof (GstGLWindowClass), 336},
#if GST_GL_HAVE_PLATFORM_EGL
{"GstGLDisplayEGL", sizeof (GstGLDisplayEGL), 184},
{"GstGLDisplayEGLClass", sizeof (GstGLDisplayEGLClass), 264},
{"GstGLDisplayEGLDevice", sizeof (GstGLDisplayEGL), 184},
{"GstGLDisplayEGLDeviceClass", sizeof (GstGLDisplayEGLClass), 264},
{"GstGLMemoryEGL", sizeof (GstGLMemoryEGL), 520},
{"GstGLMemoryEGLAllocator", sizeof (GstGLMemoryEGLAllocator), 280},
{"GstGLMemoryEGLAllocatorClass", sizeof (GstGLMemoryEGLAllocatorClass), 400},
{"GstEGLImage", sizeof (GstGLMemoryEGLAllocatorClass), 400},
#endif
#if GST_GL_HAVE_WINDOW_WAYLAND
{"GstGLDisplayWayland", sizeof (GstGLDisplayWayland), 216},
{"GstGLDisplayWaylandClass", sizeof (GstGLDisplayWaylandClass), 264},
#endif
#if GST_GL_HAVE_WINDOW_X11
{"GstGLDisplayX11", sizeof (GstGLDisplayX11), 200},
{"GstGLDisplayX11Class", sizeof (GstGLDisplayX11Class), 264},
#endif
#endif
#endif
{NULL, 0, 0}
};

View file

@ -76,5 +76,75 @@ GstCheckABIStruct list[] = {
{"GstVideoSinkClass", sizeof (GstVideoSinkClass), 832},
{"GstVideoSink", sizeof (GstVideoSink), 712},
{"GstVideoOverlayInterface", sizeof (GstVideoOverlayInterface), 48},
#if defined(TEST_GST_GL_ABI_CHECK)
{"GstGLAsyncDebug", sizeof (GstGLAsyncDebug), 120},
{"GstGLBaseFilter", sizeof (GstGLBaseFilter), 648},
{"GstGLBaseFilterClass", sizeof (GstGLBaseFilterClass), 880},
{"GstGLBaseMemory", sizeof (GstGLBaseMemory), 224},
{"GstGLAllocationParams", sizeof (GstGLAllocationParams), 120},
{"GstGLBaseMemoryAllocator", sizeof (GstGLBaseMemoryAllocator), 216},
{"GstGLBaseMemoryAllocatorClass", sizeof (GstGLBaseMemoryAllocatorClass), 312},
{"GstGLBaseSrc", sizeof (GstGLBaseSrc), 904},
{"GstGLBaseSrcClass", sizeof (GstGLBaseSrcClass), 920},
{"GstGLBuffer", sizeof (GstGLBuffer), 240},
{"GstGLBufferAllocationParams", sizeof (GstGLBufferAllocationParams), 160},
{"GstGLBufferAllocator", sizeof (GstGLBufferAllocator), 248},
{"GstGLBufferAllocatorClass", sizeof (GstGLBufferAllocatorClass), 344},
{"GstGLBufferPool", sizeof (GstGLBufferPool), 184},
{"GstGLBufferPoolClass", sizeof (GstGLBufferPoolClass), 320},
{"GstGLColorConvert", sizeof (GstGLColorConvert), 480},
{"GstGLColorConvertClass", sizeof (GstGLColorConvertClass), 216},
{"GstGLContext", sizeof (GstGLContext), 152},
{"GstGLContextClass", sizeof (GstGLContextClass), 312},
{"GstGLDisplay", sizeof (GstGLDisplay), 136},
{"GstGLDisplayClass", sizeof (GstGLDisplayClass), 232},
{"GstGLFilter", sizeof (GstGLFilter), 1064},
{"GstGLFilterClass", sizeof (GstGLFilterClass), 952},
{"GstGLFuncs", sizeof (GstGLFuncs), 2968},
{"GstGLFramebuffer", sizeof (GstGLFramebuffer), 152},
{"GstGLFramebufferClass", sizeof (GstGLFramebufferClass), 216},
{"GstGLMemory", sizeof (GstGLMemory), 480},
{"GstGLVideoAllocationParams", sizeof (GstGLVideoAllocationParams), 184},
{"GstGLMemoryAllocator", sizeof (GstGLMemoryAllocator), 248},
{"GstGLMemoryAllocatorClass", sizeof (GstGLMemoryAllocatorClass), 368},
{"GstGLMemoryPBO", sizeof (GstGLMemoryPBO), 520},
{"GstGLMemoryPBOAllocator", sizeof (GstGLMemoryPBOAllocator), 280},
{"GstGLMemoryPBOAllocatorClass", sizeof (GstGLMemoryPBOAllocatorClass), 400},
{"GstGLRenderbuffer", sizeof (GstGLRenderbuffer), 280},
{"GstGLRenderbufferAllocationParams", sizeof (GstGLRenderbufferAllocationParams), 168},
{"GstGLRenderbufferAllocator", sizeof (GstGLRenderbufferAllocator), 248},
{"GstGLRenderbufferAllocatorClass", sizeof (GstGLRenderbufferAllocatorClass), 344},
{"GstGLSLStage", sizeof (GstGLSLStage), 136},
{"GstGLSLStageClass", sizeof (GstGLSLStageClass), 216},
{"GstGLShader", sizeof (GstGLShader), 136},
{"GstGLShaderClass", sizeof (GstGLShaderClass), 184},
{"GstGLUpload", sizeof (GstGLUpload), 136},
{"GstGLUploadClass", sizeof (GstGLUploadClass), 216},
{"GstGLOverlayCompositor", sizeof (GstGLOverlayCompositor), 160},
{"GstGLOverlayCompositorClass", sizeof (GstGLOverlayCompositorClass), 216},
{"GstGLQuery", sizeof (GstGLQuery), 176},
{"GstGLViewConvert", sizeof (GstGLViewConvert), 504},
{"GstGLViewConvertClass", sizeof (GstGLViewConvertClass), 216},
{"GstGLWindow", sizeof (GstGLWindow), 248},
{"GstGLWindowClass", sizeof (GstGLWindowClass), 336},
#if GST_GL_HAVE_PLATFORM_EGL
{"GstGLDisplayEGL", sizeof (GstGLDisplayEGL), 184},
{"GstGLDisplayEGLClass", sizeof (GstGLDisplayEGLClass), 264},
{"GstGLDisplayEGLDevice", sizeof (GstGLDisplayEGL), 184},
{"GstGLDisplayEGLDeviceClass", sizeof (GstGLDisplayEGLClass), 264},
{"GstGLMemoryEGL", sizeof (GstGLMemoryEGL), 520},
{"GstGLMemoryEGLAllocator", sizeof (GstGLMemoryEGLAllocator), 280},
{"GstGLMemoryEGLAllocatorClass", sizeof (GstGLMemoryEGLAllocatorClass), 400},
{"GstEGLImage", sizeof (GstGLMemoryEGLAllocatorClass), 400},
#endif
#if GST_GL_HAVE_WINDOW_WAYLAND
{"GstGLDisplayWayland", sizeof (GstGLDisplayWayland), 216},
{"GstGLDisplayWaylandClass", sizeof (GstGLDisplayWaylandClass), 264},
#endif
#if GST_GL_HAVE_WINDOW_X11
{"GstGLDisplayX11", sizeof (GstGLDisplayX11), 200},
{"GstGLDisplayX11Class", sizeof (GstGLDisplayX11Class), 264},
#endif
#endif
{NULL, 0, 0}
};

View file

@ -11,7 +11,7 @@ base_tests = [
[ 'libs/baseaudiovisualizer.c' ],
[ 'libs/discoverer.c' ],
[ 'libs/fft.c' ],
[ 'libs/libsabi.c' ],
[ 'libs/libsabi.c', false, [ gstgl_dep ] ],
[ 'libs/mikey.c' ],
[ 'libs/navigation.c' ],
[ 'libs/pbutils.c' ],
@ -128,6 +128,10 @@ if valgrind_dep.found()
test_defines += ['-DHAVE_VALGRIND']
endif
if build_gstgl
test_defines += ['-DTEST_GST_GL_ABI_CHECK']
endif
test_deps = [gst_dep, gst_base_dep, gst_net_dep, gst_check_dep, audio_dep,
video_dep, pbutils_dep, rtp_dep, rtsp_dep, tag_dep, allocators_dep, app_dep,
fft_dep, riff_dep, sdp_dep, gio_dep, valgrind_dep] + glib_deps