egl/surfaceless: Allow DRMless fallback.
authorDavid Riley <davidriley@chromium.org>
Wed, 18 Jul 2018 00:12:05 +0000 (17:12 -0700)
committerChad Versace <chadversary@chromium.org>
Tue, 31 Jul 2018 02:40:45 +0000 (19:40 -0700)
commitf94681b6e2f815f19ca817382848a878a77b44c9
tree5b44a31d77eaf0cf64f29d1a146d3b7327b343e8
parentb169b84be62b362abb1c94f251a679abba03fd14
egl/surfaceless: Allow DRMless fallback.

Allow platform_surfaceless to use swrast even if DRM is not available.
To be used to allow a fuzzer for virgl to be run on a jailed VM without
hardware GL or DRM support.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
Signed-off-by: David Riley <davidriley@chromium.org>
src/egl/drivers/dri2/platform_surfaceless.c