mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
0e56bead42
- xcb is supposedly thread-safe! videotestsrc ! glimagesink now doesn't spuriously result in a 'call XInitThreads()' error however if anybody else is using X11, then XInitThreads() still needs to be called and multiple glimagesink's still need XInitThreads(). Everything still takes libX11 handles as they are compatible with the xcb variants. Unfortunately we cannot move fully over to xcb due to GLX being entirely based on Xlib. It's also impossible to transform a xcb_connection to a Display which means we require X11 handles.
33 lines
721 B
Makefile
33 lines
721 B
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
noinst_LTLIBRARIES = libgstgl-x11.la
|
|
|
|
libgstgl_x11_la_SOURCES = \
|
|
gstgldisplay_x11.c \
|
|
gstglwindow_x11.c \
|
|
xcb_event_source.c
|
|
|
|
noinst_HEADERS = \
|
|
gstglwindow_x11.h \
|
|
xcb_event_source.h
|
|
|
|
libgstgl_x11includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/x11
|
|
libgstgl_x11include_HEADERS = \
|
|
gstgldisplay_x11.h
|
|
|
|
if USE_GLX
|
|
libgstgl_x11_la_SOURCES += gstglcontext_glx.c
|
|
noinst_HEADERS += gstglcontext_glx.h
|
|
endif
|
|
|
|
libgstgl_x11_la_CFLAGS = \
|
|
-I$(top_srcdir)/gst-libs \
|
|
-I$(top_builddir)/gst-libs \
|
|
$(GL_CFLAGS) \
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(GST_CFLAGS)
|
|
|
|
libgstgl_x11_la_LDFLAGS = \
|
|
$(GST_LIB_LDFLAGS) \
|
|
$(GST_ALL_LDFLAGS)
|