[webkit-dev] Another problem: how to dump flash content into image in Linux?

2009-06-15 Thread TianShijun
Hi All, I have tried to modify the PluginView::paint method in PluginViewQt.cpp to dump the flash content. But the result is always a gray image. Does any one know why? Or has anyone implemented the similar function before? I have also tested the print/print preview function on many browsers

Re: [webkit-dev] Another problem: how to dump flash content into image in Linux?

2009-06-15 Thread tonikitoo (Antonio Gomes)
TianShijun, QtWebKit (as well as Gtk and possibly others port) uses XEmbed to get plugins (e.g. Flash) running. XEmbed is a X protocol to embed X window onto others (containers). That said, when you try dumping flash by the way you pasted below, you are not even touching the plugin painting

Re: [webkit-dev] Another problem: how to dump flash content into image in Linux?

2009-06-15 Thread TianShijun
Hi tonikitoo, Thanks for your hint. It seems that WebKit doesn't support the windowless plugin in X11. Is their other way to implement feature? We can get some infomation of the native windows now. Can we do it with raw Xlib functions? I found a topic in MDC that claims the support of