Changeset View
Changeset View
Standalone View
Standalone View
platformsupport/scenes/opengl/egl_dmabuf.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | |||||
72 | { | 72 | { | ||
73 | public: | 73 | public: | ||
74 | using Plane = KWayland::Server::LinuxDmabufUnstableV1Interface::Plane; | 74 | using Plane = KWayland::Server::LinuxDmabufUnstableV1Interface::Plane; | ||
75 | using Flags = KWayland::Server::LinuxDmabufUnstableV1Interface::Flags; | 75 | using Flags = KWayland::Server::LinuxDmabufUnstableV1Interface::Flags; | ||
76 | 76 | | |||
77 | static EglDmabuf* factory(AbstractEglBackend *backend); | 77 | static EglDmabuf* factory(AbstractEglBackend *backend); | ||
78 | 78 | | |||
79 | explicit EglDmabuf(AbstractEglBackend *backend); | 79 | explicit EglDmabuf(AbstractEglBackend *backend); | ||
80 | ~EglDmabuf(); | 80 | ~EglDmabuf() override; | ||
81 | 81 | | |||
82 | KWayland::Server::LinuxDmabufUnstableV1Buffer *importBuffer(const QVector<Plane> &planes, | 82 | KWayland::Server::LinuxDmabufUnstableV1Buffer *importBuffer(const QVector<Plane> &planes, | ||
83 | uint32_t format, | 83 | uint32_t format, | ||
84 | const QSize &size, | 84 | const QSize &size, | ||
85 | Flags flags) override; | 85 | Flags flags) override; | ||
86 | 86 | | |||
87 | private: | 87 | private: | ||
88 | EGLImage createImage(const QVector<Plane> &planes, | 88 | EGLImage createImage(const QVector<Plane> &planes, | ||
Show All 16 Lines |