RDP compositor take 6

This patch is the 6th version of the FreeRDP based compositor.
Changes from last version:
 * use pixman_image_get_stride() when appropriate
 * always realloc

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Hardening 2013-04-01 23:43:58 +02:00 committed by Kristian Høgsberg
parent 57edf7f49e
commit a83409cbff
3 changed files with 1026 additions and 1 deletions

View File

@ -168,6 +168,13 @@ AS_IF([test x$enable_fbdev_compositor = xyes], [
PKG_CHECK_MODULES([FBDEV_COMPOSITOR], [libudev >= 136 mtdev >= 1.1.0])
])
AC_ARG_ENABLE([rdp-compositor], [ --enable-rdp-compositor],,
enable_rdp_compositor=no)
AM_CONDITIONAL([ENABLE_RDP_COMPOSITOR],
[test x$enable_rdp_compositor = xyes])
if test x$enable_rdp_compositor = xyes; then
PKG_CHECK_MODULES(RDP_COMPOSITOR, [freerdp >= 1.1.0])
fi
AC_ARG_WITH(cairo-glesv2,
AS_HELP_STRING([--with-cairo-glesv2],

View File

@ -98,7 +98,8 @@ module_LTLIBRARIES = \
$(drm_backend) \
$(wayland_backend) \
$(headless_backend) \
$(fbdev_backend)
$(fbdev_backend) \
$(rdp_backend)
noinst_LTLIBRARIES =
@ -214,6 +215,19 @@ fbdev_backend_la_SOURCES = \
launcher-util.c
endif
if ENABLE_RDP_COMPOSITOR
rdp_backend = rdp-backend.la
rdp_backend_la_LDFLAGS = -module -avoid-version
rdp_backend_la_LIBADD = $(COMPOSITOR_LIBS) \
$(RDP_COMPOSITOR_LIBS) \
../shared/libshared.la
rdp_backend_la_CFLAGS = \
$(COMPOSITOR_CFLAGS) \
$(RDP_COMPOSITOR_CFLAGS) \
$(GCC_CFLAGS)
rdp_backend_la_SOURCES = compositor-rdp.c
endif
if ENABLE_DESKTOP_SHELL
desktop_shell = desktop-shell.la
desktop_shell_la_LDFLAGS = -module -avoid-version

1004
src/compositor-rdp.c Normal file

File diff suppressed because it is too large Load Diff