From b14b44feb939573599e29e62f6274b67e5bc6e51 Mon Sep 17 00:00:00 2001 From: Youngjin Kim Date: Thu, 5 Mar 2020 10:49:57 +0900 Subject: 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 --- .../compositor/wayland-egl/waylandeglclientbufferintegration.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h') 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; -- cgit v1.2.3