[waffle] Piglit on Android

Chad Versace chad.versace at intel.com
Mon Aug 6 11:08:24 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[CC'ing to the waffle list].

Hi Juha-Pekka,

On 08/03/2012 04:48 AM, Heikkila, Juha-pekka wrote:
> I have been back to office now and I this week posted new version of the 
> patch to enable Waffle on Android onto Waffle list, I don't know if you had
> any chance yet to take a look at it.

I have not yet had a chance to look at the patch because I was busy with many
things last week. I've put on my calendar to review your patch tomorrow
(Tuesday) morning from 10am-11am. Apologies for not responding sooner.

> The patch will not work with Jelly Bean, it requires a one-liner change. I
>  was wondering what is your opinion, when the patch is good enough for 
> Waffle tree should it first go in as ICS buildable and then patch it for JB
> or just forget ICS since JB is now here? I heard from Tapani ICS-IA is not
> getting any Mesa patches anymore but should Waffle still have a point in
> the tree where after check out it can be build for ICS?

If possible, I would like Waffle to build against ICS and Jelly Bean. Perhaps
we can accomplish that with a CMake option, such as
- -Dwaffle_android_version={ics,jb}, and an #ifdef. However, let's get your
patch in first and make this change afterwards.

> I was also wondering about the window input you mention earlier on the 
> waffle list, do you have some use case in mind for this? I have not yet 
> checked this how should it really be done but I suspect Android system is 
> going to steal all the input and not be so willing to share those input 
> events outside its own sandbox. This possibly require some client inside 
> Dalvik vm to get the input properly and it maybe will not be very error 
> free solution.

Piglit users, at least those testing Piglit on Windows and Xorg, like to have
keyboard and mouse input for some tests. Personally, I disklike this
requirement, but if Waffle is to completely replace Glut then the input
requirement must be satisfied on those two platforms.

However, there is no precedent for Piglit on Android. If you feel that
implementing input will be difficult and error-prone, then I suggest that, at
least tentatively, Waffle should not support input on Android. The
waffle_X_get_native functions should return NULL and emit
WAFFLE_ERROR_UNSUPPORTED_ON_PLATFORM.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQIAgVAAoJEAIvNt057x8iffUP/iVWHjzpG10OyzkBkgtv1LWA
M9rpgr78E/1aIEPAtSpAm2y3lYEviSs5bgX8IJlxX3YZ0RvoS4TueADok/yDNeE1
9rM/+ZkTZ6htYrI5SKFQiQyuTYbZRbFxl8MadMu1YnhgbnWW65m1Xw5ZejpWpGYg
3n6D6UgyQzdPzAqf7dI4uiuVdFJjLoy66fQfO091hg1jl3kY2i0vTyD2iAbTTeRu
x5aV2u0uZ4P0eK6UdVsgojd85bXzGK/OBNeE2eTKYcOqI5yh8S1XVGH+3Ptphiui
22PUxSZru3V/PtpESlLn3ZmsZ93CT9+dz4ytu+EU0UAKEbS0vA7m43+iQnChl/gz
1KO/3PIVUO2nhRkcb6szqa8fg3GBwr6Mc5IxSpxCAX1rW9VQgA8Yyd1NJq80x5VO
wC8p9VIfuZdz26hBke6H55fLFczS5kPa/A0+Z3yDOicZ9PBog128kcqVhUFWcjUy
fjWdc5GFbFhmPT9Do7X/JKriWD8AlJBU4tFovmsqT85pe5Y+wtevBjK9veEjcc+R
KVWQWjX8URt6geZP0Dz0Mfan3orcwQ5fhfxhmfKkiNudiCEkoBoyvgPX6Ddmewj+
6Tuxcf67oPvFm0Uyzn9GcWOrhbG9NoSVl8tDameWavMg7mFK/nityKbH4YRhhYbw
3KyDXteNN3BgqG4U5xxJ
=s5J0
-----END PGP SIGNATURE-----


More information about the waffle mailing list