Confirmed users, Bureaucrats and Sysops emeriti
1,680
edits
| Line 90: | Line 90: | ||
This model should be available on all platforms. | This model should be available on all platforms. | ||
Plugins should create a bitmap surface by calling <code>NPN_InitAsyncSurface</code> with a <code>NULL</code> value for | Plugins should create a bitmap surface by calling <code>NPN_InitAsyncSurface</code> with a <code>NULL</code> value for <code>initData</code>. If an <code>NPImageFormat</code> is not supported then surface creation will fail. | ||
Plugins should destroy bitmap surfaces by calling <code>NPN_FinalizeAsyncSurface</code>. This will allow the browser to release the bitmap memory. | Plugins should destroy bitmap surfaces by calling <code>NPN_FinalizeAsyncSurface</code>. This will allow the browser to release the bitmap memory. | ||