Re: [webkit-dev] Plug in support on DirectFB Webkit

2009-03-04 Thread Sriram Neelakandan
Attached is a small patch to get the DFB compilation going (against r40351) and apart from this patch, we need to add support code for DFB for the plugin's view So see all the checks with "#if PLATFORM(X11)" in WebCore/plugins/gtk/PluginViewGtk.cpp and do the necessary stuff for DFB. NOTE: The Xem

Re: [webkit-dev] Plug in support on DirectFB Webkit

2009-03-04 Thread Sriram Neelakandan
> I have built Webkit in order to get rid of X11  calls. This is fine > Tried to replace the X11 API  with GDK calls. If you need true DFB support this will not work. (X11 != GDK, but X11 == DFB) As per "https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Drawing_and_Event_Handling";

Re: [webkit-dev] Plug in support on DirectFB Webkit

2009-03-04 Thread Manoj Bhatta
I have built Webkit in order to get rid of X11 calls. Tried to replace the X11 API with GDK calls. But it fails when there is conversion from GtkXtBin to GtkSocket And one more thing I found gdk_window_add_filter()'s call back function is not getting called in my plug in library. I doubt its b

Re: [webkit-dev] Plug in support on DirectFB Webkit

2009-03-02 Thread Sriram Neelakandan
Well, what u need is a build time flag, which should first get rid of all X11 headers. Then you end up having to define or mapping the missing structure / defines in npruntime,h & npapi.h to appropriate DFB equivalents Now, after that, you will get stuck with gtk_socket_new .. a well known issue w

Re: [webkit-dev] Plug in support on DirectFB Webkit

2009-03-02 Thread Rick
Having just looked up DirectFB on Wikipedia, I see it is an interface that skips X and talks directly to the framebuffer. There is mention of an API called XDirectFB that mimics X11 calls. You might look for that. On Mon, Mar 2, 2009 at 8:38 AM, Ariya Hidayat wrote: > >> I am running Webkit on D

Re: [webkit-dev] Plug in support on DirectFB Webkit

2009-03-02 Thread Ariya Hidayat
> I am running Webkit on DirectFB. > AFAIK, plug in support is not there on DirectFB/Webkit. > I found in WebCore/plugin calls are all Xt/X11 based. > Can any one suggest me , how can I modify these call for DirectFB ? DirectFB is a complete different beast, compared to X11. AFAICS you have to i

[webkit-dev] Plug in support on DirectFB Webkit

2009-03-02 Thread Manoj Bhatta
Hi, I am running Webkit on DirectFB. AFAIK, plug in support is not there on DirectFB/Webkit. I found in WebCore/plugin calls are all Xt/X11 based. Can any one suggest me , how can I modify these call for DirectFB ? Manoj ___ webkit-dev mailing list webk