gecko-dev/gfx/tests
Andrew Osmond cb82d29e76 Bug 1680512 - Prefer EGL for glxtest detection and fallback to GLX if unavailable. r=rmader
As we make the transition to using EGL over GLX, we will need our
detection code to be sufficient without EGL to determine the device in
use. This patch makes us always use the EGL testing code over the GLX
testing code, regardless of the pref/envvar setting.

At the very least, we need to know the vendor ID of the device in use.
We can determine this if there is only one GPU on the PCI list, if we
get a driver name from Mesa, or if it is a proprietary driver (i.e.
NVIDIA) which includes its name in the vendor ID. If we know the vendor
ID, we can usually derive the device ID from the PCI list.

We now also track which path glxtest took. If we successfully did the
test via EGL, then we will allow the pref/envvar to use EGL instead of
GLX. If the test reverted to GLX, then it will use GLX regardless of the
pref/envvar. This is necessary because we need to know if the libraries
are available or not -- some systems may be missing one or the other.

Differential Revision: https://phabricator.services.mozilla.com/D102933
2021-01-25 19:41:04 +00:00
..
browser Bug 1625590 Part 4: Add a test of native font cache behavior on macOS. r=jrmuizel 2020-11-19 16:59:31 +00:00
chrome Bug 1651774: Update mozilla/use-services rule for native Services implementation. r=Standard8 2020-11-06 18:58:33 +00:00
crashtests Bug 1685009. Update the visual offset too when doing a paint skip transaction to keep it in sync with layout offset. r=botond 2021-01-10 01:52:24 +00:00
gtest Bug 1680512 - Prefer EGL for glxtest detection and fallback to GLX if unavailable. r=rmader 2021-01-25 19:41:04 +00:00
mochitest Bug 1651774: Update mozilla/use-services rule for native Services implementation. r=Standard8 2020-11-06 18:58:33 +00:00
reftest Bug 1681610: Use thicker borders when faking rounded rectangles. r=gw 2021-01-09 19:55:03 +00:00
moz.build Bug 1676925 - Remove code supporting the defunct WebRender experiments. r=jrmuizel,marionette-reviewers 2020-11-13 05:40:10 +00:00