mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
0d1d42b205
GstGLDisplayX11 holds the display connection and name. Each thread requires it's own X11 Display connection (initialised from name) due to the fact that we do not want to call XInitThreads(). Doing so would result in segfaults when integrating with GUI toolkits Gtk, Qt, etc. The Display connection is for OpenGL platforms where a constant display is required in order to share contexts (egl). In the case of a wrapped context (added later), we do not have GstGLWindow to retreive the display from so a 'master' connection is used instead.
38 lines
817 B
Makefile
38 lines
817 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 \
|
|
x11_event_source.c
|
|
|
|
noinst_HEADERS = \
|
|
gstglwindow_x11.h \
|
|
x11_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
|
|
|
|
#if USE_EGL
|
|
#libgstgl_x11_la_SOURCES += gstglwindow_x11_egl.c
|
|
#noinst_HEADERS += gstglwindow_x11_egl.h
|
|
#endif
|
|
|
|
libgstgl_x11_la_CFLAGS = \
|
|
-I$(top_srcdir)/gst-libs \
|
|
$(GL_CFLAGS) \
|
|
$(X_CFLAGS) \
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(GST_CFLAGS)
|
|
|
|
libgstgl_x11_la_LDFLAGS = \
|
|
$(GST_LIB_LDFLAGS) \
|
|
$(GST_ALL_LDFLAGS)
|