[Webkit-unassigned] [Bug 18831] [GTK] support windowless plugins

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 30 19:08:23 PDT 2009


--- Comment #9 from Brian Tarricone <bjt23 at cornell.edu>  2009-10-30 19:08:21 PDT ---
Ok, I figured out (one of) the problems with my first patch: a stupid typo
exchanging an x coordinate for a y coordinate.

I've also switched to using cairo instead of gdk to do the drawing.  There are
still some problems (wmode=transparent has some drawing issues, though =opaque
works fine), but it's pretty decent now.

I'll clean up and attach the patch in a bit.

Not sure about the approach of using client-side windows, especially since we
don't know what toolkit the plugin is using (and we need to pass an X Drawable
for the plugin to draw on).  Now that I look at them after the fact, the NPAPI
docs on developer.mozilla.org actually specifically say to use an X pixmap for
the plugin's drawing surface.  Not sure if that's normative or just
informative, though.

Mark, not sure about performance... "unfortunately" I have a pretty speedy
dual-core machine, so I wouldn't notice a slowdown without some benchmarking. 
It looks *really* nice right now to me, anyway... no noticeable difference from
windowed mode.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list