NPAPI:AsyncDrawing: Difference between revisions

No edit summary
Line 20: Line 20:
* NPNVsupportsWindowsAsyncBool (NPNVariable = 556)
* NPNVsupportsWindowsAsyncBool (NPNVariable = 556)


== The Windows Asynchronous Drawing Model ==
== The Windows Async Drawing Model ==


The Windows Asynchronous drawing model essentially means a plugin will request one or more surfaces from the host that it can draw to. This drawing is allowed to be completely asynchronous. The plugin will tell the host which surface is current at any given time, and the host will display the plugin surface for as long as it is current. While a surface is current the plugin is not allowed to modify it.
In the Windows async drawing model plugins can request one or more surfaces from the host that it can draw to. The plugin can draw to these surfaces at any time, asynchronously. The plugin will tell the host which surface is current at any given time and the host will display the current plugin surface for as long as it is current. While a surface is current the plugin is not allowed to modify it.


== Using Hardware Surfaces ==
== Using Hardware Surfaces ==
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits