A Mutable Log

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.

WebGL on Pandaboard