NPAPI:AsyncDrawing: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
= Status =
= Status =


Under consideration.
Accepted, ready for implementation.  


= Contributors =
= Contributors =


* Last modified: February 22, 2012
* Last modified: April 19, 2012
* Authors: Bas Schouten (Mozilla Corporation), Josh Aas (Mozilla Corporation)
* Authors: Bas Schouten (Mozilla Corporation), Josh Aas (Mozilla Corporation)
* Contributors: Robert O'Callahan (Mozilla Corporation)
* Contributors: Robert O'Callahan (Mozilla Corporation)
Line 17: Line 17:
For documentation on negotiating drawing models, see [[NPAPI:Models]]. This specification covers all async models, which use the same drawing mechanics with platform-specific data structures. The following models are currently specified:
For documentation on negotiating drawing models, see [[NPAPI:Models]]. This specification covers all async models, which use the same drawing mechanics with platform-specific data structures. The following models are currently specified:


* NPDrawingModelAsyncBitmapSurface (NPDrawingModel = TBA)
* NPDrawingModelAsyncBitmapSurface (NPDrawingModel = 7)
* NPDrawingModelAsyncWindowsDXGISurface (NPDrawingModel = TBA)
* NPDrawingModelAsyncWindowsDXGISurface (NPDrawingModel = 8)


Support query variables are:
Support query variables are:


* NPNVsupportsAsyncBitmapSurfaceBool (NPNVariable = TBA)
* NPNVsupportsAsyncBitmapSurfaceBool (NPNVariable = 2005)
* NPNVsupportsAsyncWindowsDXGISurfaceBool (NPNVariable = TBA)
* NPNVsupportsAsyncWindowsDXGISurfaceBool (NPNVariable = 2006)


Since these are the first new models for Windows and Linux the existing models will be assigned names:
Since these are the first new models for Windows and Linux the existing models will be assigned names:


* NPDrawingModelSyncWin (NPDrawingModel = TBA)
* NPDrawingModelSyncWin (NPDrawingModel = 5)
* NPDrawingModelSyncX (NPDrawingModel = TBA)
* NPDrawingModelSyncX (NPDrawingModel = 6)


= General Async Drawing Mechanics =
= General Async Drawing Mechanics =
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits