https://bugs.kde.org/show_bug.cgi?id=510967
--- Comment #19 from Zamundaaa <[email protected]> --- (In reply to Błażej Szczygieł from comment #17) > Firefox fails, because of `checkForBlackBackground()` function, the > condition: `background->buffer()->size() != QSize(1, 1)` fails, because in > my case it's `3840x2160`. When I remove this check, it's working fine. I > don't know the idea of this function - @Zamundaaa could you look at this? It's there to efficiently check whether or not the background is completely black. Obviously, checking 8294400 pixels each frame would be much worse than compositing. This check works for mpv, which efficiently uses a single pixel buffer for the background. FWIW Firefox on my system does get direct scanout in YouTube videos nowadays, while I hit the same issue in the past. There may be differences depending on the config and version. -- You are receiving this mail because: You are watching all bug changes.
