Changes

Jump to: navigation, search

Plugins:NokiaMaemoImageSurface

100 bytes added, 20:07, 21 October 2009
no edit summary
We are proposing a NPAPI extension which would allow a plugin torender directly into 32-bit buffer in shared memory. The new extensionwill be designed so that plugin explicitly makes requests of the useragent whether the extension is supported (with NPN_GetValue andNPNVSupportsWindowlessLocal) and then enables the new rendering modeat runtime (with NPN_SetValue and NPPVpluginWindowlessLocalBool). Inthis way other plugins unaware of new extension will not be disrupted.= Status =
Accepted, ready for implementation. No NPAPI version number. = Problem Summary = We are proposing a NPAPI extension which would allow a plugin to render directly into 32-bit buffer in shared memory for performance reasons. = Specification = The plugin explicitly makes requests of the user agent whether the extension is supported (with NPN_GetValue and NPNVSupportsWindowlessLocal) and then enables the new rendering mode at runtime (with NPN_SetValue and NPPVpluginWindowlessLocalBool). In this way other plugins unaware of new extension will not be disrupted. When new rendering mode is enabled the Xdrawable field of a standardXGraphicsExpose event holds a pointer to the new NPImageExposestructure which among other things contains pointer to the sharedmemory buffer, its dimensions, translation and scale factors.
<pre>
Confirm, emeritus
1,680
edits

Navigation menu