eglfs/kms: Share atomic request with nativeRes.ForIntegration
This allows to share the atomic request so that applications can blend content into overlays within the same renderloop. atomic request will allow several planes update in the same commit. Change-Id: I762ea96499765ced573e287dbd52d53c64ec7c74 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
d7c1c9dd92
commit
e97311ad75
@ -138,6 +138,10 @@ void *QEglFSKmsIntegration::nativeResourceForIntegration(const QByteArray &name)
|
||||
if (name == QByteArrayLiteral("dri_fd") && m_device)
|
||||
return (void *) (qintptr) m_device->fd();
|
||||
|
||||
#if QT_CONFIG(drm_atomic)
|
||||
if (name == QByteArrayLiteral("dri_atomic_request") && m_device)
|
||||
return (void *) (qintptr) m_device->atomic_request();
|
||||
#endif
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user