[webkit-dev] WM_PRINTCLIENT and when to send it
fth at trifork.com
Wed Feb 25 03:46:13 PST 2009
Unfortunately no. That method is only called when I send a WM_PRINTCLIENT to the webkit window. I need to know when something on the UI has changed (for example a flash animation) so that I can tell webkit when to render instead of constantly hogging the CPU.
I hope I am making sense here :)
From: Adam Roben [mailto:aroben at apple.com]
Sent: 24. februar 2009 16:45
To: Frank Thomsen
Cc: webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] WM_PRINTCLIENT and when to send it
On Feb 24, 2009, at 4:44 AM, Frank Thomsen wrote:
I have hosted webkit in a hidden window (on a Windows platform), and I need to find out when it is necessary to send a WM_PRINTCLIENT to it. The problem is that at the moment I force Webkit to render every 30 ms, which is far from optimal. Isn't there some way for me to get an event when it is time to redraw the UI?
IWebUIDelegatePrivate2::webViewPainted should be what you need.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev