Commit af20b62a authored by Antoine Lejeune's avatar Antoine Lejeune Committed by Rémi Denis-Courmont

Add an omap framebuffer video output module

It is used to speed up video output on N800/N810 devices.

X11 is used to handle events.
Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
parent b451524f
...@@ -4375,6 +4375,20 @@ AC_ARG_ENABLE(mga, ...@@ -4375,6 +4375,20 @@ AC_ARG_ENABLE(mga,
VLC_ADD_PLUGIN([mga]) VLC_ADD_PLUGIN([mga])
fi ]) fi ])
dnl
dnl OMAP Framebuffer module
dnl
AC_ARG_ENABLE(omapfb,
[ --enable-omapfb OMAP framebuffer support (default disabled)])
if test "${enable_omapfb}" = "yes"
then
AC_CHECK_HEADERS(asm/arch-omap/omapfb.h, [
VLC_ADD_PLUGIN([omapfb])
AC_CHECK_HEADERS(X11/Xlib.h, [
VLC_ADD_LIBS([omapfb],[${X_LIBS} ${X_PRE_LIBS} -lX11]) ])
])
fi
dnl dnl
dnl SVGAlib module dnl SVGAlib module
dnl dnl
...@@ -5564,8 +5578,8 @@ AM_CONDITIONAL(BUILD_MOZILLA,${mozilla}) ...@@ -5564,8 +5578,8 @@ AM_CONDITIONAL(BUILD_MOZILLA,${mozilla})
dnl Tests for Osso and Xsp dnl Tests for Osso and Xsp
AC_CHECK_LIB(osso, osso_display_blanking_pause, [ AC_CHECK_LIB(osso, osso_display_blanking_pause, [
PKG_CHECK_MODULES(GLIB2, glib-2.0, [ PKG_CHECK_MODULES(GLIB2, glib-2.0, [
VLC_ADD_CPPFLAGS([x11 xvideo xvmc glx],[-DHAVE_OSSO ${DBUS_CFLAGS} ${GLIB2_CFLAGS}]) VLC_ADD_CPPFLAGS([x11 xvideo xvmc glx omapfb],[-DHAVE_OSSO ${DBUS_CFLAGS} ${GLIB2_CFLAGS}])
VLC_ADD_LIBS([x11 xvideo xvmc glx],[-losso]) VLC_ADD_LIBS([x11 xvideo xvmc glx omapfb],[-losso])
]) ])
]) ])
AC_CHECK_LIB(Xsp, XSPSetPixelDoubling,[ AC_CHECK_LIB(Xsp, XSPSetPixelDoubling,[
......
...@@ -7,6 +7,7 @@ LIBTOOL=@LIBTOOL@ --tag=CC ...@@ -7,6 +7,7 @@ LIBTOOL=@LIBTOOL@ --tag=CC
SOURCES_aa = aa.c SOURCES_aa = aa.c
SOURCES_caca = caca.c SOURCES_caca = caca.c
SOURCES_fb = fb.c SOURCES_fb = fb.c
SOURCES_omapfb = omapfb.c
SOURCES_ggi = ggi.c SOURCES_ggi = ggi.c
SOURCES_vout_sdl = sdl.c SOURCES_vout_sdl = sdl.c
SOURCES_svgalib = svgalib.c SOURCES_svgalib = svgalib.c
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment