60ac2838b5
Moves the primary GPU choosing to after all secondary gpu data has been created. This makes it possible for a future patch to start looking at secondary gpu data in choose_primary_gpu () to determine if it is using a hardware driver or a software renderer. Co-authored by: Pekka Paalanen <pekka.paalanen@collabora.com> https://gitlab.gnome.org/GNOME/mutter/merge_requests/271