1.It all starts at activity
2.A view hierarchy is created here
3.in order to get sequence start tracing from setcontentview/addcontentview
4.addcontentview works on R.Layout.main
5.see how the view hierarchy is established starting the trace from setcontentview
6.the activity creates a windowssession with window_service and creates a viewroot to link the viewhierarchy,activity,window_service
7.A call to window_service creates the window and "surface"
8.A canvas is associated with the surface to draw into
9.Basic menu operations are done on a single canvas
10.surfaceview and glsurfaceview creates new surfaces
11.EGL is kind of Graphics control layer
12.Every activity gets a EGL context
13.EGL context, has reference to opengl api lib, hw channel and display
14.The activity has the freedom to choose (api lib,hw,display) for a EGL context
15.currently its (opengles lib,pixelflinger,display 0),(opengleslib,graphics hw,display 0) ... options in different androids
16.also for 2d its (skia lib,framebuff,display0)
Sunday, August 29, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment