Changes between Version 7 and Version 8 of QtWebKitWebGL


Ignore:
Timestamp:
Mar 18, 2011 8:41:39 AM (13 years ago)
Author:
jarkko.j.sakkinen@gmail.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • QtWebKitWebGL

    v7 v8  
    11'''Overview'''
    22
    3  * WebGL support is code complete but will need a lot of fine-tuning.
    4  * WebGL layout tests are enabled but most of them fail.
    5  * Is '''not''' included into the release content of QtWebKit 2.0.
    6  * Hardware used for testing during development: NVidia 8400GS, Intel GMA 4500HD and N900
    7  * Operating systems used for testing during development: Ubuntu, Windows XP and Maemo 5
     3WebGL can be enabled by setting {{{QWebSettings::WebGLEnabled}}} in your application. In addition, {{{QWebSettings::AcceleratedCompositingEnabled}}} needs to be enabled. For performance reasons, at the moment WebGL is scoped to work only together with accelerated compositing. For the best performance, you should use {{{QGraphicsWebView}}} with {{{QGLWidget}}} viewport. With this configuration QtWebKit is able to texture map the WebGL canvas directly. Otherwise, it has to do expensive memory copying into canvas image buffer for each frame.
    84
    9 '''Doing a build with WebGL enabled'''
    10 
     5In order to compile the WebGL support, use the following command-line:
    116{{{
    127Tools/Scripts/build-webkit --qt --3d-canvas
    138}}}
    149
    15 '''Trying out WebGL implementation'''
     10'''Things left to do'''
    1611
    17 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().
     12 * [Qt] When we render WebGL offscreen, color conversion cost a lot of CPU cycles
     13  * https://bugs.webkit.org/show_bug.cgi?id=40884
     14  * This is important optimization for render-to-image and printing use cases.
     15 * Create autotest suite Source/WebKit/qt/tests
     16 * Test implementation on Symbian and fix possible defects.
     17
     18
    1819
    1920