NPAPI:QueryCoreAnimationCompositingSupport: Difference between revisions

case fix
(Move proposal to the right wiki area)
 
(case fix)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Status =
= Status =


Under consideration.
Accepted, ready for implementation.


= Contributors =
= Contributors =


* Last modified: July 20, 2011
* Last modified: July 22, 2011
* Authors: Stuart Morgan (Google)
* Authors: Stuart Morgan (Google)
* Contributors: Kevin Decker (Apple)
* Contributors: Kevin Decker (Apple)
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