Changes between Version 13 and Version 14 of QtWebKitWebGL


Ignore:
Timestamp:
Mar 21, 2011 8:06:21 AM (12 years ago)
Author:
jarkko.j.sakkinen@gmail.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • QtWebKitWebGL

    v13 v14  
    1010For QtTestBrowser, use command-line options {{{-graphicsbased -gl-viewport -webgl}}} to enable WebGL.
    1111
     12'''LayoutTests for WebGL'''
     13
     14Layout tests for WebGL work with QtWebKit:
     15 * {{{LayoutTestsControllerQt}}} has support for enforcing WebGL support in {{{overridePreference()}}}. This used by WebGL test cases to enable WebGL support.
     16 * {{{DumpRenderTreeQt}}} enables QGraphicsWebView for layout tests if environment variable {{{QT_DRT_WEBVIEW_MODE}}} is enabled.
     17 * Accelerated compositing is enabled by default in {{{QWebSettings}}} and DumpRenderTree does not touch to that option.
     18
     19The correct command-line for running layout tests is
     20{{{
     21QT_DRT_WEBVIEW_MODE=graphics WebKitTools/Scripts/run-webkit-tests --qt
     22}}}
     23
     24'''Some real-world test cases'''
     25
     26Here are some pages that might be useful for testing:
     27 * http://helloracer.com/webgl/
     28
    1229'''Things left to do'''
    1330
    1431 * [Qt] When we render WebGL offscreen, color conversion cost a lot of CPU cycles
    1532  * https://bugs.webkit.org/show_bug.cgi?id=40884
     33  * https://bugs.webkit.org/show_bug.cgi?id=56740
    1634  * This is important optimization for render-to-image and printing use cases.
    1735 * Create autotest suite Source/WebKit/qt/tests
     
    2038  * https://bugs.webkit.org/show_bug.cgi?id=54138
    2139
    22 '''Autotests for WebGL'''
    23 
    24 At least these tests cases are needed:
    25  * Render to QImage
    26  * Printing page with WebGL content
    27 
    28 '''Some real-world test cases'''
    29 
    30 Here are some pages that might be useful for testing:
    31  * http://helloracer.com/webgl/
    32 
    3340
    3441