https://bugs.kde.org/show_bug.cgi?id=510967

--- Comment #20 from Błażej Szczygieł <[email protected]> ---
(In reply to Zamundaaa from comment #19)
> (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.

Ok, but where we can see the background if Firefox covers entire screen (both
"scanoutCandidates" has the same size)?

For me HW overlay is working for Firefox (Compositing text is covered), but
making it fullscreen the Compositing text is visible because of this, hmm.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to