经过(guo)阅读源码(ma),其实(shi)不(bu)少思路(lu)和Android的匿名内存有点相似阅读(du)本文(wen)之前(qian)就(jiu)算不知道dma_buf的设计(ji)思想也没关系(xi),我不会仔细(xi)到每一行,我会注重其在gralloc服(fu)务中(zhong)的申请(qing)流程,看看(kan)ion是如(ru)何管(guan)理共(gong)享内存,为(wei)什(shi)么(me)要抛弃ashmem我们(men)
Copyright © 2008-2028