diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-01-29 15:32:55 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2018-02-05 13:12:01 +0000 |
commit | 3058e21af0f36d78e5515cef0fe88969310fa912 (patch) | |
tree | 9c73cda7d109b2bdd1cf2884ef4de60a2fbed203 /src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/qlinuxmediadevice.h | |
parent | 38c6d10bc83dedf9283b7a89d076ea2980de7843 (diff) |
eglfs_kms_vsp2: Add support for setting layer alpha
Exposed through QEglFSFunctions::vsp2SetLayerAlpha.
Change-Id: I2a600971d5a2aa56d4bf7cde03df3323f17249cd
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/qlinuxmediadevice.h')
-rw-r--r-- | src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/qlinuxmediadevice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/qlinuxmediadevice.h b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/qlinuxmediadevice.h index 848099eb46..26f863214b 100644 --- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/qlinuxmediadevice.h +++ b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_vsp2/qlinuxmediadevice.h @@ -95,7 +95,10 @@ public: int m_subdevFd = -1; }; + static int openVideoDevice(media_pad *pad); + static bool setSubdevFormat(struct media_pad *pad, const QSize &size, uint32_t mbusFormat = MEDIA_BUS_FMT_ARGB8888_1X32); + static bool setSubdevAlpha(int subdevFd, qreal alpha); static bool setSubdevSelection(struct media_pad *pad, const QRect &geometry, uint target); static bool setSubdevCrop(struct media_pad *pad, const QRect &geometry); |