從donut到eclair, loading OPENGLES 的方式有點不一樣
there is some difference of loading opengles lib from donut to eclair
check EGL first if you dont know what it is
http://www.khronos.org/egl/
on donut,
software impl for OPENGLES is /system/lib/libagl,
hardware is /system/lib/libhgl
on eclair
software impl is moved to /system/lib/egl/libGLES_android.so
hardware impl is moved to /system/lib/egl/lib{EGL,GLESv1_CM,GLESv2}_"vendor"
for example, on Acer A1 , it's system/lib/egl/libEGL_adreno200.so
libGLESv1_CM_adreno200.so
libGLESv2_adreno200.so
check framework/base/opengl/libs/EGL/egl.cpp on both branches to see the difference
Friday, April 30, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment