egl/sl: also allow virtgpu to fallback to kms_swrast
authorGurchetan Singh <gurchetansingh@chromium.org>
Sat, 2 Mar 2019 02:58:16 +0000 (18:58 -0800)
committerGurchetan Singh <gurchetansingh@chromium.org>
Mon, 4 Mar 2019 17:33:17 +0000 (17:33 +0000)
commit610758d3e5402709b9b92cfa88f72b092b13f236
treea3e3ae720997081a8331b82f9deb045686af6513
parent904a0552aabf0624f1d7507b89d8a9a7bdd3bad5
egl/sl: also allow virtgpu to fallback to kms_swrast

virtio-gpu fallbacks to software rendering when 3D features
are unavailable since 6c5ab, and kms_swrast is more
feature complete than swrast.

v2: Add comment (Emil)

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/platform_surfaceless.c