35 QEglFSKmsIntegration();
36 ~QEglFSKmsIntegration();
38 void platformInit() override;
39 void platformDestroy() override;
40 EGLNativeDisplayType platformDisplay()
const override;
41 bool usesDefaultScreen() override;
42 void screenInit() override;
43 QSurfaceFormat surfaceFormatFor(
const QSurfaceFormat &inputFormat)
const override;
44 bool hasCapability(QPlatformIntegration::Capability cap)
const override;
45 void waitForVSync(QPlatformSurface *surface)
const override;
46 bool supportsPBuffers()
const override;
47 void *nativeResourceForIntegration(
const QByteArray &name) override;
48 void *nativeResourceForScreen(
const QByteArray &resource, QScreen *screen) override;
50 QKmsDevice *device()
const;
51 QKmsScreenConfig *screenConfig()
const;
54 virtual QKmsDevice *createDevice() = 0;
55 virtual QKmsScreenConfig *createScreenConfig();
58 QKmsScreenConfig *m_screenConfig =
nullptr;