what’s the difference between ashmem and FRAMEBUFFER memory?

已查看 70 次
跳至第一个未读帖子

Xing Xu

未读,
2020年7月12日 19:43:072020/7/12
收件人 android-platform
I understand that there two kinds of GraphicBuffer here for qcom/msm chip: PRIV_FLAGS_FRAMEBUFFER and PRIV_FLAGS_USES_ASHMEM. The ASHMEM will be used as the Android client’s Surface memory, and the FRAMEBUFFER will be used as the SurfaceFlinger’s render target. But when the HWC is enabled, some of the Surface’s memory(from ashmem) will be delivered to HWC.  So does this means both the FRAMEBUFFER memory and Surface memory (ashmem) are treated the same way for the HWC?

If so, what’s the difference between ashmem and FRAMEBUFFER memory?

Any hints will be thankful!

回复全部
回复作者
转发
0 个新帖子