wiki:QtWebKitWebGL

Version 5 (modified by jarkko.j.sakkinen@gmail.com, 11 years ago) (diff)

--

Overview

  • WebGL support is code complete but will need a lot of fine-tuning.
  • WebGL layout tests are enabled and most of them pass.
  • Is not included into the release content of QtWebKit 2.0.
  • Hardware used for testing during development: NVidia 8400GS, Intel GMA 4500HD and N900
  • Operating systems used for testing during development: Ubuntu, Windows XP and Maemo 5

Doing a build with WebGL enabled

WebKitTools/Scripts/build-webkit --qt --3d-canvas

Trying out WebGL implementation

You can try out WebGL with QtTestBrowser by enabling WebGL support from the menu. For optimal performance, enable QGraphicsView with QGLWidget viewport and accelerated compositing. With this configuration, it is possible to create shared OpenGL context and framebuffer object of the WebGL viewport can be rendered with QGLWidget::drawTexture().