author | Martin Stransky <stransky@redhat.com> |
Fri, 03 Jul 2020 12:23:43 +0000 (2020-07-03) | |
changeset 538720 | 3f4a0bc01840d70cf0241d410f135e80875b375a |
parent 538719 | 4f044c37af6f57e15d364baf95c8a582c1d4b281 |
child 538721 | c724516c73d2e34c1d48db77b8996196b2e8c4b4 |
push id | 37567 |
push user | dluca@mozilla.com |
push date | Fri, 03 Jul 2020 21:50:22 +0000 (2020-07-03) |
treeherder | mozilla-central@efa2336315ed [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jhorak |
bugs | 1619523 |
milestone | 80.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/gfx/thebes/gfxPlatformGtk.cpp +++ b/gfx/thebes/gfxPlatformGtk.cpp @@ -722,18 +722,17 @@ already_AddRefed<gfx::VsyncSource> gfxPl #endif #ifdef MOZ_WAYLAND bool gfxPlatformGtk::UseDMABufTextures() { return IsWaylandDisplay() && GetDMABufDevice()->IsDMABufTexturesEnabled(); } bool gfxPlatformGtk::UseDMABufVideoTextures() { - return IsWaylandDisplay() && - (GetDMABufDevice()->IsDMABufVideoTexturesEnabled() || + return (GetDMABufDevice()->IsDMABufVideoTexturesEnabled() || StaticPrefs::media_ffmpeg_vaapi_enabled()); } bool gfxPlatformGtk::UseHardwareVideoDecoding() { return gfxPlatform::CanUseHardwareVideoDecoding() && StaticPrefs::media_ffmpeg_vaapi_enabled(); } bool gfxPlatformGtk::UseDRMVAAPIDisplay() { return IsX11Display() || GetDMABufDevice()->IsDRMVAAPIDisplayEnabled();