[android-porting] Re: A2DP problem in Eclair

2009-12-05 Thread Jackson Fan
OK, so 2nd attached log indicates that your audio device got busy and no way to writing data timely. Then Audio Flinger just blocks there. There might be some initialization stuff not done well in the driver, so after you reconnect A2DP to the Android device it could recover streaming. Sincerely,

[android-porting] Re: eclair patch for arm920 s3c244x family

2009-12-05 Thread Alexey Roslyakov
Michael, I tried to implement page flipping in s3c2410fb. No luck. Performance is worse than in case without flipping. I suppose SurfaceFlinger uses memcpy (or similar) for double buffering from/to "offscreen" surface(s). If offscreen surface resides in Fb memory it's non-cached, therefore performa

Re: [android-porting] Re: eclair patch for arm920 s3c244x family

2009-12-05 Thread Sean McNeil
In the end, you will always have to write to non-cached memory or flush the cache to get it to the device. There should be no performance penalty in page flipping, but a performance increase. You should also have a smaller memory footprint. The typical reason for poor performance of page flipping