Diffusion KWin 4b531830b451

Implement remote framebuffer for GBM backend

Authored by Kanedias on Apr 30 2016, 11:01 PM.

Description

Implement remote framebuffer for GBM backend

This commit introduces a way to pass drawn buffers to remote side for
GBM backend. The buffers are not released till the notification comes
from the remote side they are no longer needed. It is possible to
achieve since the default Mesa GBM implementation gives 4 surfaces to
any created gbm_surface.

This feature is turned off by default, the environment variable
KWIN_REMOTE=1 enables this behaviour. The fds of GBM buffers are
passed by the means of wayland server and custom protocol.

Reviewers: graesslin, davidedmundson, romangg, KWin

Reviewed By: davidedmundson

Subscribers: jgrulich, romangg, ngraham, alexeymin, aacid, kwin, KWin, davidedmundson, plasma-devel

Tags: Plasma on Wayland, KWin

Maniphest Tasks: T5653, T7785

Differential Revision: https://phabricator.kde.org/D1230

Details

Committed
KanediasMar 13 2018, 8:39 PM
Reviewer
davidedmundson
Differential Revision
D1230: GBM remote access support for KWin
Parents
R108:90762ade86e2: Merge branch 'Plasma/5.12'
Branches
Unknown
Tags
Unknown
References
refs/backups/branch-gbm-vnc-1520973705