« Cocoa Firefox | Main | Updated Cocoa Firefox Build (Universal Binary too!) »
July 12, 2006
Update: NPAPI Plugins on Mac OS X
I've been spending a good amount of time this week planning changes to our NPAPI plugin architecture on Mac OS X. I have filed bugs and set up a wiki page to document this planning.
This first section of the wiki page describes improvements I hope to make to our plugin code for Gecko 1.9. Supporting NP_GetEntryPoints should make things easier for plugin authors and keep us in sync with WebKit. Using a slower idleEvent timer for plugins that are not in a foreground tab on the key window should help with CPU usage when people have lots of plugins in different tabs. Supporting Mac OS X NPAPI Drawing Models means we can support 64-bit plugins and allow 32-bit plugins to draw using CoreGraphics.
The second section points readers to the current revision of the Mac OS X NPAPI Drawing Models spec. It is not final, there will most likely be quite a few revisions and additions (in particular, an OpenGL Drawing Model). I have already started implementing some of it just to see how it goes, but I won't be posting anything until the spec is final of course. This spec was originally created to solve the problem of 64-bit plugins on Mac OS X, but it actually also solves the more immediate problem of 32-bit plugins being able to use CoreGraphics and thus it has the general title of Mac OS X NPAPI Drawing Models. A separate proposal might eventually come out to modernize event handling data types, but that isn't on the table yet.
Posted by josh at July 12, 2006 8:32 PM
Comments
>Supporting 64-bit Mac OS X NPAPI means we'll be
>ready when 64-bit versions of Mac OS X come out and
>subsequently
I thought that Panther on the G5 was running in 64 bit mode and that Apple was shipping "Fat" binaries with both 32 and 64 bits bundles into it.....
Posted by: Ludovic Hirlimann at July 12, 2006 10:33 PM
Looks really interesting. One note: in the end of the proposal on the wiki, anyone is encouraged to comment on the plugin-futures list, but I can't find out how to subscribe to it. Is it not public?
Posted by: Håkan Waara at July 13, 2006 4:38 AM
Ludo - I worded it better so the point about 64-bit plugins isn't confusing.
Posted by: Josh Aas at July 13, 2006 10:15 AM
Please see
https://bugzilla.mozilla.org/show_bug.cgi?id=339548
Posted by: Robert O'Callahan at July 13, 2006 8:08 PM
Also, will the new drawing model spec make it possible for us to direct plugin drawing to an offscreen pixel buffer, so we can, for example, rotate it when the plugin is inside an SVG transform? Mac really needs a windowless plugin model...
Posted by: Robert O'Callahan at July 13, 2006 8:39 PM
Any news about Cairo support for MacOS X?
Posted by: giandrea at July 15, 2006 6:42 PM
Will any of these plugin changes (or roc's) do anything to help fix bugs where plugins don't appear in the proper place when the page is scrolled? E.g., https://bugzilla.mozilla.org/show_bug.cgi?id=160435#c11
Posted by: Smokey Ardisson at July 19, 2006 9:19 AM
Systems message!!!
Bad Credit Fl Mortgage Refinance,
Finish of the messages...
Posted by: XYRTOP at September 30, 2006 4:35 PM
Das is eine besobders Gut!!!
Estate Real Target,
Doch nicht...
Posted by: PohNa at October 2, 2006 1:44 AM
Nice blog here, best design! Thanks.
Posted by: cheap hydrocodone at October 9, 2006 3:39 AM
There are a number of payday loan companies saying that they are the best in payday loan industry, we say nothing, we just get you APPROVED for a payday loan.
Posted by: fast payday loan at October 30, 2006 5:53 AM
Hi all!
G'night
Posted by: Test at November 4, 2006 3:57 PM
I just don't have anything to say , but shrug. So it goes. Not much on my mind recently. I can't be bothered with anything recently.
Posted by: Sten20408 at February 3, 2007 8:24 AM