Friday, April 30, 2010

opengl from donut to eclair

從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

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/
hardware impl is moved to /system/lib/egl/lib{EGL,GLESv1_CM,GLESv2}_"vendor"
for example, on Acer A1 , it's system/lib/egl/

check framework/base/opengl/libs/EGL/egl.cpp on both branches to see the difference

No comments: