QPlatformWindow *QEglFSIntegration::createPlatformWindow(QWindow *window) const { QEglFSWindow *w = new QEglFSWindow(window); w->create(); w->requestActivateWindow(); return w; }
void QEglFSContext::swapBuffers(QPlatformSurface *surface) { QEglFSWindow *window = static_cast<QEglFSWindow *>(surface); // draw the cursor if (QEglFSCursor *cursor = static_cast<QEglFSCursor *>(window->screen()->cursor())) cursor->paintOnScreen(); QEGLPlatformContext::swapBuffers(surface); }
QPlatformWindow *QEglFSIntegration::createPlatformWindow(QWindow *window) const { QWindowSystemInterface::flushWindowSystemEvents(); QEglFSWindow *w = qt_egl_device_integration()->createWindow(window); w->create(); if (window->type() != Qt::ToolTip) w->requestActivateWindow(); return w; }
EGLSurface QEglFSContext::eglSurfaceForPlatformSurface(QPlatformSurface *surface) { QEglFSWindow *window = static_cast<QEglFSWindow *>(surface); return window->surface(); }