Mobile/Flash: Difference between revisions
< Mobile
Jump to navigation
Jump to search
| Line 32: | Line 32: | ||
|- | |- | ||
| ANPWindowInterfaceV0 | | ANPWindowInterfaceV0 | ||
| style="background-color: yellow | | style="background-color: yellow" | PARTIAL | ||
|- | |- | ||
| ANPWindowInterfaceV1 | | ANPWindowInterfaceV1 | ||
Revision as of 15:56, 15 March 2012
Flash on Android
Plugins are implemented on Android using an extended version of NPAPI. The extensions are used for drawing, playing audio, finding fonts, pretty much everything.
The plugin requests the extended APIs via NPN_getvalue. For each interface, Firefox returns a struct that contains function pointers which implement the interface. There a great many of these, and we have not implemented everything yet. Below I've outlined all of the interfaces and marked which ones are complete, partial, or incomplete.
| Interface name | Status |
|---|---|
| ANPLogInterfaceV0 | COMPLETE |
| ANPBitmapInterfaceV0 | COMPLETE |
| ANPMatrixInterfaceV0 | INCOMPLETE |
| ANPPathInterfaceV0 | COMPLETE |
| ANPTypefaceInterfaceV0 | COMPLETE |
| ANPPaintInterfaceV0 | COMPLETE |
| ANPCanvasInterfaceV0 | COMPLETE |
| ANPWindowInterfaceV0 | PARTIAL |
| ANPWindowInterfaceV1 | INCOMPLETE |
| ANPWindowInterfaceV2 | INCOMPLETE |
| ANPAudioTrackInterfaceV0 | COMPLETE |
| ANPAudioTrackInterfaceV1 | INCOMPLETE |
| ANPEventInterfaceV0 | COMPLETE |
| ANPSystemInterfaceV0 | COMPLETE |
| ANPSystemInterfaceV1 | COMPLETE |
| ANPSystemInterfaceV2 | COMPLETE |
| ANPSurfaceInterfaceV0 | COMPLETE |
| ANPOpenGLInterfaceV0 | INCOMPLETE |
| ANPVideoInterfaceV0 | COMPLETE |
| ANPVideoInterfaceV1 | INCOMPLETE |
| ANPNativeWindowInterfaceV0 | COMPLETE |