On Thursday, May 1, 2014 8:51:43 AM UTC-7, Maksym Kreshchuk wrote:
>
> I am porting Android 4.4 to OMAP4 platform.
>
Hmm.
> After some investigation I found out that DispSync model does a lot of
> calculation on CPU.
>
It calls a few trig functions every once in a while. That shouldn't be "a
On Friday, May 2, 2014 10:06:38 AM UTC-7, Maksym Kreshchuk wrote:
>
> It calls:
> 1. After every hardware vsync - 60 times per second.
> 2. After every displayed frame - for 30fps video it's 30 times per second.
> 3. In threadLoop - not sure but ~60 times per second.
>
The amount of added work sh
On Tuesday, May 6, 2014 6:08:32 AM UTC-7, Maksym Kreshchuk wrote:
>
> During video playback hardware vsync enables 10-30 times per minute.
> Is it normal value?
>
I don't know if there's a "normal". The DispSync code enables hardware
VSYNC whenever it believes it is getting too far out of sync.