Tuesday, May 12, 2009

Android: Graphics

http://blog.sina.com.cn/s/blog_5e71b14f0100c75g.html


Android use OpenGL ES as a graphics toolkit. The implementation is EGL and it talks to the host system from java code through JNI.

The EGL implementation is in frameworks/base/opengl/libs/EGL. It will further loading libagl.so(frameworks/base/opengl/libagl), a software implementation of EGL. EGL also need an video framebuffer to draw on it, so it then use surfaceflinger(frameworks/base/libs/surfaceflinger) service through binder. After all these things are ready, the OpenGL get to work.

No comments:

Related Posts Plugin for WordPress, Blogger...