
Webkit Plugin
文章平均质量分 81
elfylin
这个作者很懒,什么都没留下…
展开
-
Plugin file and functions
Plugin files 1. Npapi.h declaration of NPP_XXX and NPN_XXX, also NPP and NPStream in external/webkit/webcore/bridge/Npapi.h 2.Npfunctions.h declaration function pointer of NPP_XXX原创 2012-01-01 17:33:48 · 1160 阅读 · 0 评论 -
Plugin create
PluginView creation How is the plugin initialized? it's begin with the PluginView's creation 1.PluginView.create() PassRefPtr PluginView::create(Frame* parentFrame, const IntSize& size原创 2011-12-27 22:33:30 · 1491 阅读 · 0 评论 -
flash's SurfaceTexture
original, how webview go? 1. generate a MediaLayer with webview. 2. MediaLayer has a MediaTexture. in MediaLayer generate a MediaTexture with webview. 3. MediaTexture has a TextureWrapper (Textur原创 2012-08-05 23:32:44 · 1904 阅读 · 0 评论 -
IntPoint and PluginMainThreadScheduler
IntPoint 描述一个点 有x、y两个变量,支持move、expandedTo、shrunkTo等方法 IntSize 描述一个大小 有width,height两个变量,支持scale、expand等接口 IntRect 描述一个巨星 有一个m_location和一个size,location是这个矩形左上角的坐标 right和bottom这个点,并不在这个矩形里面。 infl原创 2012-06-26 18:09:12 · 1340 阅读 · 0 评论 -
Plugin NPP and MediaPlayer
1.NPP是一个结构体,包含两个void的指针 ndata, the pointer of the browser, usually the PluginView, was valued in PluginView::PluginView. pdata, the pointer of the plugin, was valued by Plugin in NPP_New, maybe a ty原创 2012-07-22 22:51:33 · 1207 阅读 · 0 评论 -
Texture and Surface
Texture SurfaceTextureClient(ANativeWindow) .... SurfaceTexture...Server 1. SurfaceTexture Server and SurfaceTextureClient Server, render the data ; client provide the data; they share a buffer. c原创 2012-08-11 22:15:43 · 4449 阅读 · 0 评论 -
Plugin sample study notes
一、 ANP interface 1. ANP interface in android a android为插件提供了额外的NPN函数,称之为ANP b 这些函数是通过传递函数指针的方式传递给插件的 具体操作方式是通过NPN的GetValue函数 浏览器和插件通过头文件约定好一些值,这些值代表APN函数结构体的指针 c 通过NPN_GetValue插件获取到了这些结构图的指针,然后原创 2012-06-14 11:15:31 · 3092 阅读 · 2 评论