经过阅读源码,其实不少(shao)思路(lu)和(he)Android的匿名内存(cun)有(you)点(dian)相似(si)阅(yue)读本文之前(qian)就算不知道dma_buf的设(she)计思想也没关系,我不会(hui)仔细到每一行,我会(hui)注重其在(zai)gralloc服务中(zhong)的申(shen)请流程,看(kan)看ion是(shi)如何管理共享内(nei)存,为(wei)什(shi)么(me)要抛(pao)弃ashmem我(wo)们(men)
Copyright © 2023-2024