WebKit/Gtk+ 1.6.1 with WebGL on PandaBoard

In WebKit/Gtk+ with WebGL on PandaBoard, I show how to build WebKit/Gtk+ with WebGL support. In this post I share the results obtained after building the recently released stable version 1.6.1. This build has been tested with Ubuntu 11.04 and Ubuntu 11.10.

Version 1.6.1 builds flawlessly following the build procedure from the earlier post. The source code is complete, no additional files are required from the WebKit svn. A note regarding package requirements, the package libgtkglext1-dev is not available on Ubuntu 11.10 and it is not required to build version 1.6.1.

WebGL works on PandaBoard, but FPS is painfully low due to usage of software rendering. Please comment below if you know how to enable hardware rendering at build or run time. This is the message that WebKit/Gtk+ shows on the console

** Message: console message: http://mrdoob.github.com/three.js/build/Three.js @225: Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/535.4+ (KHTML, like Gecko) Version/5.0 Safari/535.4+ | WebGL 1.0 (2.1 Mesa 7.11) | Webkit (Mesa Project) | Software Rasterizer | WebGL GLSL ES 1.0 (1.20)

Here’s a screenshot of a three.js Context 3D demo.


3 thoughts on “WebKit/Gtk+ 1.6.1 with WebGL on PandaBoard

  1. Great stuff, congratulations!

    Regarding the software rendering, have you checked if it’s using desktop OpenGL (provided through software by Mesa) instead of the hardware-accelerated OpenGL ES? I’m not sure if GtkGlExt supports it, though.

    Also, which Gtk+ version are you compiling with, 2 or 3?

    1. Thank you.

      My knowledge of OpenGL ES is very shallow. I have no mesa packages (e.g. libgles1-mesa, libgles2-mesa, libegl1-mesa) installed other than mesa-common-dev. I haven’t had time to discover where the software rendering decision is happening within WebKit…

      The GTK+ version being used is 3.0

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s