what’s the difference between ashmem and FRAMEBUFFER memory?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

what’s the difference between ashmem and FRAMEBUFFER memory?

Xing Xu
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!

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/5152d0c5-eb4a-4d8a-a865-c3af100ddb56o%40googlegroups.com.