There are many curious things in android.
The thing that I want to ask is about Drawing with canvas.
when I override ondraw function ,
and the android gives me canvas to draw something in device.
I would like to get answer how canvas draw image or some figures internally.
If they need to draw something, use surface flinger or openglES or core graphics or any thing to swap image from back buffer to front buffer in device display.
I got some similar answers in this link Android GUI architecture - relation between Surface/view/window/canvas
But it's not really enough to understand..
Because I can't understand how they can initialize the device display and draw canvas in device display
I understand what relationship is in ViewRoot and View also surface.
Please let me know keys to draw something deeply about native layer.