Skip to content
  • Jan Grulich's avatar
    Screensharing: support variable stride · d1f0ec4d
    Jan Grulich authored
    Summary: We were ignoring stride higher than stride calculated as width * bpp, which I assumed will always be the case, but it turns out that some drivers might use bigger stride, which might be width * bpp + some additional padding.
    
    Test Plan: All current clients still work and also we now support bigger stride we get from gbm_bo.
    
    Reviewers: #plasma, cblack
    
    Reviewed By: #plasma, cblack
    
    Subscribers: plasma-devel
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D28875
    d1f0ec4d