Changes between Version 13 and Version 14 of QtWebKitWebGL
- Timestamp:
- Mar 21, 2011, 8:06:21 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QtWebKitWebGL
v13 v14 10 10 For QtTestBrowser, use command-line options {{{-graphicsbased -gl-viewport -webgl}}} to enable WebGL. 11 11 12 '''LayoutTests for WebGL''' 13 14 Layout 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 19 The correct command-line for running layout tests is 20 {{{ 21 QT_DRT_WEBVIEW_MODE=graphics WebKitTools/Scripts/run-webkit-tests --qt 22 }}} 23 24 '''Some real-world test cases''' 25 26 Here are some pages that might be useful for testing: 27 * http://helloracer.com/webgl/ 28 12 29 '''Things left to do''' 13 30 14 31 * [Qt] When we render WebGL offscreen, color conversion cost a lot of CPU cycles 15 32 * https://bugs.webkit.org/show_bug.cgi?id=40884 33 * https://bugs.webkit.org/show_bug.cgi?id=56740 16 34 * This is important optimization for render-to-image and printing use cases. 17 35 * Create autotest suite Source/WebKit/qt/tests … … 20 38 * https://bugs.webkit.org/show_bug.cgi?id=54138 21 39 22 '''Autotests for WebGL'''23 24 At least these tests cases are needed:25 * Render to QImage26 * Printing page with WebGL content27 28 '''Some real-world test cases'''29 30 Here are some pages that might be useful for testing:31 * http://helloracer.com/webgl/32 33 40 34 41