[server] Do not own dmabuf implementation
Summary: The dmabuf implementation should be managed by the compositor and not by the interface which might go away through signals while the implementation goes away in the compositor simultaneously. Test Plan: Compiles. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D25576
This commit is contained in:
parent
443721b555
commit
663d780e71
2 changed files with 3 additions and 4 deletions
|
@ -428,10 +428,7 @@ V1Iface::Private::Private(V1Iface *q, Display *display)
|
|||
{
|
||||
}
|
||||
|
||||
V1Iface::Private::~Private()
|
||||
{
|
||||
delete impl;
|
||||
}
|
||||
V1Iface::Private::~Private() = default;
|
||||
|
||||
void V1Iface::Private::bind(wl_client *client, uint32_t version, uint32_t id)
|
||||
{
|
||||
|
|
|
@ -146,6 +146,8 @@ public:
|
|||
|
||||
/**
|
||||
* Sets the compositor implementation for the dmabuf interface.
|
||||
*
|
||||
* The ownership is not transferred by this call.
|
||||
*/
|
||||
void setImpl(Impl *impl);
|
||||
|
||||
|
|
Loading…
Reference in a new issue