Confirmed users, Bureaucrats and Sysops emeriti
1,680
edits
No edit summary |
|||
Line 11: | Line 11: | ||
== Overview == | == Overview == | ||
The regular Core Animation drawing model (NPDrawingModelCoreAnimation) does not work well for browser that don't hook CA layers into a layer tree. Browsers that want to read and composite | The regular Core Animation drawing model (NPDrawingModelCoreAnimation) does not work well for browser that don't hook CA layers into a layer tree. Browsers that want to read and composite pixels need a way to know when a plugin's pixels should be updated in order to operate efficiently. Core Animation does not allow for this. | ||
== Negotiating Invalidating Core Animation == | == Negotiating Invalidating Core Animation == | ||
Line 22: | Line 22: | ||
== Drawing == | == Drawing == | ||
The Invalidating Core Animation model works much like the regular Core Animation model does. See [[NPAPI:CoreAnimationDrawingModel|the regular Core Animation documentation]], which will not be duplicated here. The only difference is that when a plugin | The Invalidating Core Animation model works much like the regular Core Animation model does. See [[NPAPI:CoreAnimationDrawingModel|the regular Core Animation documentation]], which will not be duplicated here. The only difference is that when a plugin has updated its layer it should call NPN_Invalidate to let the browser know. |