- 博客(11)
- 资源 (1)
- 收藏
- 关注
翻译 android app(1)—apk的组成
运行app app中的组件 Activity Services Content providers Broadcast receivers 组件的启动 app中的Manifest文件 声明组件 声明组件capabilities 声明app requirements app中的资源文件 apk,android package,是一个archive,压缩包文件
2016-03-31 16:49:30 2493
转载 android graphic(19)—why Android's UI was designed the way it is and how it actually works
作者是google的framework工程师Dianne Hackborn。A few days ago I wrote a post trying to correct a lot of the inaccurate statements I have seen repeatedly mentioned about how graphics on Android works. This resul
2016-03-30 10:41:54 7735
转载 android graphic(18)—How about some Android graphics true facts?
作者是google的framework工程师Dianne Hackborn。How about some Android graphics true facts?(Edit: there have been a number of comments treating this as being written as an excuse for Android or not mattering to
2016-03-30 10:35:58 961
转载 android graphic(17)—Using direct textures on Android
参考文章需翻墙。I’ve been working at Mozilla on Firefox Mobile for a few months now. One of the goals of the new native UI is to have liquid smooth scrolling and panning at all times. Unsurprisingly, we do thi
2016-03-30 10:19:44 1450
转载 patch和git制作和应用补丁
patch命令 git命令 转自http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=29140689&id=4030348。 patch命令 1、处理单个文件补丁的方法: 产生补丁 diff -uN from-file to-file >to-file.patch 打补丁 patch -p0 < to-file.patch
2016-03-30 09:42:06 1239
原创 android graphic(16)—fence(简化)
上层绘图 下层合成 前面一篇文章以代码分析了fence的产生和传递过程,这里将过程简化为上层和下层两幅图。其中图中橘黄色的fence为release fence,而绿色的fence为acquire fence。 上层绘图 a, Surface dequeue buffer,Buffer Queue传递给Surface一个release fence,然后wait等待这个release fence触
2016-03-29 16:58:22 6990
原创 android graphic(15)—fence
fence的使用 fence的作用 软件实现的opengl 硬件实现的opengl 上层canvas绘图 关于fence,不错的参考文章http://blog.csdn.net/jinzhuojun/article/details/39698317。但是和我理解的还是有些出入,本文结合代码分析下自己理解的fence的产生和传递。 fence的使用 一般f
2016-03-28 22:36:52 10238 2
原创 android graphic(14)—EGL和OpenGL ES之间的关系
OpenGL ES EGL 例子 EGL加载OpenGL ES库 涉及的库 库的加载 小结 OpenGL ES 什么是OpenGL?Open Graphics Library (OpenGL) is a cross-language, cross-platform application programming interface (API) for rende
2016-03-25 16:23:52 24056 1
原创 android graphic(13)—surface flinger中的“事务”
surfaceflinger中的事务flags设置和处理flags创建layer时设置flagsurfaceflinger中的事务flagssurfacefligner中所涉及事务的flag包括下面几种,enum { //需要处理事务 eTransactionNeeded = 0x01, //需要遍历 eTraversalNeeded
2016-03-14 14:53:58 2492
原创 android graphic(12)—display上层相关概念、关系
涉及的java类DisplayManagerServiceDisplayAdapterDisplayDeviceDisplayManagerGlobalDisplayManagerLogicalDisplayDisplayDisplayContentDisplayInfo类之间的关系默认屏幕的上层初始化分析涉及的java类DisplayManagerServiceManages
2016-03-09 16:00:11 12647
原创 android graphic(11)—底层初始化displays
初始化HWC surfaceflinger 初始化displays 这里的底层不牵扯内核以下的分析,主要是内核亮屏后,HAL层以上各层是如何联系起来的,通过层层转交,将displays的信息从内核填充到上层。这里主要涉及framework中的HWComposer,surfaceflinger,HAL层的Hwcomposer,为了便于区分,framework层记为HWC,HAL层记为Hwc,HWC
2016-03-08 10:01:23 3542
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人