Quick investigations shown that general boot process for Android-based devices looks like this : linux:boot:android
Just notice such step as:
bootanimation | Shows the animation during boot-up |
ok, after short lookup in the source, I could find one important file, like BootAnimation.cpp
You can see all details inside but in fact - not much OpenGL ES been used, beside showing textures over time as animation frames, see bool BootAnimation::threadLoop()
from the link above.
OpenGL ES usage is mostly all about following calls:
with doing animation sequence itself inside bool BootAnimation::movie()
with even more simple calls.
Sad story, I was under impression that boot animation is dynamic in the full sense and rendered by OpenGL ES
... well, just was a hope ...
... well, just was a hope ...
Besides, you can see where animation located and now it will be easy to replace for the own one, if you would wish..
example of the bootanimation.zip is here: http://www.mediafire.com/?663k1abf2d1wy2m
or just google for such raw sample for your best look...( you can replace default with yours with adb command like:
adb push ./bootanimation.zip /data/local/bootanimation.zip
see in sources - User's boot animation has higher priority vs system's one,
unless encrypted system is used AND present )
No comments:
Post a Comment