egl: keep the software device at the end of the list
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 16 May 2019 17:01:39 +0000 (18:01 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 5 Jun 2019 17:35:21 +0000 (13:35 -0400)
commit2f1195753282d1176edd7b9772aad17eced24dd8
treec8d3d5d62adcbc38e0e16090bc0c6be306a20eab
parent2282ec0ad6581b588f7bdde1211357123316b4b9
egl: keep the software device at the end of the list

By default, the user is likely to pick the first device so it should
not be the least performant (aka software) one.

v2: Drop odd comment (Marek)

Suggested-by: Marek Olšák <maraeo@gmail.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de> (v1)
Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/egl/main/egldevice.c