meta-renderer-native: Prioritize eGPUs
External GPUs typically have a dedicated display and are connected to the computer through a slow link (TB3 is PCIe 3.0 4x), we want to do compositing on that GPU to avoid extra copies and get the best possible performance.
To solve this, give priority to any GPU that isn't the one we booted with, is hardware accelerated and has at least one monitor connected.
This should play nice with single GPU, traditional dual GPUs, Optimus-like and DisplayLink setups.
Fixes #348.
Edited by Clément Guérin