Android, iOS |
Android, iOS |
Ben Henning
Guest
|
I could be wrong about a few of these things, but as I understand SDL likely just uses OpenGL when rendering on iOS/Android. You can retrieve context information about the GL context from SDL, so any GUI system that can render using OpenGL is interoperable with SDL. In terms of getting input, SDL makes it pretty easy to poll for input agnostic of platform and piping that over to a UI system is generally pretty simple. If you're interested in a higher level UI library or perhaps the UI library built into Android/iOS, I'm not really sure how easy/hard that would be to interoperate with SDL. I get a bit lost at that point.
On Wed, Aug 17, 2016 at 8:49 PM, Jack Andrews wrote:
|
|||||||||||||
|
Android, iOS |
ancientli
|
SDL can be used for mobile devices and PC. Mobile devices include small screen mobile phones and large screen Pad.
SDL just provides a low level API, like the rendered image. You need to write a window system to get it to adapt to all the devices. I am sure that the system can be completed, and it can be achieved very well. For the rendering of the image, the latest app based SDL have suggested using GPU. To Android and iOS, that is OpenGL ES2.  By the way, I am writing a SDK based SDL(https://github.com/freeors/Rose), I have used it to write several app, these app can run on iOS(Phones/Pad), Android(Phones/Pad) and Windows(PC)。 |
|||||||||||
|