18class QEglFSKmsEglDeviceIntegration :
public QEglFSKmsIntegration
21 QEglFSKmsEglDeviceIntegration();
23 QSurfaceFormat surfaceFormatFor(
const QSurfaceFormat &inputFormat)
const override;
24 EGLint surfaceType()
const override;
25 EGLDisplay createDisplay(EGLNativeDisplayType nativeDisplay) override;
26 bool supportsSurfacelessContexts()
const override;
27 bool supportsPBuffers()
const override;
28 QEglFSWindow *createWindow(QWindow *window)
const override;
30 EGLDeviceEXT eglDevice()
const {
return m_egl_device; }
33 QKmsDevice *createDevice() override;
34 QPlatformCursor *createCursor(QPlatformScreen *screen)
const override;
38 bool query_egl_device();
40 EGLDeviceEXT m_egl_device;
41 QEGLStreamConvenience *m_funcs;
43 friend class QEglFSKmsEglDeviceWindow;