[waffle] [PATCH] Enabling Waffle library for Android.

Juha-Pekka Heikkilä juha-pekka.heikkila at linux.intel.com
Tue Jul 31 05:16:18 PDT 2012


Here is now reworked version of the big patch, again in the attachment.
Tabs should be now gone :)

I mostly managed to follow your suggestions. I did stick with the
structure most of the files being .c files with just one .cpp file, reason
for this was "DEFINE_CONTAINER_CAST_FUNC" define which did not play nice
with cpp and changing this define would cause me to change too many places
which I cannot test and probably break them.

waffle_android_window now has a pointer called pSFContainer that point to
android_surfaceflinger_container structure defined in
android_surfaceflingerlink.cpp. This structure contain Android related
classes. This way of providing access to these classes is again because of
the mixture of c and cpp.

The idea you mentioned piglit soon also accepting window input is going to
need some extra work on Android side. Currently I have the created
surface(s) floating on top of normal Android UI where Android will receive
all input and my surfaces input-wise behave as if they were not there.

/Juha-Pekka

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Initial-ICS-Android-support-for-Waffle.patch
Type: text/x-patch
Size: 52824 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/waffle/attachments/20120731/806adb36/attachment-0001.bin>


More information about the waffle mailing list