tests: add gl structs to abi check
authorMatthew Waters <matthew@centricular.com>
Thu, 16 Jul 2020 08:10:45 +0000 (18:10 +1000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 9 Oct 2020 06:12:30 +0000 (06:12 +0000)
Tested on x86, x86_64, armv7l, aarch64.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/854>

tests/check/libs/gstgl-public-headers.h [new file with mode: 0644]
tests/check/libs/gstglheaders.c
tests/check/libs/libsabi.c
tests/check/libs/struct_aarch64.h [new file with mode: 0644]
tests/check/libs/struct_arm.h
tests/check/libs/struct_i386.h
tests/check/libs/struct_ppc32.h
tests/check/libs/struct_ppc64.h
tests/check/libs/struct_x86_64.h
tests/check/meson.build

diff --git a/tests/check/libs/gstgl-public-headers.h b/tests/check/libs/gstgl-public-headers.h
new file mode 100644 (file)
index 0000000..5b00ad9
--- /dev/null
@@ -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
+
index 56922d0..82b2c54 100644 (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>
 #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>
 
 #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>
index 40595a9..6a3156b 100644 (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
diff --git a/tests/check/libs/struct_aarch64.h b/tests/check/libs/struct_aarch64.h
new file mode 100644 (file)
index 0000000..81828f6
--- /dev/null
@@ -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}
+};
index d46b37b..107137e 100644 (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}
 };
index b5d5172..7a9f7c5 100644 (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}
 };
index 6f2a5e0..0e42282 100644 (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}
 };
index e60f624..7732266 100644 (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}
 };
index e60f624..81828f6 100644 (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}
 };
index c2702f3..57ea006 100644 (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