Changeset View
Changeset View
Standalone View
Standalone View
plugins/scenes/opengl/scene_opengl.h
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
77 | SceneOpenGLTexture *createTexture(); | 77 | SceneOpenGLTexture *createTexture(); | ||
78 | 78 | | |||
79 | OpenGLBackend *backend() const { | 79 | OpenGLBackend *backend() const { | ||
80 | return m_backend; | 80 | return m_backend; | ||
81 | } | 81 | } | ||
82 | 82 | | |||
83 | QVector<QByteArray> openGLPlatformInterfaceExtensions() const override; | 83 | QVector<QByteArray> openGLPlatformInterfaceExtensions() const override; | ||
84 | 84 | | |||
85 | QVector<uint32_t> supportedDrmFormats() override final; | ||||
86 | QVector<uint64_t> supportedDrmModifiers(uint32_t format) override final; | ||||
87 | KWayland::Server::LinuxDmabuf::Buffer *importDmabufBuffer(const QVector<KWayland::Server::LinuxDmabuf::Plane> &planes, | ||||
88 | uint32_t format, | ||||
89 | const QSize &size, | ||||
90 | KWayland::Server::LinuxDmabuf::Flags flags = 0) override final; | ||||
91 | | ||||
85 | static SceneOpenGL *createScene(QObject *parent); | 92 | static SceneOpenGL *createScene(QObject *parent); | ||
86 | 93 | | |||
87 | protected: | 94 | protected: | ||
88 | SceneOpenGL(OpenGLBackend *backend, QObject *parent = nullptr); | 95 | SceneOpenGL(OpenGLBackend *backend, QObject *parent = nullptr); | ||
89 | virtual void paintBackground(QRegion region); | 96 | virtual void paintBackground(QRegion region); | ||
90 | virtual void extendPaintRegion(QRegion ®ion, bool opaqueFullscreen); | 97 | virtual void extendPaintRegion(QRegion ®ion, bool opaqueFullscreen); | ||
91 | QMatrix4x4 transformation(int mask, const ScreenPaintData &data) const; | 98 | QMatrix4x4 transformation(int mask, const ScreenPaintData &data) const; | ||
92 | virtual void paintDesktop(int desktop, int mask, const QRegion ®ion, ScreenPaintData &data); | 99 | virtual void paintDesktop(int desktop, int mask, const QRegion ®ion, ScreenPaintData &data); | ||
▲ Show 20 Lines • Show All 265 Lines • Show Last 20 Lines |