• Roman Gilg's avatar
    [server] Fix remote access buffer handling when output not bound · 1faa629d
    Roman Gilg authored
    Summary:
    If a client has not bound a certain output do not directly return
    but try to deliver the buffer to other clients.
    
    If none of them has requested it, send bufferReleased signal
    immediately to let compositor know that the buffer should
    be cleaned up.
    
    Test Plan: Manually. Autotest planned.
    
    Reviewers: #kwin, #frameworks, davidedmundson
    
    Reviewed By: #kwin, davidedmundson
    
    Subscribers: jgrulich, davidedmundson, kde-frameworks-devel
    
    Tags: #frameworks
    
    Differential Revision: https://phabricator.kde.org/D15422
    1faa629d
test_remote_access.cpp 15.5 KB