Changeset View
Changeset View
Standalone View
Standalone View
linux_dmabuf.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | |||||
55 | 55 | | |||
56 | class KWIN_EXPORT LinuxDmabuf : public KWayland::Server::LinuxDmabufUnstableV1Interface::Impl | 56 | class KWIN_EXPORT LinuxDmabuf : public KWayland::Server::LinuxDmabufUnstableV1Interface::Impl | ||
57 | { | 57 | { | ||
58 | public: | 58 | public: | ||
59 | using Plane = KWayland::Server::LinuxDmabufUnstableV1Interface::Plane; | 59 | using Plane = KWayland::Server::LinuxDmabufUnstableV1Interface::Plane; | ||
60 | using Flags = KWayland::Server::LinuxDmabufUnstableV1Interface::Flags; | 60 | using Flags = KWayland::Server::LinuxDmabufUnstableV1Interface::Flags; | ||
61 | 61 | | |||
62 | explicit LinuxDmabuf(); | 62 | explicit LinuxDmabuf(); | ||
63 | ~LinuxDmabuf(); | 63 | ~LinuxDmabuf() override; | ||
64 | 64 | | |||
65 | KWayland::Server::LinuxDmabufUnstableV1Buffer *importBuffer(const QVector<Plane> &planes, | 65 | KWayland::Server::LinuxDmabufUnstableV1Buffer *importBuffer(const QVector<Plane> &planes, | ||
66 | uint32_t format, | 66 | uint32_t format, | ||
67 | const QSize &size, | 67 | const QSize &size, | ||
68 | Flags flags) override; | 68 | Flags flags) override; | ||
69 | 69 | | |||
70 | protected: | 70 | protected: | ||
71 | void setSupportedFormatsAndModifiers(QHash<uint32_t, QSet<uint64_t> > &set); | 71 | void setSupportedFormatsAndModifiers(QHash<uint32_t, QSet<uint64_t> > &set); | ||
72 | }; | 72 | }; | ||
73 | 73 | | |||
74 | } | 74 | } |