[Mesa-dev] [PATCH 10/10] egl/android: Add fallback to kms_swrast driver

Eric Anholt eric at anholt.net
Fri Jul 15 18:51:46 UTC 2016


Tomasz Figa <tfiga at chromium.org> writes:

> If no hardware driver is present, it is possible to fall back to
> the kms_swrast driver with any DRI node that supports dumb GEM create
> and mmap IOCTLs with softpipe/llvmpipe drivers. This patch makes the
> Android EGL platform code retry probe with kms_swrast if hardware-only
> probe fails.

This seems sensible, and if you change the "int swrast" and 0/1s to some
sort of boolean (I guess EGLBoolean?), it's:

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160715/24094426/attachment.sig>


More information about the mesa-dev mailing list