NPAPI:Pepper: Difference between revisions

Jump to navigation Jump to search
120 bytes removed ,  29 October 2009
Line 168: Line 168:


Causes the contents of the region to be presented to the renderer for display. Because the final rendering may be done by another process (the browser), the call is asynchronous. Return from the flush guarantees it is safe to write to the region again, but does not say that the bits have reached the screen. The callback is provided to add this capability. The callback should be invoked once the bits have been displayed to the screen or an error has been detected.
Causes the contents of the region to be presented to the renderer for display. Because the final rendering may be done by another process (the browser), the call is asynchronous. Return from the flush guarantees it is safe to write to the region again, but does not say that the bits have reached the screen. The callback is provided to add this capability. The callback should be invoked once the bits have been displayed to the screen or an error has been detected.
The regions to be updated can be narrowed by calls to NPN_InvalidateRect, or we should add a rectangle to the context.


=== Destroying a Rendering Context ===
=== Destroying a Rendering Context ===
89

edits

Navigation menu