Platform/GFX/Quantum Render: Difference between revisions

Jump to navigation Jump to search
→‎Locally: Update for changes in bug 1558598
(→‎Locally: Update for changes in bug 1558598)
Line 99: Line 99:
=== Locally ===
=== Locally ===


If you want to run QR tests locally, you can use <tt>mach</tt> to run them as you would for Gecko normally. Just be sure to set <tt>MOZ_WEBRENDER=1</tt> when running to enable WebRender. On Linux, you should also set <tt>MOZ_ACCELERATED=1</tt> to enable hardware acceleration, without which WebRender will be disabled at runtime. For example, to run the sanity reftests which is a good smoketest that you didn't horribly break everything, you can do this:
If you want to run QR tests locally, you can use <tt>mach</tt> to run them as you would for Gecko normally. Just be sure to pass <tt>--enable-webrender</tt> to the <tt>mach</tt> command when running to enable WebRender. For example, to run the sanity reftests which is a good smoketest that you didn't horribly break everything, you can do this:


   MOZ_ACCELERATED=1 MOZ_WEBRENDER=1 ./mach reftest layout/reftests/reftest-sanity/
   ./mach reftest --enable-webrender layout/reftests/reftest-sanity/


You can also run the WR standalone tests (without the Gecko stuff) locally. The page at https://developer.mozilla.org/en-US/docs/Mozilla/QA/WebRender describes how to do this.
You can also run the WR standalone tests (without the Gecko stuff) locally. The page at https://developer.mozilla.org/en-US/docs/Mozilla/QA/WebRender describes how to do this.
Confirmed users
586

edits

Navigation menu