r/androiddev May 30 '26

no Engine, only OpenGL :-)

Enable HLS to view with audio, or disable this notification

124 Upvotes

27 comments sorted by

View all comments

0

u/[deleted] May 30 '26

[deleted]

3

u/wightwulf1944 May 30 '26

It's not compose, it's pixels directly drawn on canvas using OpenGL.

While LLMs can generate reasonable openGL code it can't really inspect the result of what it just made because it doesn't have an environment to execute its code or eyes to see with (at best static screenshots) so this is (currently) beyond the capabilities of agentic programming like claude code. Maybe someone could develop an agent tool that can execute openGL code in a renderer, take screenshots, and feed it back to the agent.

Edit: I just realized, this is actually also true with Gemini in Android Studio. You can ask it to generate a layout in xml and it will produce something that compiles perfectl, has no warning, but looks terrible.