summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h
diff options
context:
space:
mode:
authorYoungjin Kim <youngjin78.kim@lge.com>2020-03-05 10:49:57 +0900
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2021-03-15 07:59:35 +0000
commitb14b44feb939573599e29e62f6274b67e5bc6e51 (patch)
tree6a278d84a7c48d4ea176383919678fdb5bb3e60b /src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h
parenta50b7eb6b2b30de2f89dbdf68a378d3a853cfd7a (diff)
Support EGL protected content
If a buffer has a protected content like DRM decoded video, the EGL Protected content extension allows GPU to operate on the buffer. With that, wayland-egl can get EGL image and texture from protected content. Change-Id: Ia687fc4ebc348cb03450e06713040acaa34b1cab Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h')
-rw-r--r--src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h b/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h
index bbc0eafef..7bd13466e 100644
--- a/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h
+++ b/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h
@@ -68,6 +68,7 @@ public:
void unlockNativeBuffer(quintptr native_buffer) const override;
QOpenGLTexture *toOpenGlTexture(int plane) override;
void setCommitted(QRegion &damage) override;
+ bool isProtected() override;
private:
friend class WaylandEglClientBufferIntegration;