NPAPI:Pepper: Difference between revisions

Line 265: Line 265:
/* Draw into the bits in context->region however you want. */
/* Draw into the bits in context->region however you want. */


device2d->flushContext(npp, &context);</pre>
/* This example uses no callback, so the plugin will block until
  bits have been painted to the screen. */
device2d->flushContext(npp, &context, NULL, NULL);</pre>


=== 3D Rendering ===
=== 3D Rendering ===
202

edits