This is a series of patches developed by Jide Technolody to enable 
the llvmpipe for software rendering of Android.
It makes a device without a Mesa supported GPU could run most modern
Android apps.

These patches are mainly developed and tested on the 11.0 and 11.2
branches. They might not work with the Mesa master branch.

The patches depend on some patches developed by Varad Gautam which
have not been merged in Mesa master yet, say

fc40946 egl: fixup: define droid_image_loader_extension
d15901d egl: android: populate dri2_surf->window early
cff1928 egl: android: use __DRI_IMAGE_LOADER to get color buffers
b556be4 egl: android: experimental dma-buf fd support

The dependency may be removed but we haven't tested that yet.

WuZhen (7):
  st/dri: fix double free of dri_drawable
  tgsi: fix stack allocated struct may not be initialized
  gallium/swrast: fix dri_sw_dt->data free func not matching alloc func
  android: print debug info to logcat
  android: enable dlopen
  android: enable x86 asm and sse4 for x86 and x86_64
  android: support swrast

 Android.common.mk                              |  23 +-
 Android.mk                                     |   7 +-
 include/GL/internal/dri_interface.h            |   9 +-
 src/egl/Android.mk                             |   1 +
 src/egl/drivers/dri2/egl_dri2.c                |   1 +
 src/egl/drivers/dri2/platform_android.c        | 386 ++++++++++++++++++++++++-
 src/gallium/Android.mk                         |   2 +-
 src/gallium/auxiliary/os/os_misc.c             |  12 +-
 src/gallium/auxiliary/tgsi/tgsi_dump.c         |   7 +
 src/gallium/auxiliary/util/u_debug.c           |   2 +-
 src/gallium/drivers/llvmpipe/Android.mk        |  37 +++
 src/gallium/include/state_tracker/drm_driver.h |  10 +-
 src/gallium/state_trackers/dri/dri2.c          |   6 +-
 src/gallium/state_trackers/dri/dri_drawable.c  |   2 -
 src/gallium/state_trackers/dri/drisw.c         |  46 +++
 src/gallium/targets/dri/Android.mk             |   9 +-
 src/gallium/winsys/sw/dri/Android.mk           |   2 +
 src/gallium/winsys/sw/dri/dri_sw_winsys.c      |  66 ++++-
 src/mapi/Android.mk                            |   3 +
 src/mesa/Android.gen.mk                        |  25 +-
 src/mesa/Android.libmesa_dricore.mk            |  20 +-
 src/mesa/Android.libmesa_sse41.mk              |   5 +-
 src/mesa/Android.libmesa_st_mesa.mk            |  20 +-
 src/mesa/Android.mesa_gen_matypes.mk           |   7 +-
 src/mesa/drivers/dri/common/dri_util.c         |   4 +-
 src/mesa/drivers/dri/common/dri_util.h         |   2 +-
 src/mesa/drivers/dri/i965/Android.mk           |   5 -
 src/mesa/main/errors.c                         |  12 +
 28 files changed, 654 insertions(+), 77 deletions(-)
 create mode 100644 src/gallium/drivers/llvmpipe/Android.mk

-- 
1.9.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to