Hi ketan, In my knowledge, there are two cases when hardware acceleration is involved; one is WebGL, the other is accelerated composition. To build webkitgtk with these supports, you need to add the following configuration
--enable-webgl=yes --with-accelerated-compositing=opengl the --enable-webgl configuration was set to yes by default in my last try on 1.9.2, so this one can be ignored. you will have to set --with-accelerated-compositing by yourself however, because by default it was set to no. And somewhere in your application, you will have to set properties of webview to activate the features: WebKitWebSettings* setting = webkit_web_view_get_settings(WEBKIT_WEB_VIEW(web_view)); g_object_set(G_OBJECT(setting), "enable-webgl", TRUE, NULL); g_object_set(G_OBJECT(setting), "enable-accelerated-compositing", TRUE, NULL); Regards, [email protected] 2012/6/21 ketan goyal <[email protected]> > Hi, > > > I am working on some 3D stuff and need hardware acceleration for > performance. > > So, I am wondering if Hardware Acceleration is supported for GTK port > in webkit ? > > > -- > Regards > Ketan Goyal > _______________________________________________ > webkit-gtk mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk >
_______________________________________________ webkit-gtk mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
