compositor: pass the backend config struct to the backends init function
authorGiulio Camuffo <giuliocamuffo@gmail.com>
Sat, 17 Oct 2015 16:24:14 +0000 (19:24 +0300)
committerBryce Harrington <bryce@osg.samsung.com>
Fri, 23 Oct 2015 22:23:37 +0000 (15:23 -0700)
commit93daabbc7141de3c085278ab8905813038308209
tree3dc7e928a0cebe05514f10a6eeaf97aa98b90141
parente3c0d8af43272eb31f16b535ab821fd98399e8fa
compositor: pass the backend config struct to the backends init function

Add new configuration argument to the backend_init() function, which
will replace the current argc, argv, and config arguments.
After each backend is converted individually the unused parameters
will be removed.

Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
src/compositor-drm.c
src/compositor-fbdev.c
src/compositor-headless.c
src/compositor-rdp.c
src/compositor-rpi.c
src/compositor-wayland.c
src/compositor-x11.c
src/compositor.h
src/main.c