Hi Andy.

Thank you for your answer.
I understood that I shouldn't disable DispSync.
>
>
> It calls a few trig functions every once in a while.  That shouldn't be "a 
> lot".
>

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.
 

> DispSync is essentially "software VSYNC".  While things are actively 
> animating, it will wake up at the same rate as the display refresh.  When 
> nothing is updating the screen, it won't do anything.  It does not cause 
> anything to stay awake.
>

 I pass hardware vsync from HWC HAL. Does DispSync work as "software VSYNC" 
with enabled hardware vsync?

>
> Are you playing video at 30fps?  What are you using for your player?
>

Yes I use 30fps video and built-in player from AOSP Gallery. 

>
> I assume the increased power consumption is due to the power management 
> software not slowing the clocks because it thinks the device is busy?
>
> I'll check it on Monday and write the result. 

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to