[Android] [PATCH 0/4] Patches for hooking up iomx direct rendering

Martin Storsjö martin at martin.st
Fri Jul 25 00:38:52 CEST 2014


Hi,

Most of these are from Thomas, but I did a bit of splitting and
restructuring and want to have him to look at it before pushing
(patches 1-2 are unmodified from him, I did a bit of
splitting/simplification in patch 3, and patch 4 is from me).

This is marginally complicated because vlc-android mainly builds
using the vlc-2.2 branch, which still doesn't have the iomx
direct rendering code. These patches make sure that things still
can be built with either vlc-2.2 or vlc-master.

This is the bare minimum for building the iomx direct rendering
code, working on a bunch of devices on 4.0 - 4.2 (although we prefer
MediaCodec on versions >= 4.1). This doesn't work properly on Nexus S
yet.

We've got a few extra patches that can be pushed separately later
which enable building separate libiomx versions for 4.3 and 4.4 to
ease debugging, but I'm not sending them for review now.


Martin Storsjö (1):
  Enable iomx direct rendering if "full acceleration" is chosen

Thomas Guillem (3):
  Add missing hardware headers for gingerbread
  Add lists of symbols of libcutils and libui
  libiomx: Build the hwbuffer code if found

 Makefile                                           |   2 +-
 .../libhardware/include/hardware/copybit.h         | 219 +++++++
 .../hardware/libhardware/include/hardware/gps.h    | 666 +++++++++++++++++++++
 .../libhardware/include/hardware/gralloc.h         | 351 +++++++++++
 .../libhardware/include/hardware/hardware.h        | 205 +++++++
 .../hardware/libhardware/include/hardware/lights.h | 137 +++++
 .../libhardware/include/hardware/overlay.h         | 243 ++++++++
 .../hardware/libhardware/include/hardware/qemud.h  | 144 +++++
 .../libhardware/include/hardware/sensors.h         | 448 ++++++++++++++
 .../include/hardware/sensors_deprecated.h          |  75 +++
 android-libs/libcutils.symbols                     |  33 +
 android-libs/libui.symbols                         |  85 +++
 dump-libs.sh                                       |   4 +-
 vlc-android/jni/Android.mk                         |  24 +-
 vlc-android/jni/libvlcjni.c                        |   8 +-
 15 files changed, 2636 insertions(+), 8 deletions(-)
 create mode 100644 android-headers-gingerbread/hardware/libhardware/include/hardware/copybit.h
 create mode 100644 android-headers-gingerbread/hardware/libhardware/include/hardware/gps.h
 create mode 100644 android-headers-gingerbread/hardware/libhardware/include/hardware/gralloc.h
 create mode 100644 android-headers-gingerbread/hardware/libhardware/include/hardware/hardware.h
 create mode 100644 android-headers-gingerbread/hardware/libhardware/include/hardware/lights.h
 create mode 100644 android-headers-gingerbread/hardware/libhardware/include/hardware/overlay.h
 create mode 100644 android-headers-gingerbread/hardware/libhardware/include/hardware/qemud.h
 create mode 100644 android-headers-gingerbread/hardware/libhardware/include/hardware/sensors.h
 create mode 100644 android-headers-gingerbread/hardware/libhardware/include/hardware/sensors_deprecated.h
 create mode 100644 android-libs/libcutils.symbols
 create mode 100644 android-libs/libui.symbols

-- 
1.8.5.2 (Apple Git-48)



More information about the Android mailing list