Confirmed users, Bureaucrats and Sysops emeriti
1,680
edits
No edit summary |
|||
| Line 1: | Line 1: | ||
= Status = | = Status = | ||
Accepted | Accepted, ready for implementation. | ||
== | == Contributors == | ||
* Last modified: April 22, 2010 | |||
* Authors: Anders Carlsson (Apple), Kevin Decker (Apple) | |||
* Contributors: Josh Aas (Mozilla Corporation) | |||
== Overview == | |||
Currently, the only way for a plug-in on Mac to use OpenGL is to attach an AGL surface manually. This has a number of drawbacks: | Currently, the only way for a plug-in on Mac to use OpenGL is to attach an AGL surface manually. This has a number of drawbacks: | ||
| Line 13: | Line 19: | ||
The Core Animation drawing model aims to solve these problems (and more) by letting the plug-in hand off a Core Animation layer to the browser. It is then up to the browser to position and size the layer. | The Core Animation drawing model aims to solve these problems (and more) by letting the plug-in hand off a Core Animation layer to the browser. It is then up to the browser to position and size the layer. | ||
== | == Negotiating Core Animation == | ||
drawing | For documentation on negotiating drawing models, see [[NPAPI:Models]]. The drawing model variables for Core Graphics are: | ||
* NPDrawingModelCoreAnimation (3) | |||
* NPNVsupportsCoreAnimationBool (2003) | |||
== Vending a layer == | == Vending a layer == | ||