Pyglet on android

284 views
Skip to first unread message

Luke Miller

unread,
Jan 6, 2018, 5:38:04 PM1/6/18
to pyglet...@googlegroups.com
I know that it's extremely unlikely but hypothetically what kind of work would be needed to get pyglet running on android?

Benjamin Moran

unread,
Jan 7, 2018, 5:27:04 AM1/7/18
to pyglet-users
Hi Luke,

I know very little about Andtoid, but it's actually within the realm of possibility. It would require quite a bit of work, but some of this work is already happening anyway which could make this possible.

The biggest hurdle is OpenGL ES. Most of the substantial work towards migrating pyglets core to OpenGL 3+ has already been done, but still requires rewriting and porting the text module. We don't use a whole lot of different OpenGL calls internally, so targeting the GLES subset should be OK.

The new code required would be for the platform abstraction. This is stuff like creating a context, and handling touch input. We might be able to leverage some of the work done by other projects here.

Reply all
Reply to author
Forward
0 new messages