I've created a bunch of custom views that draw themselves really fast, 
especially with HW acceleration enabled.

I have several of these views in my application, spread out over many 
panes. I'm trying to keep as much as possible in memory to avoid reloading 
data when swiping between panes.

My problem is that Android keeps creating a DisplayLists for each of my 
views, even though the do not really need it. They don't have any children 
and draw directly to their canvas, so DisplayLists should have little or no 
effect on performance. But they sure do take up a lot of memory. Sometimes 
2 MB per view, which adds up to a lot.

Is there any way to disable DisplayList creation without disabling HW 
acceleration?

Thanks,
Daniel

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to