[webkit-help] Flash rendering speed when in hidden frame

Chris Hatko chatko at gmail.com
Tue Jul 13 07:50:06 PDT 2010


Hi, I've noticed that when running the latest flash 10.1 in a hidden
frame the rendering performance drops off significantly. On
investigation this is actually a flash feature to conserve CPU (
http://blog.kaourantin.net/?p=83 ). However, I'm rendering to a hidden
window, capturing the output into a buffer and thus would like flash
to run at full speed all the time.

Does anyone know how to disable this "feature"? Or perhaps trick flash
into thinking its not hidden. I'm using webkit cario port.

I've tried: "frameView->setShouldUpdateWhileOffscreen(true)" without success
and I'm now looking at "PluginView::wndProc" to suppress messages that
would tell flash/plugins they are hidden.

The flash guys (blog above) state:
"As of today we can not always determine if our instance is visible.
There is no standard way of doing this, every browser works slightly
different."

Which give me hope that somewhere in webkit I can force the visibility

Thanks,

Chris


More information about the webkit-help mailing list