49 , mWaylandDisplay(waylandDisplay)
53 , mFormat(
QImage::Format_ARGB32_Premultiplied)
102 qDebug(
"unsupported buffer format %d requested\n",
format());
Format
The following image formats are available in Qt.
QPointer< QWidget > widget
struct wl_visual * argbVisual()
QImage::Format format() const
Reimplement in subclass to return the image format which corresponds to the screen format...
QRect geometry() const
Reimplement in subclass to return the pixel geometry of the screen.
QWaylandDisplay * display() const
Q_CORE_EXPORT void qDebug(const char *,...)
struct wl_visual * argbPremultipliedVisual()
wl_visual * visual() const
The QImage class provides a hardware-independent image representation that allows direct access to th...
void moveToThread(QThread *thread)
Changes the thread affinity for this object and its children.
QWaylandDisplay * mWaylandDisplay
QWaylandCursor * mWaylandCursor
QWaylandScreen(QWaylandDisplay *waylandDisplay, struct wl_output *output, QRect geometry)
The QRect class defines a rectangle in the plane using integer precision.
int depth() const
Reimplement in subclass to return current depth of the screen.
QThread * thread() const
Returns the thread in which the object lives.
static QWaylandScreen * waylandScreenFromWidget(QWidget *widget)