QKmsScreen::QKmsScreen(QKmsDevice *device, int connectorId) : m_device(device), m_flipReady(true), m_connectorId(connectorId), m_depth(32), m_format(QImage::Format_Invalid), m_bufferManager(this), m_refreshTime(16000) { m_cursor = new QKmsCursor(this); initializeScreenMode(); }
QKmsScreen::QKmsScreen(QKmsDevice *device, int connectorId) : m_device(device), m_current_bo(0), m_next_bo(0), m_connectorId(connectorId), m_depth(32), m_format(QImage::Format_Invalid), m_refreshTime(16000), m_eglWindowSurface(EGL_NO_SURFACE), m_modeSet(false) { m_cursor = new QKmsCursor(this); initializeScreenMode(); }