Summary: | Duplicate buffer copy | ||
---|---|---|---|
Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | kkartaltepe |
Component: | general | Assignee: | Jan Grulich <jgrulich> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jgrulich |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/xdg-desktop-portal-kde/45092f756316a6b6718a2da5d319355d94abca45 | Version Fixed In: |
Description
kkartaltepe
2020-03-25 02:51:41 UTC
Thanks for the report. I pushed a change for review to address this: https://phabricator.kde.org/D28272 Git commit f6e559702cf5496a4d029cb3424e1c41a41b9836 by Jan Grulich. Committed on 25/03/2020 at 13:56. Pushed by grulich into branch 'master'. Avoid copying buffer twice Summary: Previously we copied frames first to a temporary QImage and then to PipeWire buffer. This shouldn't be necessary as we can copy frames directly to PipeWire buffers which should be much more effecient. Reviewers: #plasma, zzag Reviewed By: #plasma, zzag Subscribers: meven, zzag, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D28272 M +55 -4 src/screencaststream.cpp M +3 -1 src/screencaststream.h M +14 -50 src/waylandintegration.cpp M +13 -1 src/waylandintegration.h M +3 -10 src/waylandintegration_p.h https://commits.kde.org/xdg-desktop-portal-kde/f6e559702cf5496a4d029cb3424e1c41a41b9836 Git commit 45092f756316a6b6718a2da5d319355d94abca45 by Jan Grulich. Committed on 25/03/2020 at 14:22. Pushed by grulich into branch 'Plasma/5.18'. Avoid copying buffer twice Summary: Previously we copied frames first to a temporary QImage and then to PipeWire buffer. This shouldn't be necessary as we can copy frames directly to PipeWire buffers which should be much more effecient. Reviewers: #plasma, zzag Reviewed By: #plasma, zzag Subscribers: meven, zzag, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D28272 M +55 -4 src/screencaststream.cpp M +3 -1 src/screencaststream.h M +14 -50 src/waylandintegration.cpp M +13 -1 src/waylandintegration.h M +3 -10 src/waylandintegration_p.h https://commits.kde.org/xdg-desktop-portal-kde/45092f756316a6b6718a2da5d319355d94abca45 Thanks I appreciate it. |