By the way, the github link provided already has the pvr2d stuff removed, so it should not be dependent on OMAP at least, but the author replaced it with the eglLockSurface extension. I'm not sure about the avaiability of this extension outside Nokia SGX platforms, but it ought to be pretty common.
(To connect with my previous post, SDL2 would not need such extension, because converting from surfaces to hwsurfaces is a oneway, atomic operation that maps nicely to glTexture)
(To connect with my previous post, SDL2 would not need such extension, because converting from surfaces to hwsurfaces is a oneway, atomic operation that maps nicely to glTexture)