2009年5月22日

Some Notes about Android

May not be correct and useful for you...

About WebKit in Android:
  1. Java script JIT is disabled.
  2. Graphics: WebKit => Skia=> OpenGL/ES (libEGL, libGLESv1_CM)

About Java Script JIT in WebKit:
  1. Supports X86 currently.
  2. Port for ARM is announced and should be integrated later.
  3. The Andes Tech also claimed that they have a port for NDS.

About OpenGL/ES implementation:
  1. Software: agl (libagl) => PixelFlinger (libpixelflinger, JIT supports ARM only)
  2. Hardware: hgl (libhgl, vendor specific)

Some Random Thoughts:
  1. Skia => PixelFlinger for software rendering?
  2. Is Java script JIT in WebKit useful?
  3. Dalvik + JIT in WebKit or PixelFlinger?
  4. Dalvik, WebKit, PixelFlinger => LLVM?

Related Code Location:
  1. WebKit: external/webkit
  2. Skia: external/skia
  3. OpenGL/ES: frameworks/base/opengl/libs
  4. agl: frameworks/base/opengl/libagl
  5. PixelFlinger: system/core/libpixelflinger
  6. hgl: Not available

Reference:
  1. Android 上的原生 OpenGL/ES
  2. 淺談 Google Skia 圖形處理引擎
  3. Android Source Code

沒有留言:

張貼留言