зеркало из https://github.com/mozilla/gecko-dev.git
f922ff35ad
`vaapitest()` is meant to be a sanity check. If it failed there's likely something very broken about the driver and we log gfx warnings accordingly, allowing to debug the problem. Ensure to force-disable VAAPI in this case but still allow users to enable the feature in blocklisted cases. While on it add some additional fixes for issues encoutered while testing: - `InitVAAPIConfig()` was not run on X11-only builds, wrongly setting `sLayersSupportsHardwareVideoDecoding` to `true` there on allowlisted drivers. Thus replace `MOZ_WAYLAND` with `MOZ_WIDGET_GTK`, ensuring the "Wayland support missing" warning is shown in `about:support`. - `UserForceEnable` must be run before `ForceDisable`, otherwise an assert is triggered on debug builds. Reorder this. - `GetFeatureStatus` was run twice for `FEATURE_HARDWARE_VIDEO_DECODING`, once in `InitAcceleration()` in the common code path, the again in `InitVAAPIConfig()`. Untangle the common code path to only run `InitVAAPIConfig()`. - Use the chance to turn `media.hardware-video-decoding.enabled` into a static pref so it matches `media.hardware-video-decoding.force-enabled` Differential Revision: https://phabricator.services.mozilla.com/D150959 |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libjar | ||
libmar | ||
libpref | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |