17class QEglFSKmsEglDeviceIntegration :
public QEglFSKmsIntegration
20 QEglFSKmsEglDeviceIntegration();
22 QSurfaceFormat surfaceFormatFor(
const QSurfaceFormat &inputFormat)
const override;
23 EGLint surfaceType()
const override;
24 EGLDisplay createDisplay(EGLNativeDisplayType nativeDisplay) override;
25 bool supportsSurfacelessContexts()
const override;
26 bool supportsPBuffers()
const override;
27 QEglFSWindow *createWindow(QWindow *window)
const override;
29 EGLDeviceEXT eglDevice()
const {
return m_egl_device; }
32 QKmsDevice *createDevice() override;
33 QPlatformCursor *createCursor(QPlatformScreen *screen)
const override;
37 bool query_egl_device();
39 EGLDeviceEXT m_egl_device;
40 QEGLStreamConvenience *m_funcs;
42 friend class QEglFSKmsEglDeviceWindow;