1. application activity
  2. application service
  3. application UI system
  4. application sdk tool
  5. JVM

1 activity

the first JVM instance => zygote

app_main

->AndroidRuntime(now start jvm instance,and start to load zyogteinit class and execute main method)

->zygoteinit(register socket,preloadclass and resource preload)

->start system server

-> wait for socket connection and do something…

systemserver

->init all system service

zygote accept request from activitymanager,and fork a new process,and execute activitythread in new process.

Activitymanagerservice—>

2 service

3 UI system

activity UI

-> every window the top view is decor view,phonewindow has viewroot and windowsmanager which windowmanager stands for windowmanagerservice

-> view root incldues Iwindow and a surface ,while IWindow receive callback from wms,and surface point to the buffer created by windowsmanagerservice.

surface system



from picture above that we can see the buffer is in the process of systemserver,which contains wms.

render process

the surface memory is allocated by gralloc module. and surfaceflinger take charge of mix different layers, and render framebuffers to device by using opengl methods.

最新文章

  1. HTML 事件(三) 事件流与事件委托
  2. iOS常用 --- NSDictionary 与 NSMutableDictionary
  3. css使 同一行内的 文字和图片 垂直居中对齐?
  4. MyBatis Sql语句中的转义字符
  5. Vue.js简介
  6. loadrunner中创建唯一随机数
  7. input file 上传文件
  8. Lazy Foo:Game Loops
  9. Win7 32位系统下Java开发环境的安装及配置
  10. ECShop - 数据库操作类
  11. CentOS 7 安装 GlusterFS
  12. 让python bottle框架支持jquery ajax的RESTful风格的PUT和DELETE等请求
  13. .net使用Aspose.Words进行Word替换操作的实现代码
  14. 智能制造(MES)四大阶段
  15. plsql常用方法-转
  16. Visio 保存卡死解决办法
  17. otool
  18. Django商城项目笔记No.1项目准备工作
  19. JSP学习_02
  20. 使用python操作Memcache、Redis、RabbitMQ、

热门文章

  1. HDU 2874
  2. [React Router] Create a ProtectedRoute Component in React Router (setState callback to force update)
  3. ym——物联网入口之中的一个Android蓝牙4.0
  4. c/c++中sleep()函数毫秒级的实现
  5. 第一篇、Android Supersu 权限管理定制,隐藏过滤权限,指定APP最高权限
  6. virtual table(有180个评论)
  7. zzulioj--1637--Happy Thanksgiving Day - WoW yjj!(水)
  8. 编写高质量的Makefile
  9. 限制input 内部字数
  10. 洛谷P3356 火星探险问题(费用流)