forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1776563 - Remove nsDMABufDevice::IsDMABufEnabled(), r=stransky
We do not need a GBM device any more in child processes and in several cases we're also not allowed to open it any more by the sandbox. For remaining cases were we do need it in the parent process (the fallback path in `SharedSurface_DMABUF::Create`, used for WebGL and the experimental `widget.dmabuf-textures.enabled` feature, as well as in `WaylandBufferDMABUF::Create` used by `gfx.webrender.compositor`), we already call `Configure()` in `gfxPlatformGtk::InitDmabufConfig()` and set `gfx::gfxVars::UseDMABuf` accordingly, making `nsDMABufDevice::IsDMABufWebGLEnabled()` still return the correct value. Differential Revision: https://phabricator.services.mozilla.com/D150324
- Loading branch information
Showing
2 changed files
with
6 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters