Confirmed users
138
edits
Line 95: | Line 95: | ||
= NPDrawingModelAsyncBitmapSurface = | = NPDrawingModelAsyncBitmapSurface = | ||
This model should be available on all platforms. | This model should be available on all platforms. It will only allow calls to SetCurrent on the main plugin thread. | ||
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 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. |