QDirectFBCursor(QPlatformScreen *screen)
void changeCursor(QCursor *cursor, QWindow *window) override
This method is called by Qt whenever the cursor graphic should be changed.
static bool pixelFomatHasAlpha(const DFBSurfacePixelFormat format)
static QEvent::Type eventType(DFBWindowEventType type)
static IDirectFBSurface * dfbSurfaceForPlatformPixmap(QPlatformPixmap *)
static QImage::Format imageFormatFromSurfaceFormat(const DFBSurfacePixelFormat format, const DFBSurfaceCapabilities caps)
static Qt::MouseButtons mouseButtons(DFBInputDeviceButtonMask mask)
static Qt::KeyboardModifiers keyboardModifiers(DFBInputDeviceModifierMask mask)
static IDirectFB * dfbInterface()
static QDirectFbKeyMap * keyMap()
static IDirectFBDisplayLayer * dfbDisplayLayer(int display=DLID_PRIMARY)
static int colorDepthForSurface(const DFBSurfacePixelFormat format)
static Qt::MouseButton mouseButton(DFBInputDeviceButtonIdentifier identifier)
QScopedPointer< QDirectFbInput > m_input
bool hasCapability(Capability cap) const override
QPlatformInputContext * inputContext() const override
Returns the platforms input context.
QScopedPointer< QDirectFbScreen > m_primaryScreen
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
QPlatformInputContext * m_inputContext
QPlatformServices * services() const override
virtual void initializeInput()
QScopedPointer< QThread > m_inputRunner
QPlatformPixmap * createPlatformPixmap(QPlatformPixmap::PixelType type) const override
Factory function for QPlatformPixmap.
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
QScopedPointer< QPlatformFontDatabase > m_fontDb
virtual void initializeDirectFB()
QDirectFBPointer< IDirectFB > m_dfb
QPlatformNativeInterface * nativeInterface() const override
QScopedPointer< QPlatformServices > m_services
virtual void initializeScreen()
IDirectFBDisplayLayer * dfbLayer() const
QSizeF physicalSize() const override
Reimplement this function in subclass to return the physical size of the screen, in millimeters.
int depth() const override
Reimplement in subclass to return current depth of the screen.
QDirectFbScreen(int display)
QRect geometry() const override
Reimplement in subclass to return the pixel geometry of the screen.
QImage::Format format() const override
Reimplement in subclass to return the image format which corresponds to the screen format.
QDirectFBPointer< IDirectFBDisplayLayer > m_layer
QPlatformCursor * cursor() const override
Reimplement this function in subclass to return the cursor of the screen.
IDirectFBDisplayLayer * toDfbLayer(QPlatformScreen *screen)
QDirectFbScreen * toDfbScreen(QWindow *window)
#define QDFB_STRINGIFY(x)
#define QT_EGL_BACKEND_CREATE(system, out)
static void cleanup(T *t)