NPAPI:QueryCoreAnimationCompositingSupport: Difference between revisions

Jump to navigation Jump to search
Clarify the name
(Move proposal to the right wiki area)
 
(Clarify the name)
Line 21: Line 21:
= Current Proposal =
= Current Proposal =


WebKit already has an informal solution to this problem, defining a variable that plug-ins can query to determine compositing support using NPN_GetValue:
WebKit already has an informal solution to this problem, defining a variable that plug-ins can query to determine compositing support using NPN_GetValue. The proposal is to formalize this as NPNVSupportsCompositingCoreAnimationPluginsBool, using the same value for compatibility with existing browser and plug-in implementations:


  WKNVSupportsCompositingCoreAnimationPluginsBool 74656
  NPNVSupportsCompositingCoreAnimationPluginsBool 74656
 
The proposal is to formalize this as NPNVSupportsCompositingCoreAnimationPluginsBool, using the same value for compatibility with existing browser and plug-in implementations.


Any browser implementing compositing for the Core Animation drawing models would return true for this variable in NPN_GetValue. Browsers that returned false would be known not to support it, while browsers returning an error would need to be checked by user agent (for compatibility with browsers that support compositing but have not implemented this new specification).
Any browser implementing compositing for the Core Animation drawing models would return true for this variable in NPN_GetValue. Browsers that returned false would be known not to support it, while browsers returning an error would need to be checked by user agent (for compatibility with browsers that support compositing but have not implemented this new specification).
70

edits

Navigation menu