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