What is the back end system in android for SDL

Dear all,

From the wikipedia, i understood that SDL uses GDI backend, and in linux xlib/X11.

My question is what is it that used in Android as a display system?. Sorry if the question is very basic, i am new to both Android and SDL.

That sounds like a description of SDL1, not SDL2 (in 2.0 it will
resort to the GPU by default unless forced or it really can’t get the
GPU working).

Android uses OpenGL ES if I recall correctly.

2014-02-03, keestu :> Dear all,

From the wikipedia, i understood that SDL uses GDI backend, and in linux
xlib/X11.

My question is what is it that used in Android as a display system?. Sorry
if the question is very basic, i am new to both Android and SDL.

2014-02-03 keestu :

Dear all,

From the wikipedia, i understood that SDL uses GDI backend, and in linux
xlib/X11.

My question is what is it that used in Android as a display system?. Sorry
if the question is very basic, i am new to both Android and SDL.

Well, on Android you have SurfaceFlinger (and only that), so I’d imagine
SDL makes use of it =P Although it has to go through a Java code wrapper
to pass data and events to the native machine code part I think.
The best way to find out how something works is to read the source code!

As stated, there is only one display system on Android, and Android
only makes it accessible through their Java APIs. SDL has a bunch of
native Android/Java code to do this and uses JNI to cross into C. SDL
hides you (mostly) from these implementation details so you can
generally trust SDL does the right thing for every platform.

-EricOn 2/3/14, Jonas Kulla wrote:

2014-02-03 keestu :

Dear all,

From the wikipedia, i understood that SDL uses GDI backend, and in linux
xlib/X11.

My question is what is it that used in Android as a display system?.
Sorry
if the question is very basic, i am new to both Android and SDL.

Well, on Android you have SurfaceFlinger (and only that), so I’d imagine
SDL makes use of it =P Although it has to go through a Java code wrapper
to pass data and events to the native machine code part I think.
The best way to find out how something works is to read the source code!


Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/