Alexander Lohnau
0d8cc44ec2
Simplify plugin declaration using K_PLUGIN_CLASS_WITH_JSON
...
This way we do not need to take care of setting the factory name and typing out the registration manually
2022-04-23 19:18:18 +00:00
l10n daemon script
d45679bdbd
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-04-19 01:44:50 +00:00
Jan Grulich
96eb21da35
PipeWire fb: process cursor metadata even for empty buffer
...
It is possible to have zero data in the buffer, but have the
buffer to carry metadata about the mouse cursor. In that case
we should try to process the cursor metadata before we discard
the buffer for not having any data.
2022-01-05 11:39:29 +01:00
Aleix Pol
1d23966d79
pipewire: Support SPA_META_VideoDamage
...
Inform about the regions that changed so everything doesn't need to be
sent on every frame.
2021-11-03 14:28:54 +00:00
Aleix Pol
61d464676c
pipewire: Support cursors
2021-11-03 14:28:54 +00:00
Aleix Pol
4707bde236
Introduce krfb-virtualmonitor
...
It implements a KWin protocol that is oriented towards serving a virtual
display specifically.
It requests KWin a stream that will act as a monitor that we can feed
into remote clients.
2021-10-29 14:05:34 +00:00
Aleix Pol
608762c7ac
Allow passing plugin backends some arguments
...
WId is irrelevant on Wayland and it doesn't fully describe everything we
might be doing, we can pass a variant map to make sure all necessary
information is provided.
2021-10-29 14:05:34 +00:00
Aleix Pol
b4eccc2134
pipewire: Use C99
...
Reduces the amount of warnings we get
2021-10-14 13:41:16 +00:00
l10n daemon script
97cbf48059
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-10-12 01:17:15 +00:00
l10n daemon script
c8207581f4
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-10-11 01:18:41 +00:00
Laurent Montel
a9241dfe88
We can use std::as_const
2021-08-31 08:46:39 +02:00
Laurent Montel
c729e9e048
Modernize code
2021-07-09 08:53:14 +02:00
Laurent Montel
dc64af6f5e
Remove code for old qt version
2021-07-09 08:53:14 +02:00
Aleix Pol
b8f972d59e
Fix crash when the destination stride != source stride
...
When we allocate the locally mapped texture size, use the announced
stride (aka bytes per line) instead of the texture width. Otherwise we
might overflow and crash eventually.
BUG: 438815
2021-06-17 21:03:56 +02:00
Ömer Fadıl Usta
3a1a5ad7a2
Add missing check for HAVE_DMA_BUF
2021-06-03 09:15:48 +00:00
Ömer Fadıl Usta
8e667abe69
Fix typo on epoxy variablename revert ifdef back to if
2021-06-03 09:05:48 +00:00
Ömer Fadıl Usta
2e82546012
Fix cmakedefine parts and increase cmake version
2021-06-03 07:30:29 +00:00
Jan Grulich
acc70e4cee
PipeWire support improvements
2021-06-02 12:25:00 +00:00
Alexander Lohnau
4d84d14070
Clean up ServiceType property usage for JSON based plugins
...
Task: https://phabricator.kde.org/T14483
2021-05-22 14:17:40 +00:00
Alexander Lohnau
218f0e20f6
Use separate install dir for different plugins
...
The service types are deprecated and not needed anymore when using the
JSON metadata. Instead install the different plugin types into dedicated
dirs, this way there is not additional filtering needed.
2021-05-22 14:17:40 +00:00
Jan Grulich
4f2861415a
Revert "Improve PipeWire code"
...
This reverts commit eb1dc503bd
.
Revert "Add dma-buf defines to build dma-buf support everywhere"
This reverts commit 8f0de62401
.
Revert "Drop support for PipeWire 0.2"
This reverts commit 028ac099ea
.
These were accidentally pushed without review. They were meant
to be pushed to my fork instead.
2021-05-21 14:12:23 +02:00
Jan Grulich
eb1dc503bd
Improve PipeWire code
...
- add support for VideoCrop metadata
- add support for memptr buffer type
2021-05-21 14:09:10 +02:00
Jan Grulich
8f0de62401
Add dma-buf defines to build dma-buf support everywhere
2021-05-21 09:31:51 +02:00
Jan Grulich
028ac099ea
Drop support for PipeWire 0.2
2021-05-21 09:22:45 +02:00
Albert Astals Cid
e1fdba3014
Merge remote-tracking branch 'origin/release/20.12'
2021-03-13 00:56:36 +01:00
Laurent Montel
326d58a439
GIT_SILENT: don't use deprecated cmake variable
2021-02-08 07:05:59 +01:00
Aleix Pol
f041cdf095
pipewire: Support BGRA
...
It's not supported by QImage, so we need to do it ourselves by swapping
the B and the R.
2021-01-22 00:58:34 +00:00
l10n daemon script
14aa98ccca
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-11-12 06:23:56 +01:00
l10n daemon script
4e0aa9c78b
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-11-11 10:36:42 +01:00
Tobias Junghans
de7050d8b7
pipewire: fix version check
2020-10-23 14:59:08 +02:00
Tobias Junghans
3a83ce6279
Use C++11 loops
2020-10-23 10:55:37 +02:00
Tobias Junghans
a109e3d6c9
Use auto keyword where possible
2020-10-23 10:54:59 +02:00
Tobias Junghans
4993e65d59
Include C headers in C++ style
2020-10-23 10:52:23 +02:00
Tobias Junghans
d91bbdcb05
Use QStringLiteral to avoid runtime allocations
2020-10-23 10:51:02 +02:00
Tobias Junghans
1d429a9bc6
Add missing member variable initializations
2020-10-23 10:49:57 +02:00
Tobias Junghans
2b9cb5c58c
pipewire: remove QX11Info include
...
The plugin neither uses QX11Info nor links against Qt5::X11Extras.
2020-10-22 08:48:17 +00:00
Ömer Fadıl Usta
7ba81f52df
Remove doubled parts and fix compile for systems without pipewire
...
SPA_DATA_DmaBuf checking was written twice which needs on pipewire
2020-09-19 11:02:41 +03:00
Aleix Pol
b9efda5956
Merge branch 'release/20.08' into master
2020-09-19 00:31:35 +02:00
Aleix Pol
f83d5102b6
Merge branch 'release/20.08' into master
2020-09-18 22:03:29 +02:00
Aleix Pol
8afd5c8df2
pipewire: Only aspire to use dmabuf if linux/dma-buf.h is present
2020-09-18 18:16:42 +02:00
Ömer Fadıl Usta
ef6b3a6093
Fixes for builds without pipewire3
...
Because of some parts still available without PW_CHECK_VERSION check
the systems without pipewire3 couldnt able to compile code.
2020-09-18 16:58:08 +02:00
Aleix Pol
c5d6abab58
Port pipewire to use QLoggingCategory
2020-09-16 00:38:03 +02:00
Aleix Pol
c5e157fa82
Support DMABuf streams
2020-09-15 16:15:41 +02:00
Aleix Pol
3e00ff22f9
Support DMABuf streams
2020-09-15 16:14:06 +02:00
Stefan Brüns
024ce87b3a
Compensate for global scale factor when using xcb fb plugin
...
The screen geometry is reported in device independent pixels, so it has
to be multiplied by the devicePixelRatio to get the size of the underlying
framebuffer. Otherwise, only the top left of the screen will be captured.
This matches the behavior of QScreen::grabWindow(...), which also
returns a QPixmap of the given size scaled by devicePixelRatio.
BUG: 419814
2020-09-15 03:03:47 +03:00
Stefan Brüns
933169b4c0
Compensate for global scale factor when using xcb fb plugin
...
The screen geometry is reported in device independent pixels, so it has
to be multiplied by the devicePixelRatio to get the size of the underlying
framebuffer. Otherwise, only the top left of the screen will be captured.
This matches the behavior of QScreen::grabWindow(...), which also
returns a QPixmap of the given size scaled by devicePixelRatio.
BUG: 419814
2020-08-28 04:08:15 +02:00
Stefan Brüns
76c2f08c9e
Declare and use logging categories
...
Adds the following logging categories:
- krfb.krfb (KRFB application)
- krfb.framebuffer.qt (Qt Framebuffer plugin)
- krfb.framebuffer.xcb (XCB Framebuffer plugin)
2020-08-13 20:17:39 +02:00
l10n daemon script
0cdc848844
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-07-26 09:02:55 +02:00
l10n daemon script
c73c58b55d
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-07-26 05:44:08 +02:00
l10n daemon script
b948d90c84
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-07-25 08:50:58 +02:00