经过阅(yue)读源(yuan)码,其实不(bu)少思路和Android的匿名内存有点(dian)相(xiang)似阅读本文(wen)之前就算(suan)不知(zhi)道dma_buf的设计(ji)思想也没关系,我(wo)不会仔细到(dao)每一行,我会(hui)注重其在gralloc服务(wu)中的申请(qing)流程,看(kan)看ion是(shi)如何管(guan)理共(gong)享内(nei)存,为(wei)什么要抛弃(qi)ashmem我们
Copyright © 2023-2024