Doh, somehow I thought that this question was sent directly to me. Sorry about the noise.
JBQ On Wed, Mar 25, 2009 at 7:42 AM, Jean-Baptiste Queru <[email protected]> wrote: > I have no idea about those, sorry. > > JBQ > > On Wed, Mar 25, 2009 at 7:41 AM, Andy Quan <[email protected]> wrote: >> Hi, >> I am currently upgrading the old base to cupcake base. I meet 2 issues with >> video playback and surface flinger. >> >> In my old code base, the YUV data is put onto overlay directly after a few >> seconds operations with postBuffer through base layer. This is mainly >> because android did not have framework for overlay previously. This worked >> fine until I move the same code onto cupcake recently. Right now I find >> even if I don't go through postBuffer any more, as long as the buffer list >> is not unregistered from the surface handler, surface flinger seems to keep >> pushing the last 1 or 2 frames onto base layer by itself. This costs a lot >> of CPU cycles when I actually only need overlay. My question: is this a new >> feature introduced into surface flinger? If so, is it reasonable for me to >> unregister this buffer list to save performance? And is there an interface >> in application level to control the behavior of surface flinger like >> disabling pushing the last frames? >> Even if I unregister the buffer list of surface handler, there are still >> 2%-3% CPU Mhz (600MHz in total) consumed by "system_server". I did not >> observe this issue in older code base. It seems a bit weird as I dont know >> where it comes from. >> >> I'd appreciate if any hints are provided! >> >> Thanks, >> Andy >> >> >> >> > > > > -- > Jean-Baptiste M. "JBQ" Queru > Android Engineer, Google. > > Questions sent directly to me that have no reason for being private > will likely get ignored or forwarded to a public forum with no further > warning. > -- Jean-Baptiste M. "JBQ" Queru Android Engineer, Google. Questions sent directly to me that have no reason for being private will likely get ignored or forwarded to a public forum with no further warning. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" 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-framework?hl=en -~----------~----~----~----~------~----~------~--~---
