Review Request 125015: Blur protocol in KWayland
Martin Gräßlin
mgraesslin at kde.org
Tue Sep 1 12:44:02 UTC 2015
> On Sept. 1, 2015, 2:35 p.m., Thomas Lübking wrote:
> > src/client/blur.h, line 51
> > <https://git.reviewboard.kde.org/r/125015/diff/1/?file=399883#file399883line51>
> >
> > a) Why are those classes QObject? Only for parent/child maintainance?
> >
> > b) Does it make sense to stash the WaylandPointer or would client code perhaps benefit from access to an inherited WaylandPointer?
> >
> > c) What's the point of the extra setup function (which is supposed to be called only once? but allow for invalid objects and lead to "please use a creator function" comments) - stack members??
a) Not only. On client side all objects are QObject to ensure that we can emit signals in future (in case the wayland interface emits events it needs a signal)
b) I don't get the question.
c) yes questionable. The idea is to have an interface which allows to integrate with low level Wayland calls. An example could be wl_compositor which can be retrieved through the Qt QPA. If one would want to create a Surface with that one, one would need the low level calls. It might not make sense on all wrappers, but for API consistency I decided to add it to all interfaces.
- Martin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125015/#review84701
-----------------------------------------------------------
On Sept. 1, 2015, 2 p.m., Marco Martin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125015/
> -----------------------------------------------------------
>
> (Updated Sept. 1, 2015, 2 p.m.)
>
>
> Review request for kwin and Plasma.
>
>
> Repository: kwayland
>
>
> Description
> -------
>
> a protocol to activate the blur behind windows and to optionally set a sub region of the window where to apply the blur to, in case the window is shaped
>
>
> Diffs
> -----
>
> autotests/client/CMakeLists.txt c2c1df2
> autotests/client/test_wayland_blur.cpp PRE-CREATION
> src/client/CMakeLists.txt 7d0d38a
> src/client/blur.h PRE-CREATION
> src/client/blur.cpp PRE-CREATION
> src/client/protocols/blur.xml PRE-CREATION
> src/client/registry.h 3e9d1f4
> src/client/registry.cpp 0c1c213
> src/client/surface.h fe744bc
> src/client/surface.cpp 98a3cec
> src/server/CMakeLists.txt 1cf09d3
> src/server/blur_interface.h PRE-CREATION
> src/server/blur_interface.cpp PRE-CREATION
> src/server/display.h 4c0e0c7
> src/server/display.cpp 884d7ea
> src/server/surface_interface.h 4935ff6
> src/server/surface_interface.cpp be885bd
> src/server/surface_interface_p.h 062c7e7
>
> Diff: https://git.reviewboard.kde.org/r/125015/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Marco Martin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150901/5a5524ec/attachment-0001.html>
More information about the Plasma-devel
mailing list