hust-marx / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

Support InvalidatingCoreAnimation drawing model on the Mac #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
A new drawing model was recently added for Mac plugins:
https://wiki.mozilla.org/NPAPI:InvalidatingCoreAnimation

It's identical to the other Core Animation drawing model except that the plugin 
needs to send invalidate calls just as with the CoreGraphics model. In the 
future, Gecko and Chromium will only support this variant of Core Animation 
(while Apple has suggested that Safari will probably only support the original 
version), since their implementations require knowing when the plugin has drawn.

Original issue reported on code.google.com by stuart.morgan on 13 Jul 2010 at 4:00

GoogleCodeExporter commented 9 years ago
I should add that the way to negotiate a Core Animation model would be:

First try to use NPDrawingModelInvalidatingCoreAnimation
If that isn't available, use NPDrawingModelCoreAnimation

Any browser that supports NPDrawingModelInvalidatingCoreAnimation does so 
because it's more efficient for that browser, so it should always be preferred. 
If you do it in the other order, you'll use the less efficient model in, e.g., 
Google Chrome, which supports both while plugins are transitioning.

Original comment by stuart.morgan on 13 Jul 2010 at 4:04

GoogleCodeExporter commented 9 years ago
I'll get on this when I get a chance. Thanks for the input!

Original comment by amack...@gmail.com on 15 Jul 2010 at 7:04

GoogleCodeExporter commented 9 years ago
This seems like it should be doable relatively quickly; think we can get it in 
for the next release in a couple of weeks?

Original comment by taxilian on 16 Sep 2010 at 5:31

GoogleCodeExporter commented 9 years ago
We certainly can! I'll get to work on this once i get a chance.

Original comment by amack...@gmail.com on 16 Sep 2010 at 8:41

GoogleCodeExporter commented 9 years ago

Original comment by amack...@gmail.com on 28 Sep 2010 at 8:07