On Fri, Mar 27, 2009 at 12:22 AM, waterblood <guoyin.c...@gmail.com> wrote:
> Does the bitmap data we write to Canvas is the same as we write to > the back buffer to that surface, which means surface will not copy the > data in Canvas to back buffer then swap the backbuffer with front > buffer, or it will do the copy operation? Surfaces are normally double-buffered. How that is implemented is an implementation detail. The current impl simply re-composites all surfaces to the screen when one of them needs to be updated, so there is a (possibly hardware-accelerated) blit of all surfaces after one is posted. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---