androidgraphicsopengl-escross-platformclutter

Is this possible, GNOME (lib)Clutter with OpenGL ES & Vulkane?


I'm planning to run an app based on (GNOME) libclutter on Android 9 (Pie). I'm quite new to these graphics related stuff, been wondering on these things, so seeking for guidance/direction whatever data that could help me to understand this thing better.

As per the documentation of Android Graphics, Android is using OpenGL ES & Vulkane at low level to render objects. And as per GNOME Clutter documentation, it could be only compiled with mentioned back-end only! (Please check embedded link to for platforms details.)

I don't see OpenGL ES or Vulkane support, So am I missing something on understanding part or it can't be done?!


Solution

  • [Clutter maintainer, here]

    Yes, Clutter supports OpenGL ES—it uses Cogl, a library that abstracts GL and GLES concepts.

    No, Clutter does not support Vulkan at the moment.

    No, Clutter and Cogl do not support Android; there was an experimental port but it has been abandoned in 2012.

    Additionally, Clutter is in deep maintenance mode: no new development releases, no new features, and only minimal/security/crasher bug fixes are allowed.

    I would not recommend using Clutter in a newly written project.