Comment 18 for bug 604635

Revision history for this message
Evan Martin (Chromium) (evan-chromium) wrote : Re: [Maverick] Have default settings be energy star 5.0 compliant

Most movies in browsers is via Flash, which browsers don't get a lot of insight into. I think we can tell that Flash is iterating its main loop but not whether it's painting or just running a timer; full-screened Flash creates its own window out of our control. I think this means we can't control power management for this primary use case. (HTML5 video could definitely be fixed, and I'd be happy to review a patch to do it, but realistically HTML5 video isn't very common yet.)

A coworker proposed a hack that, after reflection, I think is actually pretty good: the compositing manager has ultimate knowledge of what's getting dirtied on your screen. A heuristic like "if something in a region at least X by Y is repainting regularly don't sleep" would probably get you pretty far without needing to change every app.