[Mesa-dev] [RFC-PATCH 00/18] add Android support

Chia-I Wu olvaffe at gmail.com
Wed Aug 17 20:37:35 PDT 2011


On Thu, Aug 18, 2011 at 4:14 AM, Chad Versace <chad at chad-versace.us> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> On 08/16/2011 11:28 PM, Chia-I Wu wrote:
>> Hi list,
>>
>> This patch series adds Android Gingerbread support to Mesa.  To begin
>> with, it only supports software rendering with softpipe.  I've tested
>> it with VirtualBox.  There are pending series that enable all other
>> gallium pipe drivers and the classic i915/i965.  I would like to see
>> how this series goes before sending them out.
>>
>> If you are familiar with Android-x86, you can replace external/mesa by
>> the master branch plus this series, and build the image like this
>>
>>  $ make -j2 iso_img BOARD_GPU_DRIVERS=swrast
>>
>> The first five patches fix build issues with Android's toolchain and
>> libc.  They are generally pretty small.
>>
>> Patch 6-8 adds Android Gingerbread support to core EGL and st/egl.
>> They are quite isolated and should be interesting to EGL developers.
>>
>> Patch 9-18 adds Android.mk's to the source tree.  The Android build
>> system will include them and build mesa when BOARD_GPU_DRIVERS is
>> defined.
>>
>> This series is RFC because Android.mk's duplicate the source lists in
>> Makefile's.  It means it will suffer from the same pain as SCons does:
>> it needs to be updated if a new file is added.  Chad has concerns
>> about this.  Since he also needs to work on that for his series, I
>> will join him and update Android.mk's accordingly.
>>
>> Other than that, please review.
>
> Chia-I,
>
> I'm glad to see your Android patches on the list. Now the Mesa
> and Android-x86 communities can begin to fold Android support into
> master and make progress towards a stable Mesa on Android.
>
> I've commented, acked, or rb'd all the patches that are within my
> domain. I've avoided commenting on patches specific to Gallium.
Thanks.

Do you suggest we factor out the source lists before or after this
patch series?  Outside Gallium, there are only src/egl/main and
src/glsl that need factoring out.  When later support for non-Gallium
drivers[1] is supported, there will also be
src/mesa/drivers/dri/{i915,i965}.


[1] http://cgit.freedesktop.org/~olv/mesa/commit/?h=android-gingerbread-next&id=28206a87b69a88adaf1aeab01fd8927a8a37a90d

> - --
> Chad Versace
> chad at chad-versace.us
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBAgAGBQJOTCENAAoJEAIvNt057x8i2pMQAIeq9u1fQEGSOrFxz1Ql+R5F
> XpRWAu2hFmRlsc5avSt3MFXGg7hFfdU2mlwuhzJDjEnEEH/sg61vnZ0nVNc1ARJH
> O9cG7yrkKhbjdHVvsZeGHtAC+dy2o2H+YMymvPDELjMjqWv54OMX6cNghc/Pfq/s
> PcfpZOIyVWrvDDJfBpS/fZsS/O5WRvHodGcXQ6SSNgEqI3rSC5vBjG8apSOE/kop
> rbvq3T1XG6ulNN4qK/DITC8XAQge9jHiANhW55E9PXM7gioqeezJ9FbRmw1zlmE6
> hctRm13/f+LENe6qmbL4FV5KFrkkh6QkJo+7qE9MGDl38tsAWJ0m3wN7in4qkEnJ
> aPmeezwrh0fWnEywNLyZTtIT9AVfNJa4uYSWFFhzlDLkKKGcuplOvU03vGEW3bUa
> os8i+kf1I8QYawjgvC+A3s80CHeGzI1dCaFYni9u0sv7OeG4S4Htr6v0i8Qk3yHS
> 4x6WD4sqz9mSoD2mbyTfAUioyv0DKvrPSKbzkAGTL+BtgBGzd/cksB0JFU1Upt+Y
> KHuh7XFyb8Q3nuO0ij5z+AP+OrEDsNNqLMImAyX6WuZCkptneKjlK/iN7NVft6Bs
> Ct4AR1ANCm/8ns6wKpfdL610mMXK8WgA5hjR0bOaOCAt6zVfeq0g1QM6t9JNIvyV
> FHmWNp0dwfBpOyszr+vT
> =7ZVA
> -----END PGP SIGNATURE-----
>



-- 
olv at LunarG.com


More information about the mesa-dev mailing list