kwin/screencast
Aleix Pol a3f5d43100 screencating: query for dmabuf availability before we start streaming
As things are right now, we can only do 32bit textures for dmabuf (see
gbm_bo_format in gbm.h). This means that we were lying to our receivers
when we had 24bit textures by then giving a 32bit texture instead.

This changes it so we request a dummy texture before starting and if we
are offered one we assume they're available and offer a 32bits stream
directly (i.e. BGRA).


(cherry picked from commit cea2781318)
2020-11-27 15:57:39 +00:00
..
pipewirecore.cpp screencast: Handle the case where pipewire is not installed 2020-10-26 11:44:04 +00:00
pipewirecore.h Prettify license headers 2020-08-07 19:57:56 +00:00
pipewirestream.cpp screencating: query for dmabuf availability before we start streaming 2020-11-27 15:57:39 +00:00
pipewirestream.h Adjust screencast service to recent kwayland-server changes 2020-09-09 16:03:41 +00:00
screencastmanager.cpp screencast: Replace EGLFence with a glFinish() 2020-09-29 13:58:09 +00:00
screencastmanager.h Adjust screencast service to recent kwayland-server changes 2020-09-09 16:03:41 +00:00