Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qdirectfb_egl.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QDIRECTFB_EGL_H
6#define QDIRECTFB_EGL_H
7
9
10#ifdef DIRECTFB_GL_EGL
11
13
15public:
18
20
21protected:
22 void initializeScreen();
23};
24
26
27#endif
28#endif
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)
void removeWindow(IDirectFBWindow *window)
void run() override
void addWindow(IDirectFBWindow *window, QWindow *platformWindow)
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
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
QDirectFBPointer< IDirectFB > m_dfb
QPlatformNativeInterface * nativeInterface() const override
QScopedPointer< QPlatformServices > m_services
IDirectFBDisplayLayer * dfbLayer() const
QImage::Format m_format
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 QDFB_TOSTRING(x)
#define QT_EGL_BACKEND_CREATE(system, out)
Definition main.cpp:20