egl/surfaceless: Use KMS swrast fallback
authorGurchetan Singh <gurchetansingh@chromium.org>
Mon, 2 Oct 2017 20:48:24 +0000 (13:48 -0700)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 3 Oct 2017 16:56:15 +0000 (17:56 +0100)
commit9d9a46d4efc00b256d2c0d04dda6c4ee3f0dc47a
tree6458dfbe48043385ca116d7379a66c71c59a3f39
parent540c804297d813aa7df28d570e0407e332873c88
egl/surfaceless: Use KMS swrast fallback

The kms_swrast extension is an actively developed software fallback,
and platform_surfaceless can use it if there are no available
hardware drivers.

v2: Split into 2 patches, use booleans, check LIBGL_ALWAYS_SOFTWARE,
    and modify the eglLog level (Emil, Eric, Tomasz).

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