NPAPI:Pepper: Difference between revisions

339 bytes removed ,  29 October 2009
no edit summary
No edit summary
Line 183: Line 183:


Causes the context specified to be destroyed.  The memory pointed to by context may be freed and accesses are undefined.
Causes the context specified to be destroyed.  The memory pointed to by context may be freed and accesses are undefined.
=== Publishing the Context to the Renderer ===
<pre>
  void NPN_PublishDeviceContext(NPP instance, NPDeviceContext* context)
</pre>
* The plugin informs the renderer that it has drawn into context and that the renderer may composite from it.
* After this call the plugin may no longer draw into the context (it may be deallocated, etc.)


=== Notification a Context was Displayed ===
=== Notification a Context was Displayed ===
89

edits