简体   繁体   中英

SDL2 + hardware acceleration + android

After surfing the net, i got the below information.

1) SDL is a wrapper around OpenGL.

2) Does SDL provides Hardware acceleration? - IT depends on Operating System.

Question:

1) Does SDL support hardware acceleration in Android Platform?

2) In case if it doesn't provide, what would be the best approach to attain hardware acceleration?

SDL is a bit more than a wrapper to OpenGL. It provides low-level access to input, audio and drawing to the screen.

To answer your questions:

  1. SDL 2 is officially supported on Android platform and always tries to use hardware acceleration whenever possible.
  2. Use SDL 2 to set up an OpenGL context and make OpenGL draw calls.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM