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