Changeset View
Changeset View
Standalone View
Standalone View
platformsupport/scenes/opengl/abstract_egl_backend.h
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Line(s) | 98 | protected: | |||
---|---|---|---|---|---|
106 | SceneOpenGLTexture *texture() const { | 106 | SceneOpenGLTexture *texture() const { | ||
107 | return q; | 107 | return q; | ||
108 | } | 108 | } | ||
109 | 109 | | |||
110 | private: | 110 | private: | ||
111 | bool loadShmTexture(const QPointer<KWayland::Server::BufferInterface> &buffer); | 111 | bool loadShmTexture(const QPointer<KWayland::Server::BufferInterface> &buffer); | ||
112 | bool loadEglTexture(const QPointer<KWayland::Server::BufferInterface> &buffer); | 112 | bool loadEglTexture(const QPointer<KWayland::Server::BufferInterface> &buffer); | ||
113 | bool loadDmabufTexture(const QPointer< KWayland::Server::BufferInterface > &buffer); | 113 | bool loadDmabufTexture(const QPointer< KWayland::Server::BufferInterface > &buffer); | ||
114 | bool loadInternalImageObject(WindowPixmap *pixmap); | ||||
114 | EGLImageKHR attach(const QPointer<KWayland::Server::BufferInterface> &buffer); | 115 | EGLImageKHR attach(const QPointer<KWayland::Server::BufferInterface> &buffer); | ||
115 | bool updateFromFBO(const QSharedPointer<QOpenGLFramebufferObject> &fbo); | 116 | bool updateFromFBO(const QSharedPointer<QOpenGLFramebufferObject> &fbo); | ||
117 | bool updateFromInternalImageObject(WindowPixmap *pixmap); | ||||
116 | SceneOpenGLTexture *q; | 118 | SceneOpenGLTexture *q; | ||
117 | AbstractEglBackend *m_backend; | 119 | AbstractEglBackend *m_backend; | ||
118 | EGLImageKHR m_image; | 120 | EGLImageKHR m_image; | ||
119 | }; | 121 | }; | ||
120 | 122 | | |||
121 | } | 123 | } | ||
122 | 124 | | |||
123 | #endif | 125 | #endif |