[Mesa-dev] [RFC 0/5] Android kms_swrast support

Robert Foss robert.foss at collabora.com
Thu Jul 5 10:07:35 UTC 2018


This series is an early draft a kms_swrast implementation for the Android
platform.

It's available here:
https://gitlab.collabora.com/robertfoss/mesa/tree/kms_swrast_rfc

The current state isn't entirely functional, but the driver loading and
initialization does seem to work.

As to why the Android userland explodes, I'm not quite sure why yet.
If you have any ideas as to why, they're very much welcome.

I've got some cleaned up logcat logs here, with corresponding debug prints in
the last patch:
http://paste.debian.net/1032162/



Rob.

Rob Herring (1):
  android: Build kms_swrast for the Android platform

Robert Foss (3):
  egl/android: Add Android property for forcing kms_swrast
  platform/android: Enable kms_swrast fallback
  DEBUG

Tomeu Vizoso (1):
  st/dri: Allow kms_swrast to work without a device FD

 src/egl/drivers/dri2/egl_dri2.c               | 29 +++++++++--
 src/egl/drivers/dri2/platform_android.c       | 51 ++++++++++++++-----
 src/egl/main/egldriver.c                      | 16 ++++++
 src/gallium/Android.mk                        |  2 +-
 src/gallium/auxiliary/Android.mk              |  5 ++
 src/gallium/auxiliary/pipe-loader/Android.mk  |  1 +
 src/gallium/drivers/softpipe/Android.mk       |  4 +-
 src/gallium/state_trackers/dri/Android.mk     |  1 +
 src/gallium/state_trackers/dri/dri2.c         |  6 ++-
 src/gallium/winsys/sw/kms-dri/Android.mk      | 39 ++++++++++++++
 .../winsys/sw/kms-dri/kms_dri_sw_winsys.c     |  6 ++-
 11 files changed, 135 insertions(+), 25 deletions(-)
 create mode 100644 src/gallium/winsys/sw/kms-dri/Android.mk

-- 
2.17.1



More information about the mesa-dev mailing list