Skip to content

qt: initialize compositor in two phases

Pierre Lamot requested to merge chub/vlc:qt/2-phase-comp-init-dev into master

This branch change the way compositor are started, now compositor start in two step

  • a preInit phase is done before starting the qt main loop, this allows the compositor to perform some sanity checks and to setup some qt environment variables.

  • the actual initialization is done after qt main loop has started as some compositor might need to know which Qt QPA is used.

this MR also allows to force the usage of a specific compositor from command line (mostly for testing or troubleshooting) and provides better sanity checks for direct composition.

Merge request reports

Loading