[webkit-gtk] Hardware Acceleration

Vincent Li vincent.li at ubitus.net
Thu Jun 21 03:18:21 PDT 2012

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


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 =
   g_object_set(G_OBJECT(setting), "enable-webgl", TRUE, NULL);
   g_object_set(G_OBJECT(setting), "enable-accelerated-compositing", TRUE,

vincent.li at ubitusinc.com

2012/6/21 ketan goyal <goyal8888 at gmail.com>

> 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
> webkit-gtk at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20120621/1d890ae5/attachment.html>

More information about the webkit-gtk mailing list